Rollback to old carto as osm-carto v6.0.0 cannot be used with old osm-tile-server repo
This commit is contained in:
@@ -15,7 +15,7 @@ function setPostgresPassword() {
|
|||||||
function compileStyle() {
|
function compileStyle() {
|
||||||
local lang="${1:-}"
|
local lang="${1:-}"
|
||||||
cd /data/style/
|
cd /data/style/
|
||||||
git clone --single-branch --branch v6.0.0 https://github.com/osmbe/openstreetmap-carto-be --depth 1
|
git clone --single-branch --branch update-2025 https://github.com/nobohan/openstreetmap-carto-be --depth 1
|
||||||
mkdir /data/style/patterns/
|
mkdir /data/style/patterns/
|
||||||
mv /data/style/openstreetmap-carto-be/patterns/* /data/style/patterns/
|
mv /data/style/openstreetmap-carto-be/patterns/* /data/style/patterns/
|
||||||
mkdir /data/style/symbols/
|
mkdir /data/style/symbols/
|
||||||
@@ -116,7 +116,7 @@ if [ "$1" == "import" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Import data
|
# Import data
|
||||||
sudo -u renderer osm2pgsql -d gis --create -O flex -S openstreetmap-carto-be/openstreetmap-carto-flex.lua \
|
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 \
|
||||||
/data/region.osm.pbf \
|
/data/region.osm.pbf \
|
||||||
${OSM2PGSQL_EXTRA_ARGS:-} \
|
${OSM2PGSQL_EXTRA_ARGS:-} \
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user