Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit ecbd4e2

Browse files
committed
moved to the correct location.
1 parent 7288ae5 commit ecbd4e2

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

scripts/cut_tiles.sh

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -201,17 +201,6 @@ else
201201
rm -f maproulette_tasks.geojson
202202
fi
203203

204-
pushd ${TILES_DIR}
205-
catch_exception
206-
find . | sort -n | tar -cf ${CUR_PLANET_DIR}/planet_${stamp}.tar --no-recursion -T -
207-
catch_exception
208-
mv ${TILES_DIR}/0 ${CUR_PLANET_DIR}/0
209-
catch_exception
210-
mv ${TILES_DIR}/1 ${CUR_PLANET_DIR}/1
211-
catch_exception
212-
mv ${TILES_DIR}/2 ${CUR_PLANET_DIR}/2
213-
catch_exception
214-
215204
if [ "$BUILD_GEOJSON_OSMLR" == "true" ] && [ -n "$S3_SEGMENT_PATH" ]; then
216205
echo "[INFO] building geojson osmlr."
217206

@@ -229,6 +218,16 @@ if [ "$BUILD_GEOJSON_OSMLR" == "true" ] && [ -n "$S3_SEGMENT_PATH" ]; then
229218
echo "[SUCCESS] geojson osmlr completed!"
230219
fi
231220

221+
pushd ${TILES_DIR}
222+
catch_exception
223+
find . | sort -n | tar -cf ${CUR_PLANET_DIR}/planet_${stamp}.tar --no-recursion -T -
224+
catch_exception
225+
mv ${TILES_DIR}/0 ${CUR_PLANET_DIR}/0
226+
catch_exception
227+
mv ${TILES_DIR}/1 ${CUR_PLANET_DIR}/1
228+
catch_exception
229+
mv ${TILES_DIR}/2 ${CUR_PLANET_DIR}/2
230+
catch_exception
232231
popd
233232
catch_exception
234233
popd

0 commit comments

Comments
 (0)