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 working on a little hobby project for a game, it has some information about locations that are non earth coordinates with extents of 99999999999999999 to -99999999999999999 might even be larger.

I have a few questions regarding such large coordinates.

  1. Can openlayers handle such large coordinates

  2. Would it be best to scale it down to fit lat lon coords to mimic earth coords

  3. what would the maximum decimals be for lat long accuracy in openlayers if I cannot use the full non earth coordinates?

share|improve this question
max extent determined by SRS.Why you want to use EPSG"4326" with bounds ( -180, -90, 180, 90) ? – Kliver Max Sep 6 '12 at 8:04
I've been able to override it with a XY-M projection and it just works .... – Jamo Sep 7 '12 at 3:19
up vote 3 down vote accepted
  1. Numeric values like this will propably exceed javascript numeric mantissa size. The maximum values that can be represented by Openlayers are Javascript numeric values. You can use several kinds of projections to fit better your map. I guess browsers can handle about 14digits of precision on a numeric value.
  2. You should scale down number to the integer space for fine accuracy.
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.