Ticket #2578 (closed defect: fixed)
MapServer computes WMS LatLonBoundingBox in the GCS of data's coordinate system
|Reported by:||guillaume||Owned by:||warmerdam|
|Component:||WMS Server||Version:||svn-trunk (development)|
|Cc:||assefa, tomkralidis, sdlime|
When requesting a WMS GetCapabilities?, the LatLonBoundingBox? value is computed in data's geographic coordinate system, without tranforming them to WGS84. As a result, the bounding box is wrong when the data projection doesn't use Greenwich for prime meridian. As Frank Warmerdam suggested, msOWSPrintLatLonBoundingBox() just passes NULL for the destination coordinate system, and msProjectPoint() just treats this as a special case to use the lat/long coordinate system (GCS) associated with the projected coordinate system.