Opened 17 years ago

Closed 17 years ago

#2145 closed defect (fixed)

Enable dynamic charts on point and line layers

Reported by: dmorissette Owned by: dmorissette
Priority: normal Milestone: 5.0 release
Component: MapServer C Library Version: 5.0
Severity: normal Keywords:
Cc: thomas.bonfort@…

Description

Ticket #1800 (and MS-RFC-29) added support for dynamic production of pie and bar charts on maps. However the initial implementation works only for polygon layers.

This bug is to track the addition of support for charts on point and line layers as well.

Attachments (1)

ticket2145.diff (5.9 KB ) - added by tbonfort 17 years ago.
patch to enable charts on line and point layers

Download all attachments as: .zip

Change History (5)

by tbonfort, 17 years ago

Attachment: ticket2145.diff added

patch to enable charts on line and point layers

comment:1 by tbonfort, 17 years ago

comment for previous patch:

  • a few changes in mapmygis and mappostgis, calling dont_force instead of force_polygon... don't know why this is for
  • added a check to see if the chart with specified size fits entirely in the image... if not we don't draw the chart for the given shape
  • for line layers, the chart is drawn on the middle segment of the polyline. if this fails, it is then tries to draw on the adjacent segments, etc until all segments have been tried
  • this is an initial patch for pie layers, next patch will include bar ones

comment:2 by dmorissette, 17 years ago

Status: newassigned

I have applied Thomas' patch to support pie charts on line and point layers in r6297.

Keeping ticket open for second patch for bar charts.

comment:3 by tbonfort, 17 years ago

line and point layers for bar charts are supported with patch included in #2159

comment:4 by dmorissette, 17 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r6345. Committed Thomas' patch that adds support for line and point layers for bar charts

Note: See TracTickets for help on using tickets.