I'm getting this error... "RuntimeError: This map uses features only present in Mapnik version 0.7.1 and newer (in node Map)" What does it mean? I've just run osm2pgsql and it seemed to do it's thing (populate the database, though I'm not sure what the best way to check that is) The error occurs when I run ./generate_image.py By "this map" I presume it means the data which I've just loaded into the DB. So maybe I have a an osm2pgsql<->Mapnik version mismatch. I'm on Mapnik v0.7.0 and osm2pgsql0.66 asked 08 Dec '10, 02:24 Harry Wood TomH ♦♦ |
It has nothing to do with osm2pgsql - this is purely related to the osm.xml stylesheet. Basically the stylesheet maintainers have started using new Mapnik features that are only available in >= Mapnik 0.7.1, and this is an error they intended to be triggered since your Mapnik version is not the latest. If you are not able to upgrade to mapnik 0.7.1 then you can remove the 'minimum_version' item at the top of the <map ...=""> and go on your way - you just may run into other errors or bugs due to lacking functionality in Mapnik 0.7.0 (most likely you will need to add 'width' and 'height' back to all symbolizers that read in png symbols). answered 08 Dec '10, 07:12 springmeyer |