Opened 21 years ago

Closed 15 years ago

#314 closed defect (fixed)

mapext (or map_extent) ignored by Mapserver-CGI in querymap and itemquerymap modes

Reported by: agalasso@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 3.6
Severity: normal Keywords:
Cc:

Description (last modified by sdlime)

If i try to query the CGI with real coordinates:

http://laplace/mapserver/mapserv.exe
?map=calabria.map
&mapext=2611685+4392492+2903099+4286980
&mapsize=863+432
&layers=limiti_comunali
&mapxy=2646326+4362345
&mode=querymap

following error rise:
mapserv(): Web application error. Query mode needs a point, imgxy and mapxy are 
not set.

If i replace "mapext" with "map_extent" the query run. But return the entire 
map...

Same situation in "itemquerymap" mode:

http://laplace/mapserver/mapserv.exe
?map=calabria.map
&map_extent=2596508+4372387+2675198+4332997
&imgsize=863+432
&qlayer=myLayer
&map_myLayer_filter=MYITEM
&mode=itemquerymap

i receive an image with the original map-file extent.
Seems like extent parameters are ignored by mapserver

Change History (1)

comment:1 by sdlime, 15 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

Fixed long ago, cleaning up now... Steve

Note: See TracTickets for help on using tickets.