NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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...

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.

permanent link

answered 17 Sep '13, 23:28

MCPicoli's gravatar image

MCPicoli
2.2k133047
accept rate: 24%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×205
×126

question asked: 05 Sep '13, 18:58

question was seen: 4,040 times

last updated: 17 Sep '13, 23:28

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum