[postgis-tickets] [PostGIS] #3768: Geometry becomes invalid after a simple shift (black magic)
PostGIS
trac at osgeo.org
Tue Jun 6 09:28:06 PDT 2017
#3768: Geometry becomes invalid after a simple shift (black magic)
--------------------------+------------------------------
Reporter: tobiasreber | Owner: pramsey
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 2.0.8
Component: postgis | Version: 2.1.x
Resolution: wontfix | Keywords: invalid Geometry
--------------------------+------------------------------
Comment (by dbaston):
As far as the "very very very nearly invalid" piece, a good way to
quantify this is `ST_MinimumClearance`.
{{{
SELECT ST_MinimumClearance('MULTIPOLYGON(((669054 215766.1, 669054.8
215766.9, 669095.2 215807.2, 669064 215776.1, 669054 215766.1)))');
st_minimumclearance
---------------------
4.115903174892e-11
}}}
So your input can tolerate only 4e-11 distance units of perturbation
before becoming invalid.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3768#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list