Closed bogdanul2003 closed 7 years ago
At first sight it looks to me as if carto outputs for Mapnik 3.x, but you don't have it. Have a look at the -a/--api switch. Which carto version and which Mapnik version are you using?
Ref https://github.com/mapnik/python-mapnik/issues/132
Ok, so its Mapnik 3. Then I don't know. As @talaj wrote the XML seems to be ok. I don't think this is a carto problem.
I have generated a xml style sheet using carto project.mml > mapnik.xml
Whe I run a python script in order to render a pbf file I get an error while it parses the mapnik.xml file:
The error is this: