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

6
2

How can I have an always recent copy of the OSM data in a specific area?

It should be easy to set up (for example in a cron job)

asked 10 Sep '10, 12:27

AddisMap_Alexander's gravatar image

AddisMap_Ale...
1.1k314062
accept rate: 0%

edited 10 Sep '10, 12:29

The area must be customizeable and I prefer to not download everytime all data again but only the changes there.

(14 Sep '10, 21:44) Alex_AddisMap

http://wiki.openstreetmap.org/wiki/Daily_update_an_OSM_XML_file : This page describes how to hold a local .osm file up-to-date.

permanent link

answered 10 Feb '11, 18:43

axk's gravatar image

axk
11626
accept rate: 33%

Or simply you can download it from http://downloads.cloudmade.com/ They update their data nearly every week!

permanent link

answered 14 Sep '10, 15:11

matata's gravatar image

matata
151
accept rate: 0%

That is not working for me because weekly is not enough and they I need only one city / country the do not have. I want to transfer only the changes.

(14 Sep '10, 21:43) Alex_AddisMap

(since this has bounced to the top of the help list again)

Cloudmade's downloads page currently says "Last maps update: 13 December 2011"

(26 Jul '12, 12:14) SomeoneElse ♦
-1

Open the file with JOSM and before modify anything activate the "update" menu (i used a french JOSM so i don't know the english name, but it must be "update data" from File menu). Wait. Then work and upload you modification.

Hope this help

permanent link

answered 10 Sep '10, 18:49

pad's gravatar image

pad
141
accept rate: 0%

Unfortunately, you can't run josm automatically via cron.

(10 Sep '10, 19:21) scai ♦

you might be able to do this with the RemoteControl plugin (http://wiki.openstreetmap.org/wiki/JOSM/Plugins/RemoteControl). leave JOSM running and periodically (via cron) give it commands to import / load data.

(10 Feb '11, 18:12) axk
-1

Osmosis can combine change files with an OSM file, resulting in a updated OSM file. It will contain all updates from the change file, so you have to filter it with a bounding box.

osmosis  --read-xml-change file="planetdiff-1-2.osc" \ 
--read-xml file="planet1.osm" --apply-change \ 
--bounding-box top=59.485 left=17.872 bottom=59.161 right=18.264 \ 
--write-xml file="planet2.osm"
permanent link
This answer is marked "community wiki".

answered 10 Sep '10, 23:23

emj's gravatar image

emj
2.0k123547
accept rate: 15%

edited 12 Sep '10, 00:34

Osmosis can only update entire planets, not extracts. The question talked about data for a specific area, which Osmosis can produce from an updated planet, but not apply diffs to directly.

(11 Sep '10, 00:56) Jonathan Ben...

according to http://www.mail-archive.com/osmosis-dev@openstreetmap.org/msg00272.html , osmosis is capable of applying (complete planet) diffs to extracts.

(10 Feb '11, 21:45) axk
2

Yes, but you would still end up with data outside the original extent in the output file. You could do it in two steps: first have osmosis or osmupdate apply the change file, then clip the output again using the boundary polygon or bounding box for your desired area.

(25 Jul '12, 23:24) mvexel

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:

×230
×199
×30

question asked: 10 Sep '10, 12:27

question was seen: 10,849 times

last updated: 26 Jul '12, 12:14

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