Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
2623:145f2b89287c | 2624:9dbaf69c7a66 |
---|---|
2 // without warranty, see README.md and license for details. | 2 // without warranty, see README.md and license for details. |
3 // | 3 // |
4 // SPDX-License-Identifier: AGPL-3.0-or-later | 4 // SPDX-License-Identifier: AGPL-3.0-or-later |
5 // License-Filename: LICENSES/AGPL-3.0.txt | 5 // License-Filename: LICENSES/AGPL-3.0.txt |
6 // | 6 // |
7 // Copyright (C) 2018 by via donau | 7 // Copyright (C) 2018, 2019 by via donau |
8 // – Österreichische Wasserstraßen-Gesellschaft mbH | 8 // – Österreichische Wasserstraßen-Gesellschaft mbH |
9 // Software engineering by Intevation GmbH | 9 // Software engineering by Intevation GmbH |
10 // | 10 // |
11 // Author(s): | 11 // Author(s): |
12 // * Sascha L. Teichmann <sascha.teichmann@intevation.de> | 12 // * Sascha L. Teichmann <sascha.teichmann@intevation.de> |
170 {"passwd", config.DBPassword()}, | 170 {"passwd", config.DBPassword()}, |
171 {"dbtype", databaseType}, | 171 {"dbtype", databaseType}, |
172 {"Primary key metadata table", primaryKeyMetadataTbl}, | 172 {"Primary key metadata table", primaryKeyMetadataTbl}, |
173 {"Session startup SQL", startupSQL}, | 173 {"Session startup SQL", startupSQL}, |
174 {"Session close-up SQL", closeupSQL}, | 174 {"Session close-up SQL", closeupSQL}, |
175 {"Estimated extends", false}, | |
175 }, | 176 }, |
176 }, | 177 }, |
177 }, | 178 }, |
178 } | 179 } |
179 | 180 |