[postgis-tickets] [PostGIS] #4796: st_simplifypreservetopology() fails on some MultiSurfaces

PostGIS trac at osgeo.org
Sat Nov 21 07:33:30 PST 2020


#4796: st_simplifypreservetopology() fails on some MultiSurfaces
-------------------------+---------------------------
  Reporter:  tvijlbrief  |      Owner:  pramsey
      Type:  defect      |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS 3.1.0
 Component:  postgis     |    Version:  3.0.x
Resolution:              |   Keywords:
-------------------------+---------------------------

Comment (by komzpa):

 The problem isn't just Simplify. It's issue with all GEOS functions and
 should be fixed in converters into GEOS. Generally speaking it should be
 just downgraded into a collection instead of crash, just like TIN.

 {{{
 select postgis_geos_noop('MULTISURFACE(((178632.044 397744.007,178631.118
 397743.786,178646.399 397679.574,178693.864 397690.889,178698.958
 397669.487,178700.206 397669.784,178758.532 397683.689,178748.351
 397726.468,178752.199 397727.384,178748.782 397741.904,178744.897
 397740.98,178738.157 397769.303,178632.044 397744.007)))'::geometry);
 ERROR:  XX000: Unknown geometry type: 12 - MultiSurface
 LOCATION:  pg_error, lwgeom_pg.c:255
 }}}

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