Retrieving Attribute Data from Layer using Mapscript

Matthew Lock (sent by Nabble.com) lists at NABBLE.COM
Tue Jan 17 03:45:38 EST 2006


Hello,
Could someone tell me how I would go about retrieving the data associated with an object on a layer?

Basically I want to click on the map and get back the attribute data for the selected object.

I have been looking at layerObj.queryByPoint which seems to do what I want, but I'm not sure how to then get the data from the results.

Thanks,
Matthew Lock
--
View this message in context: http://www.nabble.com/Retrieving-Attribute-Data-from-Layer-using-Mapscript-t934375.html#a2420812
Sent from the Mapserver - Dev forum at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20060117/67fb0c4e/attachment.html


More information about the mapserver-dev mailing list