New answers tagged

2

Things may be different from when you posted this originally. With current Mapnik versions (3.0.10 for example), this should work: <Style name="cities" filter-mode="first"> <Rule> <MarkersSymbolizer width="50" fill="#ff4455" stroke="#881133" allow-overlap="true" ignore-placement="true" /> </Rule> </Style> <Layer ...


1

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> ...



Top 50 recent answers are included