Symbolize Pie Charts
My task at hand is to create a map with pie charts at given points. The pie charts are simple and have 2 categories. I have a point shapefile, but I am wondering if there is any available script to create 2 category pie charts at each point.
Thanks for the help
Bobby
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Tom MacWright on 18 Aug, 2011 07:56 PM
Hey Bobby,
Currently there's not much in terms of premade scripts to do this task - in the past, we've generated many pie charts up-front - with filenames like
pie-20-80.pngfor a pie chart with 20% and 80% distribution. But, yeah, unfortunately this'll still require the manual work.3 Posted by Bobby S on 18 Aug, 2011 08:56 PM
Bummer, well I guess I might try symbolizing the data in other ways as I have way too many points to make a unique png for each city.
Support Staff 4 Posted by Will White on 21 Aug, 2011 01:54 AM
Bobby,
Here's a blog post about how we scripted the creation of SVG pie charts using Inkscape. I'm not sure how dated the material is, but it might lead you to a solution.
http://developmentseed.org/blog/2010/jan/05/adding-pie-charts-map-t...
Will
Support Staff 5 Posted by Tom MacWright on 29 Aug, 2011 08:02 PM
Closing this for now - we'll be working on better symbolizer support in Mapnik upstream, and integrating that into TileMill. Let us know if you run into any problems with your approach.
Tom MacWright closed this discussion on 29 Aug, 2011 08:02 PM.