[postgis-tickets] [PostGIS] #3108: ST_SubDivide leaves pockets

PostGIS trac at osgeo.org
Wed May 6 15:41:24 PDT 2015


#3108: ST_SubDivide leaves pockets
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 Okay I took one of the problem towns and simplified to just the point
 before the problem disappears with this command:


 {{{
 CREATE TABLE subdivide_test AS
 SELECT gid, town,
 ST_Simplify(ST_SnapToGrid(ST_UnaryUnion(geom),5),2)::geometry(POLYGON,26986)
 As geom
 FROM towns
 WHERE gid = 93;

 }}}


 Attached is the generated table:


 {{{
 -- mb_after_subdivide

 SELECT ST_Subdivide(geom)
 FROM subdivide_test;
 }}}

 Give me my land back :)

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3108#comment:2>
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