mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
Co-authored-by: Konstantin Pastbin <konstantin.pastbin@gmail.com> Signed-off-by: zyphlar <zyphlar@gmail.com>
27 lines
928 B
Plaintext
27 lines
928 B
Plaintext
## NOTE: edit the settings.sh file to customize/override the defaults.
|
|
|
|
# Absolutize & normalize paths.
|
|
REPO_PATH="${REPO_PATH:-$(cd "$(dirname "$0")/../../.."; pwd -P)}"
|
|
|
|
#TODO: is base path used?
|
|
BASE_PATH="${BASE_PATH:-$REPO_PATH/..}"
|
|
# Source map data and processed outputs e.g. wiki articles
|
|
DATA_PATH="${DATA_PATH:-/home/planet}"
|
|
# Temporary files
|
|
BUILD_PATH="${BUILD_PATH:-$DATA_PATH/build}"
|
|
# Other code repositories, e.g. subways, wikiparser..
|
|
CODE_PATH="${CODE_PATH:-~}"
|
|
|
|
# OSM planet source files
|
|
|
|
PLANET_PATH="${PLANET_PATH:-$DATA_PATH/planet}"
|
|
PLANET_PBF="${PLANET_PBF:-$PLANET_PATH/planet-latest.osm.pbf}"
|
|
PLANET_O5M="${PLANET_O5M:-$PLANET_PATH/planet-latest.o5m}"
|
|
|
|
# Subways
|
|
|
|
SUBWAYS_REPO_PATH="${SUBWAYS_REPO_PATH:-/root/subways}"
|
|
SUBWAYS_PATH="${SUBWAYS_PATH:-$DATA_PATH/subway}"
|
|
SUBWAYS_LOG="${SUBWAYS_LOG:-$SUBWAYS_PATH/subway.log}"
|
|
SUBWAYS_VALIDATOR_PATH="${SUBWAYS_VALIDATOR_PATH:-$SUBWAYS_PATH/validator}"
|