New answers tagged mapnik
Scale dependent rules need to be applied via min/max scale denominators. https://github.com/mapnik/mapnik/wiki/MinScaleDenominator Converting mapnik scales to map scales requires a conversion. The table below is a good start http://wiki.openstreetmap.org/wiki/MinScaleDenominator My example ended up working with something like below <Rule> ...
While Mapnik's PolygonPatternSymbolizer should support this since Mapnik 3 CartoCSS does not yet support this property on polygon or line patterns. An example for Mapnik XML support can be found here or see the related Mapnik issue. I would suggest opening a feature request at the mapbox/carto repository on GitHub. The mapnik/mapnik-reference repository ...
In Mapnik rendering size is controlled by the scale factor configuration setting. From https://github.com/mapnik/mapnik/wiki/Scale-factor: For example, most Mapnik stylesheets are designed with normal, moderate resolution computer displays in mind. For print graphics or for more modern and high resolution displays like on many mobile devices existing ...
I don't know if you found out what the problem was but in my case it was that the /usr/local/etc/renderd.conf file was wrongfully configurated. That tutorial says to put this: plugins_dir=/usr/lib/mapnik/input but it should be: plugins_dir=/usr/local/lib/mapnik/input local is missing.
What you're encountering is an unfortunate side-effect of a breaking change in 0.4 of tilestrata-mapnik (changelog). When specifying the path to an XML file, use pathname instead of xml. This parameter change was in order to accommodate people specifying XML that's in memory, not on disk. Sorry about that!
Top 50 recent answers are included