[geos-devel] [GEOS] #612: GEOSCentroid returns EMPTY for single-point lines and zero-length polygons

GEOS geos-trac at osgeo.org
Mon Jan 14 04:15:07 PST 2013


#612: GEOSCentroid returns EMPTY for single-point lines and zero-length polygons
------------------------+---------------------------------------------------
 Reporter:  strk        |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:  3.4.0                     
Component:  Default     |     Version:  svn-trunk                 
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------

Comment(by strk):

 This implies porting a new "Centroid" algorithm class and making use of it
 from Geometry class. The new class deprecates CentroidArea, CentroidLine
 and CentroidPoint.
 The JTS changeset includes testcases.

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