Abort single planet generation in Test mode
I believe it is safe to assume that a user wants nothing to be generated with -t, even if its a single planet
This commit is contained in:
@@ -119,6 +119,10 @@ should_skip() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
single_planet() {
|
single_planet() {
|
||||||
|
if [[ "$TEST" == "1" ]]; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p "./data/osm/planet"
|
mkdir -p "./data/osm/planet"
|
||||||
wget "https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf" -O "./data/osm/planet.osm.pbf"
|
wget "https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf" -O "./data/osm/planet.osm.pbf"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user