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

nodes in a map

1

how many nodes you can upload in a map each time and how?

one node I can upload by an url but for example 1000 nodes?

tks a lot

braulio

This question is marked "community wiki".

asked 05 Sep '13, 18:58

brau1308's gravatar image

brau1308
11112
accept rate: 0%

7

Can you rephrase your question to explain what you want to do? While there is a correct technical answer to the question you've asked, it suggess that you're trying to do something more complex, like import a set of data in bulk, which is a different matter.

(05 Sep '13, 19:21) Jonathan Ben...

One Answer:

1

The API v0.6 is currently places limits (defined by the server configuration) for the total number of elements allowed in a changeset, and the maximum number of nodes that a single way may contain. As of now, these limits are:

  • Maximum of 50k elements (nodes + ways + relations) per changeset;
  • Maximum of 2k nodes per way.

You can get the current values requesting the current API capabilities, using the functionality built-in, as described in the API v0.6 documentation. For the public API server, see its Current Capabilities.

It is very uncommon to reach those limits in common, urban editing, but quite possible when editing large bodies of water. I would recommend that when a way is close to half the maximum number of nodes (in this case, 1k nodes), it should be broken in two parts, one with 1k nodes and the other with the remainder of the nodes, and creating (or updating) the relevant relation. This way, it is possible to edit the element with very low risk of it reaching the limit again.

I never reached the maximum number of elements in a changeset, but created more than one with somewhat more than 20k elements - without any problem when uploading.

answered 17 Sep '13, 23:28

MCPicoli's gravatar image

MCPicoli
2.2k133047
accept rate: 24%