In the presentation New Features in Mapnik >= 2.1 by Artem Pavlenko & Dane Springmeyer, SOTM US PDX 2012 available at
http://dbsgeo.com/sotm-pdx/
the authors demonstrate the new capabilities of Mapnik 2.1 by using the Simplification algorithms such as Radial distance, Visvalingam-Whyatt etc
Is there any demo code (python and/or C++) available for this kind of simplification ("Original", "Simplify", "Simplify a bit more", etc.)? How to apply the simplification algorithms on a map?