Why not ask your question on the new OpenStreetMap Community Forum?


In what data structures are the nodes' coordinates stored internally in OSM database (64bit floating point, some long integer, something else entirely...)?
What is the minimal distance that can be recorded without two points being rounded to the same location?
For gps recordings with accuracy in meters this will hardly be a problem, but as the map gets more precise, it might become one.

Obviously the longitude precision will vary between equator and poles, but still it would be good to know what the range is.

asked 25 Aug '11, 15:52

LM_1's gravatar image

accept rate: 10%

Data Primitives says the longitude has 7 decimal positions for >−180 and <180.

4*10^7/2/180/10^7 = 0.01 meter = 1 centimeter (at the equator)

The same document says latitude has 7 decimal positions for >−90.0 and <90.0.

4*10^7/4/90/10^7 = 0.01 meter = 1 centimeter

permanent link

answered 25 Aug '11, 16:16

gnurk's gravatar image

accept rate: 15%

edited 25 Aug '11, 16:36

SomeoneElse's gravatar image

SomeoneElse ♦

There are some hints in the OSM wiki about Nodes.

permanent link

answered 25 Aug '11, 16:12

stephan75's gravatar image

accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 25 Aug '11, 15:52

question was seen: 11,470 times

last updated: 25 Aug '11, 16:36

powered by OSQA