Opened 10 years ago

Closed 10 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 Changed 10 years ago by waltweltonlair

Status: newassigned

comment:2 Changed 10 years ago by waltweltonlair

Fixed in the trunk stream with submission https://trac.osgeo.org/mapguide/changeset/3167.

comment:3 Changed 10 years ago by waltweltonlair

Resolution: fixed
Status: assignedclosed

Fixed in the branch stream with submission https://trac.osgeo.org/mapguide/changeset/3168.

Note: See TracTickets for help on using tickets.