This project has moved. For the latest updates, please go here.

WmsClient and BoundingBox

Feb 24, 2007 at 10:16 PM
I finally had a chance to try out the WMS Client sample after making a few quick/dirty code changes to support authentication.

I quickly discovered that the client is sending GetMap requests using the LatLonBoundingBox rather than the BoundingBox for the given Spatial Reference System. The server is running MapServer and using WMS 1.1.1.

Is there a reason why the client is using Lat/Lon rather than SRS coordinates? A quick coding change to send the BoundingBox coords intead of LatLonBoundingBox coords corrected the problem and I was able to get a response.

What I'm puzzled by, is that there seems to be nothing in the result of GetCapabilities that indicates which envelope is required for GetMap.