[geos-devel] Re: [GEOS] #525: Polygonizer fails to polygonize simple input

GEOS geos-trac at osgeo.org
Sat Mar 31 12:31:52 EDT 2012


#525: Polygonizer fails to polygonize simple input
------------------------+---------------------------------------------------
 Reporter:  strk        |        Owner:  geos-devel@…              
     Type:  defect      |       Status:  closed                    
 Priority:  major       |    Milestone:  3.3.3                     
Component:  Default     |      Version:  3.3.2                     
 Severity:  Unassigned  |   Resolution:  invalid                   
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by strk):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Alright my WKT wasn't correctly noded.
 The nodes are (4,0), (4,3) and (6,0).
 Passing correctly noded input gives the correct answer, which is the
 "A"-looking polygon,
 the polygon covering the southbound triangle hole and the polygon covering
 the small northbound triangle at the bottom.

 {{{
  GEOMETRYCOLLECTION(POLYGON((4 0,0 0,5 10,10 0,6 0,5 3,4 0),(5 3,6 6,4 6,5
 3)),POLYGON((4 0,5 3,6 0,4 0)),POLYGON((5 3,4 6,6 6,5 3)))
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/525#comment:2>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list