Retrieving Attribute Data from Layer using Mapscript

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

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.

Matthew Lock
View this message in context:
Sent from the Mapserver - Dev forum at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the mapserver-dev mailing list