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

Is there a limit to the number of ways containing a node?

-2

Does the OpenStreetMap API set a limit on the number of ways containing a node?

Does the OpenStreetMap API set a limit on the number of relations containing a member?

asked 21 Jul '10, 05:52

NE2's gravatar image

NE2
1.4k333954
accept rate: 9%

Yeah, it's the inverse of this question.

(21 Jul '10, 05:53) NE2

3 Answers:

3

The Ways and Nodes are stored separate. And a third table stores the links between nodes and ways. So there is no technical limit.

answered 21 Jul '10, 06:39

DennisB's gravatar image

DennisB
139125
accept rate: 0%

0

I'm not sure, but given the data structures used in the database, there likely may not be a limit.

How many ways do you really thing should share a single node? I would think once you got past a half-dozen or so at a very complicated intersection, things would just be getting silly.

Can you think of a good reason for a large number of ways to share a single node?

answered 21 Jul '10, 06:07

David%20Dean's gravatar image

David Dean
54141517
accept rate: 22%

edited 21 Jul '10, 06:09

-1

The only limit I'm aware of is 2000 nodes per way.

answered 21 Jul '10, 06:39

JohnSmith's gravatar image

JohnSmith
723
accept rate: 0%