<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>&nbsp;</DIV>
<DIV>Yes, you can use PHP mapscript to do a point spatial query.&nbsp;<A href="http://mapserver.org">http://mapserver.org</A> documentation explains how to use it.<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Dean &lt;deanm75@hotmail.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> mapserver-users@lists.osgeo.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, March 13, 2009 1:33:11 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [mapserver-users] Getting information out of shapefile<BR></FONT><BR>
<STYLE>
<!--
 
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
 
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma", "sans-serif";}
span.EmailStyle17
        {font-family:"Calibri", "sans-serif";color:windowtext;}
span.BalloonTextChar
        {font-family:"Tahoma", "sans-serif";}
MsoChpDefault
        {}
 _filtered {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {}
-->
</STYLE>

<DIV class=Section1>
<P class=MsoNormal>Hi,</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>I have a requirement to use PHP to get information from a shapefile.&nbsp; I was hoping MapServer/MapScript might be able to do this as Im already using it to serve custom mapping laid on top of the Google API.</P>
<P class=MsoNormal>I have a custom shape file (flat file) and I need to be able to query somehow and have the server tell me what polygons/attributes a certain point is contained in.</P>
<P class=MsoNormal>Eg, I send a lat/long to the map server and it returns a list of polygons/attributes that the lat/long pair is surrounded by.</P>
<P class=MsoNormal>Is this possible with MapServer/Map0Script?&nbsp; If not, where should I be looking to get this kind of query information?</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>Regards</P>
<P class=MsoNormal>Dean</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>&nbsp;</P></DIV></DIV></DIV></div><br>



      </body></html>