[postgis-tickets] [PostGIS] #3402: geometry crosses edges with 0 tolerance
PostGIS
trac at osgeo.org
Fri Dec 18 10:42:51 PST 2015
#3402: geometry crosses edges with 0 tolerance
-----------------------+---------------------------
Reporter: strk | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.9
Component: topology | Version: 2.1.x
Resolution: | Keywords:
-----------------------+---------------------------
Comment (by strk):
Just a note: the 4-vertices input had all vertices distance not less than
0.01 units:
{{{
0102000000040000001F85EB1117273941F6285CEFAC9652411F85EB5119283941F6285CEF2D9652411F85EB5128283941F6285CCF2C9652411F85EBD160273941000000E0DA965241
}}}
Thus the 5e-10 distance vertex has been generated as part of the noding.
For a computed tolerance of ~2e-8 such case should be avoided, and can be
avoided by passing the noded input through ST_RemoveRepeatedPoint with a
tolerance (or one day by using the new PrecisionModel support in
GEOS-3.5).
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3402#comment:13>
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