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

We maintain our OSM files locally for some months now and start to see roads that moved between our copy (Using Overpass turbo) and the online version. Those were indeed misaligned with aerial data. How can we catchup with the changes done by the community ?

We are looking for a solution to merge our OSM files with the changes done on the map by the community. How can we do that ? Is there automated tools for that ?

The only thing we changed on the maps is adding an attribute to some streets.

We tried Osmosis but it doesn't merge, it only adds the changes to the layer.

Thanks a lot !

asked 23 Aug '18, 10:55

Gp2mv3's gravatar image

Gp2mv3
11112
accept rate: 0%


If you have the data in an osm2pgsql database you can add triggers that will add back your property to changed ways during a conventional update with diffs. But I suspect simply generating a list of the ways that you have changed and reapplying the change after a re-import would be simpler. In any case you will need to look at deletion and additions too.

Perhaps a better approach would be to use https://github.com/sharedstreets/sharedstreets-ref-system or OSMLR references for your attributes which then could be reapplied after updating and which would be immune to geometry operations that cause issues (splits, new ways and so on).

permanent link

answered 24 Aug '18, 09:35

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

"generating a list of the ways that you have changed and reapplying the change after a re-import would be simpler" How can we do that ? It was indeed my idea at the beginning.

(24 Aug '18, 09:56) Gp2mv3
1

Well in what format/database schema do you have the data locally?

(24 Aug '18, 11:08) SimonPoole ♦
Your answer
toggle preview

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:

×252
×199
×2

question asked: 23 Aug '18, 10:55

question was seen: 1,389 times

last updated: 24 Aug '18, 11:08

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