Artem Pavlenko
Artem Pavlenko
@jseppi - looks inconsistent indeed. I'll take a look, thanks.
I'm working to address this issue as part of https://github.com/mapnik/mapnik/pull/4225 Throwing an exception when meaningful image dimensions can't be deduced (e.g `width` and `height` defined using `%` and no `viewBox`...
https://github.com/mapnik/mapnik/pull/4225/commits/654a3c1f9f03a36fc5237c79b4cc87f7d4638319 improved `viewport` logic [WIP] /cc @jseppi @springmeyer
Initial implementation : https://github.com/mapnik/mapnik/tree/svg-viewport ```bash svg2png --scale-factor= 4 --width=25 --height=20 // overwrite "width" and "height" outermost `` element ``` Resulting `png` is 100x80px. I'm still wondering if this logic should...
@Algunenano - good call, I'll take a look, thanks.
@four43 - see https://github.com/mapnik/node-mapnik/pull/912
https://github.com/mapnik/mapnik/issues/3193 @flfeeling2016 ^
@cklein05 - I suspect other objects also have properties that are not reflected in node bindings so lets add as many as reasonable. I'm going to create a separate issue...
/cc @springmeyer @flippmoke
@jonshutt - your syntax looks fine to me ^ I'm not familiar with all `webp` options. This can be mapnik core issue or node-mapnik - I'll find time to debug...