Hi all, Just wanted to share a quick hack I built to more easily explore Mapnik stylesheet variations.
Here's a scaled down image of the "MappinPrototype" prototype: http://farm4.static.flickr.com/3095/2801694916_1a051349b4_b.jpg (http://flickr.com/photos/wu_135/2801694916/sizes/l/) On the left, you have an image PNG rendered by Mapnik. On the right, a simple XML editor, and below a "Render!" button. The hack works by shelling out to a pre-compiled C++ binary (although a Python script would do), which re-renders the image when you hit "Render". Here's the source code: http://gist.github.com/7382 -- it's a few dozen lines of code, written in the Shoes "tiny toolkit" system. (Download Shoes here: http://shoooes.net/ -- and if you're curious the image is rendered using USGS state boundaries SHP files and geometry queried from a local PostGIS DB sourced from OpenStreetMap.) ~L
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

