It is expected that a "geometry simplification" is a good practice to preserve stable versions of a geometry, avoiding minor and non-relevant changes (side effect of geometry-editors and other "false updates").
- to preserve original geometry when it not needs simplification;
- to control the "need less simplification" by a parameter, like tolerance.
So, the hypothesis is that we can check sensibility by changing a tolerance parameter.
... But it is not working, so the question is "How to check sensibility?" in that context.
I am testing
ST_Simplify(geom,0.00001)=geom and is false.. But even
ST_AsGeoJSON(geom,3)=ST_AsGeoJSON(ST_Simplify(geom,0.00000001),3) is false!!
origianal = ... [-60.931,2.64],[-60.929,2.638],[-60.925,2.635],[-60.919,2.63],[-60.917,2.628],... simplified = ... [-60.931,2.64],[-60.925,2.635],[-60.919,2.63],[-60.917,2.628],...
I need to preserve stable versions into a git repository of GeoJSON files.
PS: if a "non-invasive simplification algorithm" not exists (?), them, a workaround, a simple way to normalize geometry for git stable versions is to apply something as