Ticket #2145 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Enable dynamic charts on point and line layers

Reported by: dmorissette Assigned to: dmorissette
Priority: normal Milestone: 5.0 release
Component: MapServer C Library Version: 5.0
Severity: normal Keywords:
Cc: thomas.bonfort@gmail.com

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

ticket2145.diff (5.9 kB) - added by tbonfort on 07/09/07 13:27:39.
patch to enable charts on line and point layers

Change History

07/09/07 13:27:39 changed by tbonfort

  • attachment ticket2145.diff added.

patch to enable charts on line and point layers

07/09/07 13:36:08 changed by tbonfort

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

07/12/07 11:09:37 changed by dmorissette

  • status changed from new to assigned.

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.

07/18/07 07:41:00 changed by tbonfort

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

07/18/07 15:23:26 changed by dmorissette

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

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