Ticket #823 (closed defect: fixed)
[MapServer-WMS]Not returning a service exception when srs in GetMap is invalid for some layers
| Reported by: | nsavard@… | Owned by: | mapserverbugs |
|---|---|---|---|
| Priority: | high | Milestone: | 4.4 release |
| Component: | WMS Server | Version: | 4.3 |
| Severity: | normal | Keywords: | VERIFIED |
| Cc: |
Description
When the SRS parameter in a GetMap request contains a SRS that is valid for some, but not all of the layers being requested, then the server shall throw a Service Exception (code = "InvalidSRS"). (see wms/wmsops/getmap/params/srs/4) MapServer WMS needs to satisfy this part of the specification to comply. Actually MapServer is extracting the value of the "SRS" parameter. Then it verifies for each layer appearing in the "layers" parameter of the request, that the projection string is matching the one asked. If not the layer is reprojected. MapServer WMS should at least verify that the projection asked is corresponding to the one within map object. If not MapServer should look for a matching projection within each layer. If the projection asked is not found within a layer object, MapServer shall throw a service exception.
Change History
Note: See
TracTickets for help on using
tickets.
