Add ability to disable PostGIS ST_Simplify usage

Description

It would be helpful to allow users to disable the usage of PostGIS ST_Simplify, as this useful feature is also new and may cause unintended consequences.

System property?

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:31 PM

CodeHaus Comment From: shane907 - Time: Fri, 14 Mar 2014 02:19:39 -0500
---------------------
Well, I ran into <a href="https://jira.codehaus.org/browse/GEOT-4737" title="Use of PostGIS ST_Simplify causes small polygons to disappear completely" class="issue-link" data-issue-key="GEOT-4737">GEOT-4737</a> yesterday, so it would be nice to disable ST_Simplify until this issue is resolved. It seems reasonable that some other unintended consequences may surface in the future, and that disabling with a crude system property would prevent affected users from having to revert.

codehaus
April 10, 2015, 3:31 PM

CodeHaus Comment From: aaime - Time: Fri, 14 Mar 2014 03:00:17 -0500
---------------------
I&#39;d rather not add extra logic in the code just based on a &quot;maybe&quot; at this point. Please discuss on the list, if the rest of the community feels like you, I&#39;ll make the change.

codehaus
April 10, 2015, 3:31 PM

CodeHaus Comment From: aaime - Time: Fri, 14 Mar 2014 07:03:20 -0500
---------------------
Ah, seen the other issue. Yes, it&#39;s serious. In this case I&#39;ll add a datastore config flag, a system var is too obscure for most users

codehaus
April 10, 2015, 3:31 PM

CodeHaus Comment From: aaime - Time: Sat, 15 Mar 2014 06:11:07 -0500
---------------------
Add a store parameter. Simplification is on by default now, if we see it causes widespread issues we&#39;ll probably revert the default to false.

Andrea Aime
February 15, 2017, 11:34 AM

Mass transitioning all resolved issues that have not been updated in the last month to closed state

Fixed

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Medium
Configure