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

PostGIS trac at osgeo.org
Fri Nov 20 02:23:28 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
 Keywords:              |
------------------------+---------------------------
 {{{
 select st_simplifypreservetopology('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,1);
 }}}

 ERROR:  Unknown geometry type: 12 - MultiSurface

 See also: https://github.com/postgis/postgis/pull/588

 Quote from https://postgis.net/docs/ST_SimplifyPreserveTopology.html

 ''Will actually do something only with (multi)lines and (multi)polygons
 but you can safely call it with any kind of geometry.''

 but this MultiSurface generates an error

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