Closed Klaus-Tockloth closed 6 years ago
@Klaus-Tockloth, did you find any solution? Same problem here.
Seems that functionality does not work, because the maintainers of mapnik decide not to use libxml2 anymore.
Our workaround: Removing all status=off from the xml and use --layers a,b,c instead --add-layers. Working this way, you have to define ANY layer you would like to see. Layers not defined in that list are not processed.
My solution was to add layers by a (programmatic) preprocessing step.
Looks like the explanation is in #28. I'll see what I can do.
It seems that the --add-layers option isn't working in Nik4 1.6.
In the xml file I have this:
But the layer isn't activated with this program call:
PS: Everything works fine if I activate (status="on") the layer direct in the xml file.
Regards Klaus
Edit / additional info: I'm using Mapnik 3.0.9.