Skip to content

Commit

Permalink
allow curl to follow mirror to download maps
Browse files Browse the repository at this point in the history
  • Loading branch information
tits4net committed Apr 1, 2024
1 parent 792df3f commit 54ed2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motomap/motomap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ do
mkdir -p workdir
echo "INFO: Motomap Processing - Processing $element (name : ${final_name^})"
echo "INFO: Motomap Processing - Download OSM map"
curl --output /motomap/workdir/map.osm.pbf https://download.geofabrik.de/"$element"-latest.osm.pbf
curl -L --output /motomap/workdir/map.osm.pbf https://download.geofabrik.de/"$element"-latest.osm.pbf

echo "INFO: Motomap Processing - Splitting Map"
# split each pbf file into segments so we don't run out of memory
Expand Down

0 comments on commit 54ed2e5

Please sign in to comment.