Ticket #555 (closed defect: fixed)
Area feature labeling code does not check for NaN values from centroid computation
|Reported by:||waltweltonlair||Owned by:||waltweltonlair|
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.