[mapserver-users] Getting information out of shapefile

J.J. Schlafley jjschlafley at yahoo.com
Fri Mar 13 09:28:46 EDT 2009



Yes, you can use PHP mapscript to do a point spatial query. http://mapserver.org documentation explains how to use it.




________________________________
From: Dean <deanm75 at hotmail.com>
To: mapserver-users at lists.osgeo.org
Sent: Friday, March 13, 2009 1:33:11 AM
Subject: [mapserver-users] Getting information out of shapefile


Hi,
 
I have a requirement to use PHP to get information from a shapefile.  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.
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.
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.
Is this possible with MapServer/Map0Script?  If not, where should I be looking to get this kind of query information?
 
Regards
Dean


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090313/c6bb9dd9/attachment.html


More information about the mapserver-users mailing list