Fix issue in coastline-fix.sh.
This commit is contained in:
parent
77a0098ace
commit
086952022a
@ -33,6 +33,8 @@ fi
|
||||
|
||||
# Bounds
|
||||
|
||||
cd mapsforge-creator
|
||||
|
||||
BBOX=$(perl poly2bb.pl "$INPUTS/$REGION/$REGION.poly")
|
||||
BBOX=(${BBOX//,/ })
|
||||
BOTTOM=${BBOX[0]}
|
||||
@ -60,6 +62,8 @@ sed -i "s/\$LEFT/$LEFT/g" "$INPUTS/$REGION/sea.osm"
|
||||
sed -i "s/\$TOP/$TOP/g" "$INPUTS/$REGION/sea.osm"
|
||||
sed -i "s/\$RIGHT/$RIGHT/g" "$INPUTS/$REGION/sea.osm"
|
||||
|
||||
cd $INPUTS
|
||||
|
||||
CMD="$OSMOSIS --rb file=$INPUTS/$REGION/$REGION-latest.osm.pbf \
|
||||
--rx file=$INPUTS/$REGION/sea.osm --s --m"
|
||||
for f in $INPUTS/$REGION/${REGION}_land*.osm; do
|
||||
|
Loading…
Reference in New Issue
Block a user