Hi,

I'm interested to know if anyone has developed an approach with Mapnik
to draw layers manually (i.e. using graphics primitives directly)
rather than going through the existing symbolizers. My interests is to
take a map (via a shapefile, or postgis data source) and overlay
structural, in my case non-cartographic/topological, data over top of
it using the coordinate space from the map. I've devised a way to do
this by inserting my markup into a postgis datasource and then
rendering that as a layer. It works but is a bit clunky and doesn't
allow for easy programmatic control of the drawing - it also makes
certain kinds of drawing operations very challenging. In my case I am
drawing arc segments between points with arrowhead caps.

Ideally the next step would be to expose a layer with graphics
primitives through the API (in my case Python). I've looked at the
source already and don't see anything heading in this direction,
however, I'm curious if this is something that people have played
with? I'm going to start hacking on the current 0.51 source to see
investigate the feasibility of this change but would love any guidance
that others may have.

Thanks,
Kevin
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to