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


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

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

accept rate: 33%

Or simply you can download it from They update their data nearly every week!

permanent link

answered 14 Sep '10, 15:11

matata's gravatar image

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 ♦

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

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 ( leave JOSM running and periodically (via cron) give it commands to import / load data.

(10 Feb '11, 18:12) axk

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

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 , osmosis is capable of applying (complete planet) diffs to extracts.

(10 Feb '11, 21:45) axk

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 10 Sep '10, 12:27

question was seen: 10,446 times

last updated: 26 Jul '12, 12:14

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