pnorman / openstreetmap-cartographic

A port of OpenStreetMap Carto to Mapbox GL for client-side rendering
Other
58 stars 4 forks source link

Current filtering leads to huge gaps in landcover data #5

Closed jeisenbe closed 3 years ago

jeisenbe commented 3 years ago

Many areas of landcover such as landuse=meadow and landuse=farmland are mapped in small parcels, especially in places like the Netherlands (where this data has been imported), but also in places where the traditional landscape consists of many small areas of different agricultural use (like in the Azores).

I expect that generalization might be necessary, since the rendering speed of this style at ~z7/z8 is already quite poor even with the current filtering

Another option would be to render the water and landcover as raster image for lower zoom levels, as done by the fr.openstreetmap.org style currently.

Netherlands rendering in this style:

Screen Shot 2020-11-08 at 09 57 01 Screen Shot 2020-11-08 at 09 57 16

Compared with current Openstreetmap Carto rendering: <img width="617" alt="Screen Shot 2020-11-08 at 09 58 28" src="https://user-images.githubusercontent.com/42757252/98473805-04959180-21aa-11eb-9db2-3986c871ee9d.png”>

Screen Shot 2020-11-08 at 09 58 18

Azores current rendering:

Screen Shot 2020-11-08 at 10 02 39

Compared with OpenStreetMap Carto:

Screen Shot 2020-11-08 at 10 02 51
pnorman commented 3 years ago

I suspect I'm going to have to drop this data at those zooms to proceed with other work

jeisenbe commented 3 years ago

Is it infeasible to use a raster background or another form of preprocessed data as a workaround?

pnorman commented 3 years ago

Dropped the filtering for now. I'll have to revisit later.