[mapguide-trac] #555: Area feature labeling code does not check for NaN values from centroid computation

MapGuide Open Source trac_mapguide at osgeo.org
Wed May 14 17:30:52 EDT 2008


#555: Area feature labeling code does not check for NaN values from centroid
computation
------------------------------+---------------------------------------------
   Reporter:  waltweltonlair  |       Owner:  waltweltonlair
       Type:  defect          |      Status:  new           
   Priority:  high            |   Milestone:  2.1           
  Component:  General         |     Version:  2.0.0         
   Severity:  major           |    Keywords:                
External_id:  1078034         |  
------------------------------+---------------------------------------------
 The new stylization code which computes labels for polygon features calls
 a method which computes the centroid of each feature.  In some cases this
 method fails (when it can't find a good centroid which falls inside the
 polygon feature's bounds), and it then returns NaN values for the centroid
 coordinates.  The labeling code, however, doesn't check for this
 condition.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/555>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list