[Mapserver-users] RE: [Mapserver-users] How to query (UTM) coordinates

Javier Castillejo Montes jcastil1 at tragsa.es
Fri Jul 30 02:52:37 EDT 2004


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C47601.CE8154E6
Content-Type: text/plain;
	charset="utf-8"

Maybe I'm doing something that can help you Yusuf and all of you that can be
interesting
my app, use only jbox, *.map and *.html(plus javascript)

What my app do is

	show layers ( you can on/off each one)
	know UTM clics
	query a point and retrieve information about it
	move through the map, zoomin, zoomout ... 

I will ask my webmaster in order to allow people to have a look at the
aplication. I mean I will try to publish that aplication, for now I can only
attach the files.

you just have a idea of what i'm doing... hope in the next weeks you can
have a look at it!!!

Tks

-----Mensaje original-----
De: Tyler Mitchell [mailto:tylermitchell at shaw.ca]
Enviado el: viernes, 30 de julio de 2004 6:29
Para: mapserver-users at lists.gis.umn.edu
Asunto: Re: [Mapserver-users] How to query (UTM) coordinates


Hi Yusuf,
I'm not quite clear on what you want to do, why don't you walk us through an

example of how a user would interact with your application.  Tell us what
you 
want to be able to do from an application use perspective, that will help us

out.

Tyler

On Thursday 29 July 2004 23:06, Yusuf wrote:
> Dear all,
>
> I want to query the mapserv CGI with a pair of UTM coordinates.  All of
> my data is in UTM, of course.  Before I reinvent the wheel, I'm sure one
> of you should have implemented this already, and I'll thank you  if you
> help/point me to the solution.
>
> My current clues:
>
> 1.-  Calculate everything by hand (the JavaScript hand, that is ;-) )
> forging  the IMGXY variable.
> 2.-  What the mysterious MODE=COORDINATE does?   (apart of being
> "clarified").
> 3.-  I would prefer a "native" solution, but MapScripts would become
> handy once I chose one.  I supose queryByPoint() both in
> PHP/SWIGMapscript does exaclty what I want.
>
> In the same line, how could I get the (approximate) UTM coordinate the
> user has clicked in?
>
> 1.- I can get it by hand...
> 2.- A variable like [CurCoordX] useable in the TEMPLATE would be great.
> 3.- Is this implemented in PHP/SWIG?
>
> Thanks in advance.
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

------_=_NextPart_001_01C47601.CE8154E6
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dutf-8">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: [Mapserver-users] How to query (UTM) coordinates</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Maybe I'm doing something that can help you Yusuf and =
all of you that can be interesting</FONT>
<BR><FONT SIZE=3D2>my app, use only jbox, *.map and *.html(plus =
javascript)</FONT>
</P>

<P><FONT SIZE=3D2>What my app do is</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>show =
layers ( you can on/off each one)</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>know UTM =
clics</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>query a =
point and retrieve information about it</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>move =
through the map, zoomin, zoomout ... </FONT>
</P>

<P><FONT SIZE=3D2>I will ask my webmaster in order to allow people to =
have a look at the aplication. I mean I will try to publish that =
aplication, for now I can only attach the files.</FONT></P>

<P><FONT SIZE=3D2>you just have a idea of what i'm doing... hope in the =
next weeks you can have a look at it!!!</FONT>
</P>

<P><FONT SIZE=3D2>Tks</FONT>
</P>

<P><FONT SIZE=3D2>-----Mensaje original-----</FONT>
<BR><FONT SIZE=3D2>De: Tyler Mitchell [<A =
HREF=3D"mailto:tylermitchell at shaw.ca">mailto:tylermitchell at shaw.ca</A>]<=
/FONT>
<BR><FONT SIZE=3D2>Enviado el: viernes, 30 de julio de 2004 6:29</FONT>
<BR><FONT SIZE=3D2>Para: mapserver-users at lists.gis.umn.edu</FONT>
<BR><FONT SIZE=3D2>Asunto: Re: [Mapserver-users] How to query (UTM) =
coordinates</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi Yusuf,</FONT>
<BR><FONT SIZE=3D2>I'm not quite clear on what you want to do, why =
don't you walk us through an </FONT>
<BR><FONT SIZE=3D2>example of how a user would interact with your =
application.&nbsp; Tell us what you </FONT>
<BR><FONT SIZE=3D2>want to be able to do from an application use =
perspective, that will help us </FONT>
<BR><FONT SIZE=3D2>out.</FONT>
</P>

<P><FONT SIZE=3D2>Tyler</FONT>
</P>

<P><FONT SIZE=3D2>On Thursday 29 July 2004 23:06, Yusuf wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; Dear all,</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; I want to query the mapserv CGI with a pair of =
UTM coordinates.&nbsp; All of</FONT>
<BR><FONT SIZE=3D2>&gt; my data is in UTM, of course.&nbsp; Before I =
reinvent the wheel, I'm sure one</FONT>
<BR><FONT SIZE=3D2>&gt; of you should have implemented this already, =
and I'll thank you&nbsp; if you</FONT>
<BR><FONT SIZE=3D2>&gt; help/point me to the solution.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; My current clues:</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; 1.-&nbsp; Calculate everything by hand (the =
JavaScript hand, that is ;-) )</FONT>
<BR><FONT SIZE=3D2>&gt; forging&nbsp; the IMGXY variable.</FONT>
<BR><FONT SIZE=3D2>&gt; 2.-&nbsp; What the mysterious MODE=3DCOORDINATE =
does?&nbsp;&nbsp; (apart of being</FONT>
<BR><FONT SIZE=3D2>&gt; &quot;clarified&quot;).</FONT>
<BR><FONT SIZE=3D2>&gt; 3.-&nbsp; I would prefer a &quot;native&quot; =
solution, but MapScripts would become</FONT>
<BR><FONT SIZE=3D2>&gt; handy once I chose one.&nbsp; I supose =
queryByPoint() both in</FONT>
<BR><FONT SIZE=3D2>&gt; PHP/SWIGMapscript does exaclty what I =
want.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; In the same line, how could I get the =
(approximate) UTM coordinate the</FONT>
<BR><FONT SIZE=3D2>&gt; user has clicked in?</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; 1.- I can get it by hand...</FONT>
<BR><FONT SIZE=3D2>&gt; 2.- A variable like [CurCoordX] useable in the =
TEMPLATE would be great.</FONT>
<BR><FONT SIZE=3D2>&gt; 3.- Is this implemented in PHP/SWIG?</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; Thanks in advance.</FONT>
<BR><FONT SIZE=3D2>&gt; =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>&gt; Mapserver-users mailing list</FONT>
<BR><FONT SIZE=3D2>&gt; Mapserver-users at lists.gis.umn.edu</FONT>
<BR><FONT SIZE=3D2>&gt; <A =
HREF=3D"http://lists.gis.umn.edu/mailman/listinfo/mapserver-users" =
TARGET=3D"_blank">http://lists.gis.umn.edu/mailman/listinfo/mapserver-us=
ers</A></FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Mapserver-users mailing list</FONT>
<BR><FONT SIZE=3D2>Mapserver-users at lists.gis.umn.edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.gis.umn.edu/mailman/listinfo/mapserver-users" =
TARGET=3D"_blank">http://lists.gis.umn.edu/mailman/listinfo/mapserver-us=
ers</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C47601.CE8154E6--



More information about the mapserver-users mailing list