From 024753975147470512750f2d7df2c91c360225ff Mon Sep 17 00:00:00 2001 From: nobohan Date: Thu, 3 Sep 2026 15:30:54 +0200 Subject: [PATCH] Update run.sh to carto v6.0.0 - use osm2pgsql flex mode --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index a86d016..c591421 100755 --- a/run.sh +++ b/run.sh @@ -15,7 +15,7 @@ function setPostgresPassword() { function compileStyle() { local lang=$1 cd /data/style/ - git clone --single-branch --branch update-2025 https://github.com/nobohan/openstreetmap-carto-be --depth 1 + git clone --single-branch --branch v6.0.0 https://github.com/osmbe/openstreetmap-carto-be --depth 1 mkdir /data/style/patterns/ mv /data/style/openstreetmap-carto-be/patterns/* /data/style/patterns/ mkdir /data/style/symbols/ @@ -112,7 +112,7 @@ if [ "$1" == "import" ]; then fi # Import data - sudo -u renderer osm2pgsql -d gis --create --hstore -G -S openstreetmap-carto-be/openstreetmap-carto.style --tag-transform-script openstreetmap-carto-be/openstreetmap-carto.lua \ + sudo -u renderer osm2pgsql -d gis --create -O flex -S openstreetmap-carto-be/openstreetmap-carto-flex.lua \ /data/region.osm.pbf \ ${OSM2PGSQL_EXTRA_ARGS:-} \ ;