artemp/trac2github — Issue #687: Auto-Classifier System
Author: artemp
Created: 2011-10-09 20:47:13+00:00
State: open
Labels: Symbolizers

It would be great if mapnik could dynamically modify a style based on a range of values in the data source.

For example, instead of specifying the various ranges in the XML Getting Started example (http://trac.mapnik.org/wiki/XMLGettingStarted), the style could simply specify the start/end of a range (or Mapnik could automatically guess the range for you), the number of steps, and an optional classifier algorithm. I suppose you would also need a start and end style -- perhaps it would only support color ranges for now, but I could foresee it changing other things like shapes and icons.

I'm thinking this would allow a closer approximation to what QGis has for its classification system without having to manually create the styles.