I've came up with a script to render legend/map key pics from parsing a
stylesheet.
The goal here is to create pics that can be used has a legend to the
map, however for useful legends the stylesheet itself will need some
rewrite (especially the roads styles).
The filter and database query parser will then need some extra work to
better extract useful tags from the logical expressions used in the
stylesheet.
The script can be found there, along with an example set of pics for
zoom 18 of the slippy map:
http://dev-yves.dyndns.org/dev/legend2osm_09-06-2010.tar.gz
And an example of use there:
http://dev-yves.dyndns.org/ (take it easy with the map, it's slow upload
here).
Yves
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev