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

I want to add some nodes, ways, relations into downloaded osm xml. Are there any hierarchie?

asked 14 Jun '17, 13:36

Edd1337's gravatar image

Edd1337
41446
accept rate: 0%


If you're adding objects that are not present in database, you want to use negative integers for them. That's the convention for "object does not exist in database, is to be created".

permanent link

answered 14 Jun '17, 14:14

Piskvor's gravatar image

Piskvor
1.3k91535
accept rate: 37%

1
(14 Jun '17, 14:20) scai ♦

But what about generating ids by myself, without sending to the server?

(14 Jun '17, 15:06) Edd1337
1

Indeed. You generate the negative IDs yourself. You don't need to send them to server at all, if you don't want to add them to OSM.

(14 Jun '17, 15:11) Piskvor

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:

×710
×352
×84
×25
×3

question asked: 14 Jun '17, 13:36

question was seen: 2,535 times

last updated: 14 Jun '17, 15:11

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