mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-10 06:14:20 +00:00
Compare commits
1 Commits
generate-n
...
generate-2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd102d1e74 |
@@ -31,22 +31,22 @@ python3 -m venv /tmp/venv
|
|||||||
echo "<$(date +%T)> Copying map generator INI..."
|
echo "<$(date +%T)> Copying map generator INI..."
|
||||||
cp var/etc/map_generator.ini.prod var/etc/map_generator.ini
|
cp var/etc/map_generator.ini.prod var/etc/map_generator.ini
|
||||||
|
|
||||||
$GENARGS=""
|
GENARGS=""
|
||||||
|
|
||||||
if [ $MWMTEST -gt 0 ]; then
|
if [ $MWMTEST -gt 0 ]; then
|
||||||
echo "Marking as a test (non-prod) generation"
|
echo "Marking as a test (non-prod) generation"
|
||||||
# TODO: output test maps into e.g. osm-maps-test/ and use a different generation.log
|
# TODO: output test maps into e.g. osm-maps-test/ and use a different generation.log
|
||||||
$GENARGS="$GENARGS -s=test"
|
GENARGS="$GENARGS -s=test"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $MWMCONTINUE -gt 0 ]; then
|
if [ $MWMCONTINUE -gt 0 ]; then
|
||||||
echo "Continuing from preexisting generator run"
|
echo "Continuing from preexisting generator run"
|
||||||
$GENARGS="$GENARGS --continue"
|
GENARGS="$GENARGS --continue"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n $MWMCOUNTRIES ]]; then
|
if [[ -n $MWMCOUNTRIES ]]; then
|
||||||
echo "Generating only specific maps for [$MWMCOUNTRIES]"
|
echo "Generating only specific maps for [$MWMCOUNTRIES]"
|
||||||
$GENARGS="$GENARGS --countries=$MWMCOUNTRIES"
|
GENARGS="$GENARGS --countries=$MWMCOUNTRIES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ~/comaps/tools/python
|
cd ~/comaps/tools/python
|
||||||
|
|||||||
Reference in New Issue
Block a user