PHP/MapScript msQueryByPoint

DjwStone D.Stone at ED.AC.UK
Tue May 9 03:43:17 PDT 2006


I'm trying to emulate in PHP/MapScript something I did recently in MapServer
CGI. I display a PostGIS layer of points, then click a point to display a
template containing non-spatial attributes of the point from the PostGIS
table.

I'm assuming I need to call msQueryByPoint in the PHP equivalent, passing it
the geo coordinates of the clicked point. But then what? It's not clear to
me how the success of the query (i.e. I don't get 'No matching records...')
can be used.

Has anyone some sample code showing this sort of thing?

TIA,

Dave

--
View this message in context: http://www.nabble.com/PHP-MapScript-msQueryByPoint-t1583615.html#a4297509
Sent from the Mapserver - User forum at Nabble.com.



More information about the MapServer-users mailing list