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_Ale... edited 10 Sep '10, 12:29 |
4 Answers:
https://wiki.openstreetmap.org/wiki/Daily_update_an_OSM_XML_file : This page describes how to hold a local .osm file up-to-date. answered 10 Feb '11, 18:43 axk |
Or simply you can download it from http://downloads.cloudmade.com/ They update their data nearly every week! answered 14 Sep '10, 15:11 matata 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 answered 10 Sep '10, 18:49 pad 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 (https://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 |
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.
This answer is marked "community wiki". answered 10 Sep '10, 23:23 emj 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 |
The area must be customizeable and I prefer to not download everytime all data again but only the changes there.