wiktorn / Overpass-API

Overpass API docker image
MIT License
134 stars 48 forks source link

Planet minutely diffs on part of the world snapshot #67

Open Janjko opened 3 years ago

Janjko commented 3 years ago

My goal is to have minutely diffs of a country that doesn't have minutely diffs available (Croatia). Is it possible to apply planet minutely diffs over a one country base snapshot? Like this:

OVERPASS_PLANET_URL=http://download.geofabrik.de/europe/croatia-latest.osm.bz2

and then add

OVERPASS_DIFF_URL=https://planet.openstreetmap.org/replication/minute/

over that? This is obviously going to put in a lot more data than needed, but then I can init the docker image with a new snapshot every day. Has something like this been done before?

wiktorn commented 3 years ago

See #43. That's something that looks feasible, especially that osmium package is already within image.

There is already OVERPASS_PLANET_PREPROCESS, what should be next - is to add OVERPASS_DIFF_PREPROCESS and in both - you could use osmium to extract based on provided geometry.

cvb941 commented 2 years ago

Any progress on the OVERPASS_DIFF_PREPROCESS variable?