fix indent
This commit is contained in:
parent
6d0e8070f5
commit
83f26e1abe
22
run.sh
22
run.sh
@ -37,19 +37,19 @@ if [ "$1" = "import" ]; then
|
||||
|
||||
# Download Luxembourg as sample if no data is provided
|
||||
if [ ! -f /data.osm.pbf ] && [ -z "$DL_PBF" ]; then
|
||||
echo "WARNING: No import file at /data.osm.pbf, so importing Luxembourg as example..."
|
||||
DL_PBF="http://download.geofabrik.de/europe/luxembourg-latest.osm.pbf"
|
||||
DL_PBF_POLY="http://download.geofabrik.de/europe/luxembourg.poly"
|
||||
echo "WARNING: No import file at /data.osm.pbf, so importing Luxembourg as example..."
|
||||
DL_PBF="http://download.geofabrik.de/europe/luxembourg-latest.osm.pbf"
|
||||
DL_PBF_POLY="http://download.geofabrik.de/europe/luxembourg.poly"
|
||||
fi
|
||||
|
||||
if [ -n "$DL_PBF" ]; then
|
||||
echo "INFO: Download PBF file: $DL_PBF"
|
||||
wget -nv "$DL_PBF" -O /data.osm.pbf
|
||||
if [ -n "$DL_PBF_POLY" ]; then
|
||||
echo "INFO: Download PBF-POLY file: $DL_PBF_POLY"
|
||||
wget -nv "$DL_PBF_POLY" -O /data.poly
|
||||
fi
|
||||
fi
|
||||
if [ -n "$DL_PBF" ]; then
|
||||
echo "INFO: Download PBF file: $DL_PBF"
|
||||
wget -nv "$DL_PBF" -O /data.osm.pbf
|
||||
if [ -n "$DL_PBF_POLY" ]; then
|
||||
echo "INFO: Download PBF-POLY file: $DL_PBF_POLY"
|
||||
wget -nv "$DL_PBF_POLY" -O /data.poly
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$UPDATES" = "enabled" ]; then
|
||||
# determine and set osmosis_replication_timestamp (for consecutive updates)
|
||||
|
Loading…
Reference in New Issue
Block a user