Note that it is mapnik < 2.0.2 that requires postgis legacy.sql