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

Can way have more than 2000 nodes?

1

Hi

As I processed the full history dump of OSM data, I found there are ways which have more than 2000 nodes, some even more than 10,000. Is that possible? I wonder if there some exceptions for certain geo-features, e.g. coastline..

One more question, does the upper limit number (2000) include duplicated nodes?

asked 02 Apr '14, 14:05

Digmaa's gravatar image

Digmaa
1006711
accept rate: 0%

edited 02 Apr '14, 14:11


One Answer:

3

I've not looked at the full history dump, but are those ways current versions, or historical? I don't think there used to be a limit, and long ways had to be split at some point before a certain update, so I would expect you to find some old ways that were more than 2000 nodes, but no current ones.

Aha! Found a reference!

answered 02 Apr '14, 14:47

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

edited 02 Apr '14, 14:49

I count the number of each way of its latest version, yes it still might be years ago. I will have a look. Thanks

(02 Apr '14, 14:52) Digmaa

Source code available on GitHub .