[postgis-devel] [PostGIS] #1700: ERROR: GEOSTopologyPreserveSimplify: vector::reserve

PostGIS trac at osgeo.org
Wed Mar 21 12:25:56 PDT 2012


#1700: ERROR:  GEOSTopologyPreserveSimplify: vector::reserve
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 Alright, input looks like:
 {{{
  MULTIPOLYGON ( ((...)), EMPTY )
 }}}

 WKT parser refuses to accept it.

 It looks like I can reproduce using this call:
 {{{
 select ST_SimplifyPreserveTopology(ST_collect('MULTIPOLYGON ( ((0 0, 10 0,
 10 10, 0 10, 0 0)) )', 'POLYGON EMPTY'), 0);
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1700#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-devel mailing list