[Mapserver-users] Zoom to projected coordinates?

Chris Storozuk cstorozuk at shaw.ca
Sun Nov 16 15:54:41 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C3AC51.90D17380
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am using a bunch of datasets projecting them to 10TM using MAP =
parameters.
I want a feature search to load a detail map showing the selected =
feature, zoomed to its extents In the past, when all my data was in UTM, =
this was easy, as I could just load the map applying the shpext value to =
the imgext parameter.
However, now the shpext returned from the query is in lat/long (due to =
the nature of that dataset), but my map is in 10TM, so the shpext value =
is not valid in this case.

Does anyone know if I can use the shpext in this way? (eg. can I =
"project" the coordinates the way I project individual layers?)

Thanks,
Chris

------=_NextPart_000_000C_01C3AC51.90D17380
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2733.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am using a bunch of datasets =
projecting them to=20
10TM using&nbsp;MAP parameters.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I want&nbsp;a feature search to load a =
detail map=20
showing the selected feature, zoomed to its extents In the past, when =
all my=20
data was in UTM, this was easy, as I could just load the map applying =
the shpext=20
value to the imgext parameter.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>However, now the shpext returned from =
the query is=20
in lat/long (due to the nature of that dataset), but my map is in 10TM, =
so the=20
shpext value is not valid in this case.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Does anyone know if I can use the =
shpext in this=20
way? (eg. can I "project" the coordinates the way I project individual=20
layers?)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Chris</FONT></DIV></BODY></HTML>

------=_NextPart_000_000C_01C3AC51.90D17380--




More information about the mapserver-users mailing list