forked from organicmaps/organicmaps
Made long-generated Russia part first in the list for faster indexing
This commit is contained in:
parent
eebf603f85
commit
6220427bca
1 changed files with 5 additions and 0 deletions
|
@ -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%.*.*}"
|
||||
|
|
Loading…
Add table
Reference in a new issue