changeset 657:40d3b697ea15

Add PostgreSQL extension for 3D processing We already use it for cross section calculation (see cross.go).
author Tom Gottfried <tom@intevation.de>
date Fri, 14 Sep 2018 17:45:42 +0200
parents 9ef2f80a4645
children 288c496eca26
files schema/gemma.sql
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/schema/gemma.sql	Fri Sep 14 16:57:12 2018 +0200
+++ b/schema/gemma.sql	Fri Sep 14 17:45:42 2018 +0200
@@ -5,6 +5,9 @@
 --
 CREATE EXTENSION postgis;
 
+-- Needed for 3D processing e.g. for cross section profiles
+CREATE EXTENSION postgis_sfcgal;
+
 -- TODO: will there ever be UPDATEs or can we drop that function due to
 -- historicisation?
 CREATE FUNCTION update_date_info() RETURNS trigger