hotosm / HDM-CartoCSS

CartoCSS project focused on the Humanitarian Data Model
Other
139 stars 41 forks source link

Forest Rendering #318

Open Bibi56 opened 4 years ago

Bibi56 commented 4 years ago

Some big forest polygons are split into pieces. We can see subpixel fake borders. https://tile-c.openstreetmap.fr/hot/12/1449/1991.png

jeisenbe commented 4 years ago

Here's a screenshot at https://www.openstreetmap.org/#map=12/4.9940/-52.7759

Screen Shot 2020-07-20 at 14 29 39

Compared with OpenStreetMap Carto style:

Screen Shot 2020-07-20 at 14 29 44

This is unfortunately a know issue of how Mapnik (the rendering application) handles adjacent polygons. It cannot be entirely fixed, but it can be made less visible by adjusting the polygon gamma for polygon fill features, e.g. polygon-gamma: 0.3; (See https://github.com/gravitystorm/openstreetmap-carto/blob/5724017f5b549ba954d9d645c0b2383dd16237d1/style/landcover.mss#L311 for example)