Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm connecting to a WMS server and found that the longitudes LatLonBoundingBox specified for some of the values are slightly outside of the +/-180 range (such as 180.05). Are these values considered valid (I couldn't find anything in the schema that seemed to enforcer a range)?

If they are valid, should they be treated as rounding errors (maybe the values were auto generated) and clamped to +/-180, or should they be normalized in the +/-180 range, so 180.05 might become -179.95?

Also note that in this particular case, the parent layer's bounds are listed as -90/90 and -180/180.


share|improve this question
You will run into problems trying to enforce a [-180,+180] range for longitudes of bounding boxes. This issue is examined in detail in another thread. – whuber Jan 16 '12 at 20:07
Thanks - appreciate that. – Jeff Storey Jan 18 '12 at 5:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.