[postgis-tickets] [PostGIS] #4941: ST_RemEdgeModFace and TopoGeo_addLineString cause invalid face mbr

PostGIS trac at osgeo.org
Tue Jul 6 04:56:03 PDT 2021


#4941: ST_RemEdgeModFace and TopoGeo_addLineString cause invalid face mbr
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 3.2.0
 Component:  topology  |    Version:  2.2.x
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by strk):

 The problem seems to be with ST_BoundingDiagonal as well, disagreeing with
 ST_Envelope:
 {{{
 =# with inp as ( select 'POLYGON((12.123711265448206
 65.12785021295713,12.123711265448206 65.21007378815003,12.208829785296102
 65.12785021295713,12.123711265448206 65.12785021295713))'::geometry g )
 select ST_XMin(g), ST_XMin(ST_Envelope(g)),
 ST_XMin(ST_BoundingDiagonal(g)) from inp;
       st_xmin       |      st_xmin       |      st_xmin
 --------------------+--------------------+--------------------
  12.123711265448206 | 12.123711265448206 | 12.123710632324219
 }}}

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