[postgis-tickets] [PostGIS] #4893: Topology Exception on st_intersection

PostGIS trac at osgeo.org
Fri Sep 3 20:03:51 PDT 2021


#4893: Topology Exception on st_intersection
-------------------------+-------------------------------------------------
  Reporter:  mlt35       |      Owner:  pramsey
      Type:  defect      |     Status:  closed
  Priority:  medium      |  Milestone:  PostGIS GEOS
 Component:  postgis     |    Version:  3.1.x
Resolution:  fixed       |   Keywords:  Geos Error, Topology Exception,
                         |  lwgeom_intersection_prec
-------------------------+-------------------------------------------------
Changes (by robe):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  PostGIS 3.1.4 => PostGIS GEOS


Comment:

 Martin says it's fixed in GEOS. I tested on


 {{{
 POSTGIS="3.1.4dev 3.1.3-25-gef2995b4a" [EXTENSION] PGSQL="140" GEOS="3.10
 .0dev-CAPI-1.15.0" PROJ="7.1.1" LIBXML="2.9.9" LIBJSON="0.12"
 LIBPROTOBUF="1.2.1" WAGYU="0.5.0 (Internal)"
 }}}


 my GEOS 3.10 branch and the first polygon indeed now returns false for
 ST_IsValid.

 Only question for this is which version of GEOS was this fixed in.
 Anyrate it's a geos bug so pushing to PostGIS GEOS and closing.

 On my production running:


 {{{
 POSTGIS="3.1.2 3.1.2" [EXTENSION] PGSQL="120" GEOS="3.9.1-CAPI-1.14.1"
 PROJ="7.1.1" LIBXML="2.9.9" LIBJSON="0.12" LIBPROTOBUF="1.2.1"
 WAGYU="0.5.0 (Internal)" (core procs from "3.1.1 3.1.1" need upgrade)
 }}}


 The first polygon returns ST_IsValid = true.

 So I assume this was fixed either in 3.10 or not yet released GEOS 3.9.2

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4893#comment:8>
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