Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable dynamic charts on point and line layers #2145

Closed
mapserver-bot opened this issue Apr 3, 2012 · 5 comments

Comments

@mapserver-bot
Copy link

commented Apr 3, 2012

Reporter: dmorissette
Date: 2007/07/09 - 15:01
Trac URL: http://trac.osgeo.org/mapserver/ticket/2145
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.

@mapserver-bot

This comment has been minimized.

Copy link
Author

commented Apr 3, 2012

Author: tbonfort
Date: 2007/07/09 - 19:36
comment for previous patch:[[BR]]

  • a few changes in mapmygis and mappostgis, calling dont_force instead of force_polygon... don't know why this is for[[BR]]
  • 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[[BR]]
  • 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[[BR]]
  • this is an initial patch for pie layers, next patch will include bar ones[[BR]]
@mapserver-bot

This comment has been minimized.

Copy link
Author

commented Apr 3, 2012

Author: dmorissette
Date: 2007/07/12 - 17:09
I have applied Thomas' patch to support pie charts on line and point layers in 92d0aba (r6297).

Keeping ticket open for second patch for bar charts.

@mapserver-bot

This comment has been minimized.

Copy link
Author

commented Apr 3, 2012

Author: tbonfort
Date: 2007/07/18 - 13:41
line and point layers for bar charts are supported with patch included in #2159

@mapserver-bot

This comment has been minimized.

Copy link
Author

commented Apr 3, 2012

Author: dmorissette
Date: 2007/07/18 - 21:23
Fixed in b18b542 (r6345). Committed Thomas' patch that adds support for line and point layers for bar charts

@mapserver-bot

This comment has been minimized.

Copy link
Author

commented Apr 5, 2012

attachment http://trac.osgeo.org/mapserver/attachment/ticket/2145/ticket2145.diff :

   patch to enable charts on line and point layers

@ghost ghost assigned dmorissette Apr 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.