[OSM-dev] Max nodes in a way?

Paul Norman penorman at mac.com
Mon Jun 4 08:56:27 BST 2012


When splitting data in arbitrary positions (e.g. coastlines in remote areas) I like to go for a maximum of 1000-1500 nodes per way.

 

If you upload ways with the maximum number of nodes and someone wants to refine the geometry by adding nodes they have to first split them.

 

Also keep in mind that admin boundaries will need to be split whenever they intersect another admin boundary.

 

From: Simon Poole [mailto:simon at poole.ch] 
Sent: Sunday, June 03, 2012 10:06 AM
To: Colin Smale; OSM Dev List
Subject: Re: [OSM-dev] Max nodes in a way?

 

The API enforces a limit of 2'000 nodes. 

Simon



Colin Smale <colin.smale at xs4all.nl> schrieb:

Hi,

I am working on some gigantic GPX files with hundreds of thousands of 
points, representing admin boundary polygons. I'm sure these huge ways 
will break something or cause performance to be dreadful, so I am 
planning to split the enormous polygons into a number of ways and tie 
them together in a relation.

What's a reasonable value to assume for the maximum number of nodes in a 
way? 1000? 10000?

Colin

  _____  


dev mailing list
dev at openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


-- 
Sent from my Galaxy Tab with Kaiten Mail.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120604/51bb7811/attachment.html>


More information about the dev mailing list