[PostGIS] #5737: ST_SimplifyPreserveTopology non-deterministic behavior?

PostGIS trac at osgeo.org
Tue Jun 4 10:39:20 PDT 2024


#5737: ST_SimplifyPreserveTopology non-deterministic behavior?
--------------------------------+---------------------------
  Reporter:  Alessandro Donati  |      Owner:  pramsey
      Type:  defect             |     Status:  new
  Priority:  critical           |  Milestone:  PostGIS 3.4.3
 Component:  postgis            |    Version:  3.4.x
Resolution:                     |   Keywords:
--------------------------------+---------------------------
Comment (by mdavis):

 I ran this with
 {{{
 POSTGIS="3.4.0 0874ea3" [EXTENSION] PGSQL="160" GEOS="3.12.0-CAPI-1.18.0"
 PROJ="9.2.1 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org
 USER_WRITABLE_DIRECTORY=/Users/mdavis/Library/Application Support/proj
 DATABASE_PATH=/Applications/Postgres.app/Contents/Versions/16/share/proj/proj.db"
 LIBXML="2.11.5" LIBJSON="0.17" LIBPROTOBUF="1.4.1" WAGYU="0.5.0
 (Internal)"
 }}}
 and got a clean run (see output below).

 There may have been some changes which either fixed a subtle bug, or made
 the operation more stable.  Are you able to upgrade to GEOS 3.12?

 {{{
  run | valid | npoints |   gtype    | wkt_difference | simp_equals |
 simp_ordering_equals | eq | wkb_eq | n1simp | n2simp | n1rem | n2rem
 -----+-------+---------+------------+----------------+-------------+----------------------+----+--------+--------+--------+-------+-------
    1 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
    2 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
    3 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
    4 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
    5 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
    6 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
    7 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
    8 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
    9 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
   10 | t     |    4613 | ST_Polygon | POLYGON EMPTY  | t           | t
 | t  | t      |    605 |    605 |   605 |   605
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5737#comment:1>
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