9 lines
No EOL
474 B
Bash
9 lines
No EOL
474 B
Bash
# get latest france with cli
|
|
source ./secrets.sh
|
|
python3 /home/poule/encrypted/stockage-syncable/www/development/html/sendfile_osm_oauth_protector/oauth_cookie_client.py \
|
|
-u "$OSM_USER" -p "$OSM_PASS" \
|
|
-c https://osm-internal.download.geofabrik.de/get_cookie \
|
|
-o cookie.txt
|
|
|
|
|
|
wget -N --no-cookies --header "Cookie: $(cat cookie.txt | cut -d ';' -f 1)" https://osm-internal.download.geofabrik.de/europe/france-latest-internal.osm.pbf -O osm_data/france-internal.osh.pbf |