[Mapserver-users] <PARAM NAME="PIXEL_SIZE" VALUE="???">

Steve McCrone mccrone at pc.jaring.my
Sun Jan 5 18:26:32 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0057_01C2B554.EF8E0EA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

>From a previous question asked by Stephen Woodbridge =
<woodbri at swoodbridge.com> and answered by=20
Daniel Morissette <morissette at dmsolutions.ca>=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Stephen, Peter,

The ROSA applet supports this.  However it has no knowledge of
projections, so the measured distance is just an approximation as stated
in the documentation.

For an example of a site using this, see:
  http://www.sis.ec.gc.ca/msapps/ec_species/htdocs/ec_species_e.phtml

and for the docs, look for "Distance Measurement Tool" in=20
  http://www2.dmsolutions.ca/webtools/rosa/rosa_params.html

Daniel
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I had a look at the example above and it does appear to calculate the =
correct pixel size that is used in the distance. However, I cannot find =
(in the code) where it does this, so I am wondering if Daniel could shed =
some light on this one.

One thing with this sample - the user must not only select another tool =
and click on the map in order for the distance to "zero". Just by =
re-selecting the measure tool or clicking on another one does not "zero" =
the cumulative distance.

Thanks



------=_NextPart_000_0057_01C2B554.EF8E0EA0
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 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>From a previous question asked by =
<STRONG><FONT=20
face=3D"Times New Roman" size=3D3>Stephen Woodbridge =
&lt;</FONT></STRONG><A=20
href=3D"mailto:woodbri at swoodbridge.com"><STRONG><FONT face=3D"Times New =
Roman"=20
size=3D3>woodbri at swoodbridge.com</FONT></STRONG></A><FONT size=3D3><FONT =

face=3D"Times New Roman"><STRONG>&gt;</STRONG> <STRONG>and answered by=20
</STRONG></FONT></FONT></FONT></DIV>
<DIV><STRONG>Daniel Morissette &lt;</STRONG><A=20
href=3D"mailto:morissette at dmsolutions.ca"><STRONG>morissette at dmsolutions.=
ca</STRONG></A><STRONG>&gt;</STRONG>=20
</DIV>
<DIV><FONT face=3DArial=20
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FO=
NT></DIV>
<DIV><FONT face=3DArial>Stephen, Peter,<BR><BR>The ROSA applet supports=20
this.&nbsp; However it has no knowledge of<BR>projections, so the =
measured=20
distance is just an approximation as stated<BR>in the =
documentation.<BR><BR>For=20
an example of a site using this, see:<BR>&nbsp; <A=20
href=3D"http://www.sis.ec.gc.ca/msapps/ec_species/htdocs/ec_species_e.pht=
ml">http://www.sis.ec.gc.ca/msapps/ec_species/htdocs/ec_species_e.phtml</=
A><BR><BR>and=20
for the docs, look for "Distance Measurement Tool" in <BR>&nbsp; <A=20
href=3D"http://www2.dmsolutions.ca/webtools/rosa/rosa_params.html">http:/=
/www2.dmsolutions.ca/webtools/rosa/rosa_params.html</A><BR><BR>Daniel<BR>=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2>I had a look at the example above =
and it does=20
appear to calculate the correct pixel size that is used in the distance. =

However, I cannot find (in the code) where it does this, so I am =
wondering if=20
Daniel could shed some light on this one.</FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2>One thing with this sample - the =
user must=20
not only select another tool and click on the map in order for the =
distance to=20
"zero". Just by re-selecting the measure tool or clicking on another one =
does=20
not "zero" the cumulative distance.</FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2>Thanks</FONT></DIV>
<DIV><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0057_01C2B554.EF8E0EA0--





More information about the mapserver-users mailing list