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

is there a way of automatically downloading the KML file, i.e. from linux command line, in order to restore the current map state in case of vandalism?

asked 15 Feb '16, 10:17

stefxy's gravatar image

stefxy
26223
accept rate: 0%

edited 15 Feb '16, 10:53

scai's gravatar image

scai ♦
33.3k21309459

Is this question about umap? It seems to be a duplicate of https://help.openstreetmap.org/questions/48132/automatic-backup which was tagged umap, but this one isn't.

(15 Feb '16, 10:44) SomeoneElse ♦

yes, this question is about umap and i only realized after i got the answer of malenki that i was supposed to add a umap tag, so i asked it again as https://help.openstreetmap.org/questions/48132/automatic-backup if this is confusing, please remove this first question!

(15 Feb '16, 10:47) stefxy
2

What a waste of time…

(15 Feb '16, 11:14) malenki

The question has been closed for the following reason "AS noted in the comments, this question is a mistagged duplicate of https://help.openstreetmap.org/questions/48132/automatic-backup ." by SomeoneElse 15 Feb '16, 10:51


Of course, but with OSM these are .osm files.
You may download your desired region with wget as cronjob every night from OSM API (if it is not too big) or from Overpass API. This call

wget "http://overpass.osm.rambler.ru/cgi/xapi_meta?*[bbox=40.52215098562377,19.769210815429688,41.07624551474787,20.48194885253906]" -O - > $(date +%Y-%m-%d)_a_region_in_Albania.osm

will result in a file named 2016-02-15_a_region_in_Albania.osm

Or you are already satisfied with the services download.geofabrik.de offers. For some recent days they have daily backups, then monthly and yearly ones. Just click on "raw directory index on their download site.

permanent link

answered 15 Feb '16, 10:35

malenki's gravatar image

malenki
4.7k24683
accept rate: 6%

edited 15 Feb '16, 10:42

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:

×314
×5
×5

question asked: 15 Feb '16, 10:17

question was seen: 2,645 times

last updated: 15 Feb '16, 11:14

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