Opened 18 years ago
Closed 17 years ago
#1824 closed defect (fixed)
WMS Fails with SRS=AUTO and long latitude and longitude
Reported by: | Owned by: | dmorissette | |
---|---|---|---|
Priority: | low | Milestone: | 5.0 release |
Component: | WMS Server | Version: | 4.8 |
Severity: | normal | Keywords: | |
Cc: | nsavard@… |
Description (last modified by )
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)
Attachments (3)
Change History (7)
follow-up: 2 comment:1 by , 17 years ago
Cc: | added |
---|
comment:2 by , 17 years ago
Replying to nsavard:
This error also occured with srs set to 42304. I'll attach the necessary file.
MapServer version 5.0.0-beta5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
This comment is no more valid. There was a mistake in my request. Sorry for the noise.
comment:3 by , 17 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 5.0 release |
Owner: | changed from | to
nsavard's comments are unrelated to the original problem report, please ignore them.
I have tested and reproduced the original issue related to the length of the SRS=AUTO parameters and will try to fix now.
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r6732 (will by in 5.0.0-beta6). There was a buffer overflow in the handling of SRS=AUTO:....
This error also occured with srs set to 42304. I'll attach the necessary file.
MapServer version 5.0.0-beta5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE