Ticket #555 (closed defect: fixed)
Area feature labeling code does not check for NaN values from centroid computation
| Reported by: | waltweltonlair | Owned by: | waltweltonlair |
|---|---|---|---|
| Priority: | high | Milestone: | 2.1 |
| Component: | General | Version: | 2.0.0 |
| Severity: | major | Keywords: | |
| Cc: | External ID: | 1078034 |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
