[mapserver-users] Mapscript/PHP

Vinko Vrsalovic v at w.cl
Fri Feb 8 22:19:43 EST 2002


On Fri, Feb 08, 2002 at 11:35:01AM -0200, malone at creedence.org wrote:
> 
>  I implemented the example of mapscript/PHP in
> http://mapserver.gis.umn.edu/doc/phpmapscript-byexample-howto.html and I saw how
> to do zoom in, zoom out, pan. 
> 
>  Now , I don't know how to do queries in mapscript/PHP. I try de function
> queryByPoint but nothing happen.
 
You should look at the gmap example by DM Solutions it's at
http://www2.dmsolutions.ca/mapserver/dl/gmap-ms35-release.tar.gz

For that to work you should define METADATA with the fields you want to be 
displayed for the layers you want to query.

And don't forget to set a TEMPLATE for each layer you
want to be queried.

(This is the next thing i'll put on the by example HOWTO).

-- 
V. <v at w.cl>



More information about the mapserver-users mailing list