[postgis-tickets] [PostGIS] #2859: ST_Polygonize error

PostGIS trac at osgeo.org
Wed Jul 30 03:28:10 PDT 2014


#2859: ST_Polygonize error
---------------------+------------------------------------------------------
 Reporter:  remic    |       Owner:  pramsey
     Type:  defect   |      Status:  new    
 Priority:  medium   |   Milestone:         
Component:  postgis  |     Version:  2.1.x  
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 Works for me as of POSTGIS="2.2.0dev r12828" GEOS="3.5.0dev-CAPI-1.9.0
 r3992"

 {{{
 strk=# select st_astext(ST_Polygonize(
     ST_Node(
         ST_GeomFromText('MULTILINESTRING((0 0,5 0),(5 0,10 0,10 10,5
 10),(5 10,0 10,0 0) ,(5 0,5 10) )') )
     )
 );
                                          st_astext
 -------------------------------------------------------------------------------------------
  GEOMETRYCOLLECTION(POLYGON((5 10,10 10,10 0,5 0,5 10)),POLYGON((5 10,5
 0,0 0,0 10,5 10)))
 (1 row)
 }}}

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