From 6220427bcaef5cb4c4060c1d5a6759d5fb9b74fb Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 8 Dec 2011 12:21:47 +0100 Subject: [PATCH] Made long-generated Russia part first in the list for faster indexing --- tools/unix/planet.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/unix/planet.sh b/tools/unix/planet.sh index 5fb8a74749..23811d2070 100755 --- a/tools/unix/planet.sh +++ b/tools/unix/planet.sh @@ -127,6 +127,8 @@ $PV $PLANET_OSM_BZ2 | $BZIP | $GENERATOR_TOOL -intermediate_data_path=$TMPDIR \ # but separate exceptions for wolrd files to finish them earlier $GENERATOR_TOOL -data_path=$DATA_PATH -generate_geometry -generate_index -output=World & $GENERATOR_TOOL -data_path=$DATA_PATH -generate_geometry -generate_index -output=WorldCoasts & +# additional exceptions for long-generated countries +$GENERATOR_TOOL -data_path=$DATA_PATH -generate_geometry -generate_index "-output=Russia_Far Eastern" & for file in $DATA_PATH/*.mwm.tmp; do if [[ "$file" == *minsk-pass* ]]; then continue @@ -134,6 +136,9 @@ for file in $DATA_PATH/*.mwm.tmp; do if [[ "$file" == *World* ]]; then continue fi + if [[ "$file" == *Russia_Far\ Eastern* ]]; then + continue + fi filename=$(basename "$file") extension="${filename##*.}" filename="${filename%.*.*}"