Ticket #555 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by waltweltonlair

  • status changed from new to assigned

Changed 5 years ago by waltweltonlair

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

Changed 5 years ago by waltweltonlair

  • status changed from assigned to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.