Made long-generated Russia part first in the list for faster indexing

This commit is contained in:
Alex Zolotarev 2011-12-08 12:21:47 +01:00 committed by Alex Zolotarev
parent eebf603f85
commit 6220427bca

View file

@ -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%.*.*}"