Zverik / Nik4

Mapnik to image export
Do What The F*ck You Want To Public License
123 stars 23 forks source link

"status=off" breaks "--fit"-Option since mapnik commit e26570d #28

Closed knowname closed 6 years ago

knowname commented 7 years ago

Since e26570d mapnik does not instanciate layers with "status=off" in the stylefile anymore. This causes Nik4 to break if you try to use the "--fit" options as described in the example of the README:

nik4.py --fit route --add-layers route,stops --ppi 150 -a 6 osm.xml route.png

I suggest to add a "status=initialize" (or "status=load") to the style and update mapnik accordingly.

Zverik commented 6 years ago

Fixed :)

dooley commented 6 years ago

Great! Thanks.