This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How can update data for only one country not planet for overpass API??

1

Hi, I want to use overpass API with data related to my country not planet. I downloaded japan-latest.osm.bz2 file for running Overpass API on my server about a month age

but I don't know how can I update that now (after a month)? I think this is an update url : http://download.geofabrik.de/asia/japan-updates/ but I don't know how can I find my current replication id?!!!

for using to this command: nohup $EXEC_DIR/bin/fetch_osc.sh my_replication_id "https://download.geofabrik.de/asia/japan-updates" "$REPLICATE_DIR" &

but when i use above command, I get this error: gzip: stdin: unexpected end of file https://download.geofabrik.de/asia/japan-updates/003/950/542.osc.gz: 2020-03-27 15:24:12 ERROR 404: Not Found.

Thanks a lot for your help

asked 27 Mar '20, 12:31

sogand145's gravatar image

sogand145
26112
accept rate: 0%

edited 27 Mar '20, 15:45

Source code available on GitHub .