Skip to content

Commit c41190c

Browse files
authored
docs: download command adapted
1 parent 9ae3eab commit c41190c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ Tested on Debian/Ubuntu systems. Ensure you have Docker installed. See [official
2020
# - europe/germany/baden-wuerttemberg
2121
export REGION=europe/andorra
2222
export DATE=$(date --date="3 days ago" +"%y%m%d")
23+
export OSM_FILE_IDENTIFIER=${REGION}-${DATE}.osm.pbf
2324

24-
wget -O data/sample.pbf https://download.geofabrik.de/${REGION}-${DATE}.osm.pbf
25+
# download file
26+
wget -O ./data/sample.pbf https://download.geofabrik.de/${OSM_FILE_IDENTIFIER}
27+
# copy to root directory of project
28+
cp ./data/sample.pbf $(basename $OSM_FILE_IDENTIFIER)
2529

2630
# [optional] shut down existing compose stack
2731
docker compose down --volumes --remove-orphans

0 commit comments

Comments
 (0)