[mapserver-users] Help PHP mapscript. DrawQuery with extent=shapes

Alan Boudreault aboudreault at mapgears.com
Fri Jan 29 08:09:30 EST 2010


Hi Predroaa,

To simulate this CGI request, you could use:

 * the OwsrequestObj class
 * the function Layer->queryByShape()

Alan

On January 29, 2010 07:34:09 am Pedroaa wrote:
> Hi friends, my english is not so good (im from argentina).
> I need do a $oMap->drawQuery(), but i need do it like Mapserver CGI.
> /cgi-bin/mapserv?mode=nquery&imgext=-60.70866644902204+-31.64842730088904+-
> 60.70265555972983+-31.644427300889028&
> 
> -> mapext=shapes  <-
> 
> &imgxy=367+133&imgbox=367+133+473+249&imgsize=829+552&layers=departamentos
> 
> Do you know if there is any way to do that easily using phpmapscript?
> 
> 
> thanks
> 
> Pedro.
> 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com


More information about the mapserver-users mailing list