Minor fixes.

This commit is contained in:
Mikaël Capelle
2020-07-15 17:31:28 +02:00
parent 1b71531b5e
commit 68a82ccbc8
3 changed files with 8 additions and 1 deletions

View File

@@ -66,6 +66,11 @@ LON=${CENTER[1]}
# Land
ogr2ogr -overwrite -progress -skipfailures -clipsrc $LEFT $BOTTOM $RIGHT $TOP "${region_dir}/${region_name}_land.shp" "$INPUTS/land-polygons-split-4326/land_polygons.shp"
if [ $? -ne 0 ]; then
exit $?
fi
python shape2osm.py -l "${region_dir}/${region_name}_land" "${region_dir}/${region_name}_land.shp"
# Sea