Ticket #3568 (closed defect: invalid)
Swapped X and Y in BoundingBox WMS GetCapabilities
| Reported by: | niccolo | Owned by: | mapserverbugs |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | WMS Server | Version: | 5.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
This is an extract of a GetCapabilities:
<EX_GeographicBoundingBox>
<westBoundLongitude>9.6426</westBoundLongitude>
<eastBoundLongitude>12.4589</eastBoundLongitude>
<southBoundLatitude>42.2079</southBoundLatitude>
<northBoundLatitude>44.4951</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326"
minx="42.2079" miny="9.6426" maxx="44.4951" maxy="12.4589" />
As you can see X and Y are swapped in the last line, both min and max.
Here it is the mapfiles that produces the error with MapServer 5.6.3:
MAP
NAME "Test"
PROJECTION
'init=epsg:3003'
END
UNITS meters
EXTENT 1580673.000000 4877151.977515 1617927.000000 4911408.022485
WEB
METADATA
'ows_title' 'Test'
'ows_srs' 'EPSG:3003'
END
END
LAYER
NAME 'idrst10k'
TYPE RASTER
STATUS ON
CONNECTION 'http://web.rete.toscana.it:80/sgrwms/com.rt.wms.RTmap/_rt_wms_wgs84?'
CONNECTIONTYPE WMS
PROJECTION
'init=epsg:4326'
END
EXTENT 9.642603853 42.2078509685 12.4589466172 44.4951035402
METADATA
'wms_title' 'idrst10k'
'wms_abstract' 'idrst10k da Geoscopio'
'wms_srs' 'EPSG:4326'
#'wms_extent' '9.642603853 42.2078509685 12.4589466172 44.4951035402'
'wms_name' 'idrst10k'
'wms_server_version' '1.1.1'
'wms_format' 'image/jpeg'
END
END
END
Change History
Note: See
TracTickets for help on using
tickets.
