[Mapserver-users] Options for spatial selects

Ben Lewis blewis at atsincorp.com
Thu Jul 15 09:23:55 EDT 2004


This is a multi-part message in MIME format.

------_=_NextPart_001_01C46A6E.FA7FE9E2
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I have a project in which a user wants to select a bunch of features on
the map by creating a shape and defining a spatial query. What are the
options for mapserver based solutions?
=20
One I can think of is using the tolerance value of the identify
function.  One would use javascript to click and drag to create a circle
on the screen, then send mapserver the identify coordinates (circle
center) and tolerance (circle radius) to return everything in the
circle. =20
=20
Any other ideas?=20
=20
I know PostGIS could be used, but I'm looking for mapserver/mapscript
approaches, ideally using shape files.
=20
 - Ben
=20
_______________________________=20

Benjamin Lewis - Senior Analyst=20
Advanced Technology Solutions, Inc.=20
Lancaster, Pennsylvania=20
717.399.7007=20
http://www.atsincorp.com <http://www.atsincorp.com/> =20


------_=_NextPart_001_01C46A6E.FA7FE9E2
Content-Type: text/html;
	charset="us-ascii"
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=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =
size=3D2>I have=20
a project in which a user wants to select a bunch of features on the map =
by=20
creating a shape and defining&nbsp;a spatial query. What are the options =
for=20
mapserver based solutions?</FONT></SPAN></DIV>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =
size=3D2>One I=20
can think of is using the tolerance value&nbsp;of the&nbsp;identify=20
function.&nbsp; One would use&nbsp;javascript to click and drag to =
create a=20
circle on the screen, then send mapserver the identify coordinates =
(circle=20
center) and tolerance (circle radius) to return everything in the =
circle.&nbsp;=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =
size=3D2>Any=20
other ideas?&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =
size=3D2>I know=20
PostGIS could be used, but I'm looking for mapserver/mapscript =
approaches,=20
ideally using shape files.</FONT></SPAN></DIV>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =

size=3D2>&nbsp;- Ben</FONT></SPAN></DIV>
<DIV><SPAN class=3D771315012-15072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D771315012-15072004><!-- Converted from text/rtf =
format -->
<P><WBR><FONT face=3DArial =
size=3D2>_______________________________</FONT> </P>
<P><FONT face=3DArial size=3D2>Benjamin Lewis - Senior Analyst</FONT> =
<BR><FONT=20
face=3DArial size=3D2>Advanced Technology Solutions, Inc.</FONT> =
<BR><FONT=20
face=3DArial size=3D2>Lancaster, Pennsylvania</FONT> <BR><FONT =
face=3DArial=20
size=3D2>717.399.7007</FONT> <BR><FONT face=3DArial size=3D2><A=20
href=3D"http://www.atsincorp.com/">http://www.atsincorp.com</A></FONT>=20
</P></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C46A6E.FA7FE9E2--



More information about the mapserver-users mailing list