From 4895e86c550390862665a65a9818545afbeb2d3b Mon Sep 17 00:00:00 2001 From: nobohan Date: Tue, 4 Jul 2023 12:48:43 +0200 Subject: [PATCH] OAM: create extension sfcgal for ST_approximateMedialAxis function --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 83a4f2b..566e8b1 100755 --- a/run.sh +++ b/run.sh @@ -49,7 +49,6 @@ set -x if [ "$1" == "terminal" ]; then - compileStyle bash fi @@ -72,6 +71,7 @@ if [ "$1" == "import" ]; then sudo -u postgres createdb -E UTF8 -O renderer gis sudo -u postgres psql -d gis -c "CREATE EXTENSION postgis;" sudo -u postgres psql -d gis -c "CREATE EXTENSION hstore;" + sudo -u postgres psql -d gis -c "CREATE EXTENSION postgis_sfcgal;" sudo -u postgres psql -d gis -c "ALTER TABLE geometry_columns OWNER TO renderer;" sudo -u postgres psql -d gis -c "ALTER TABLE spatial_ref_sys OWNER TO renderer;" setPostgresPassword