diff pkg/geoserver/boot.go @ 2624:9dbaf69c7a66

Improve geoserver config to better calculate bounding boxes * Disable the use of estimated extents for the postgis storage configuration for geoserver, which is set via the gemma middleware. This way we are able to get better bounding boxes for many layers where the postgis function `ST_EstimatedExtent()` would be far off.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 13 Mar 2019 16:18:39 +0100
parents d7152eb11d58
children dfeb2928232b
line wrap: on
line diff
--- a/pkg/geoserver/boot.go	Wed Mar 13 15:43:43 2019 +0100
+++ b/pkg/geoserver/boot.go	Wed Mar 13 16:18:39 2019 +0100
@@ -4,7 +4,7 @@
 // SPDX-License-Identifier: AGPL-3.0-or-later
 // License-Filename: LICENSES/AGPL-3.0.txt
 //
-// Copyright (C) 2018 by via donau
+// Copyright (C) 2018, 2019 by via donau
 //   – Österreichische Wasserstraßen-Gesellschaft mbH
 // Software engineering by Intevation GmbH
 //
@@ -172,6 +172,7 @@
 					{"Primary key metadata table", primaryKeyMetadataTbl},
 					{"Session startup SQL", startupSQL},
 					{"Session close-up SQL", closeupSQL},
+					{"Estimated extends", false},
 				},
 			},
 		},