Opened 18 years ago

Last modified 17 years ago

#1824 closed defect

WMS Fails with SRS=AUTO and long latitude and longitude — at Initial Version

Reported by: steve@… Owned by: mapserverbugs
Priority: low Milestone: 5.0 release
Component: WMS Server Version: 4.8
Severity: normal Keywords:
Cc: nsavard@…

Description

The following query fails:
http://localhost/mapserv.cgi?map=webs_2beta.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=400&HEIGHT=300&BBOX=-100000,-100000,100000,100000&LAYERS=rxsignal&SRS=AUTO:42003,9001,-121.725597088,38.4862523467

With:(Formatting Omitted)
msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid
for all requested layers.

This query succeeds:
http://localhost/mapserv.cgi?map=webs_2beta.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=400&HEIGHT=300&BBOX=-100000,-100000,100000,100000&LAYERS=rxsignal&SRS=AUTO:42003,9001,-121.7,38.4

The original query was much longer(other parameters) however it only appears to
be a problem with the length of the Lat and Lon on the SRS=AUTO item and not the
entire query.

Version is:
MapServer version 4.8.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

(The same occurs with 4.8.3 in our test environment)

Change History (0)

Note: See TracTickets for help on using tickets.