Skip to content

Commit

Permalink
actually hierarchies seem to work with transit built, see valhalla/va…
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsnolde committed Mar 25, 2023
1 parent 27ca768 commit 56c6edb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/configure_valhalla.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,17 +157,12 @@ if [[ "${do_transit}" == "True" ]]; then
echo "= Building transit tiles ="
echo "=========================="
echo ""
# TEMP
jq --arg d "false" '.mjolnir.hierarchy = $d' "${CONFIG_FILE}"| sponge "${CONFIG_FILE}"
valhalla_ingest_transit -c ${CONFIG_FILE} || exit 1
valhalla_convert_transit -c ${CONFIG_FILE} || exit 1
# also do timezones if not done already
if ! [[ -f ${TIMEZONE_DB} ]]; then
valhalla_build_timezones > ${TIMEZONE_DB} || exit 1
fi
else
# TEMP, note this means no one can set build_transit False and hierarchies as well false
jq --arg d "true" '.mjolnir.hierarchy = $d' "${CONFIG_FILE}"| sponge "${CONFIG_FILE}"
fi

# Finally build the tiles
Expand Down

0 comments on commit 56c6edb

Please sign in to comment.