This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Duplicate NodeID, different coordinates for Slovakia

0

Just downloaded Slovakia .pbf file Geofabrik. Extracted the nodes and ways and notice that there are some duplicate Nodeid's with different coordinates. Any ideas anyone? Been doing this for 3 years and never seen that.

Here are a couple of examples

nodeid 9693796 48.2238353   17.2375766
nodeid 9693796 48.0372059   17.95283

nodeid 35102865 48.7680576  21.2383389
nodeid 35102865 49.2155225  19.6833409

asked 12 Aug '16, 21:59

kcjailbirds's gravatar image

kcjailbirds
141131319
accept rate: 0%

edited 12 Aug '16, 22:59

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

just for reference (maybe for others with the same problem): could you please mention which GIS software and which version you are using?

(15 Aug '16, 17:47) aseerel4c26 ♦
1

I wrote the software that is used to process this data. So, this is all me! My fault. I will fix it so that it can handle a long value.

(15 Aug '16, 18:51) kcjailbirds

@kcjailbirds: thank you!

(16 Aug '16, 14:15) aseerel4c26 ♦

One Answer:

5

The software you are using to process the file cannot work with node IDs greater than 2**32. You have an integer overflow, and your software treats node 4330070160 like node 35102865.

answered 12 Aug '16, 22:16

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

3

Thank you. That has to be the reason.

(15 Aug '16, 13:57) kcjailbirds

Source code available on GitHub .