Opened 17 years ago
Closed 17 years ago
#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 (3)
comment:1 by , 17 years ago
Status: | new → assigned |
---|
comment:2 by , 17 years ago
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in the branch stream with submission https://trac.osgeo.org/mapguide/changeset/3168.
Note:
See TracTickets
for help on using tickets.
Fixed in the trunk stream with submission https://trac.osgeo.org/mapguide/changeset/3167.