NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

3
1

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

LM_1
3.3k335188
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

gnurk
6.1k106096
accept rate: 15%

edited 25 Aug '11, 16:36

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

There are some hints in the OSM wiki about Nodes.

permanent link

answered 25 Aug '11, 16:12

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Follow this question

By Email:

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

By RSS:

Answers

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:

×230
×118
×8

question asked: 25 Aug '11, 15:52

question was seen: 12,050 times

last updated: 25 Aug '11, 16:36

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum