tilezen / vector-datasource

Tilezen vector tile service - OpenStreetMap data in several formats
https://www.nextzen.org/
Other
505 stars 118 forks source link

Separate landcover kinds from landuse layer into new layer #2025

Open nvkelso opened 2 years ago

nvkelso commented 2 years ago

The landuse layer has a mix of landcover and landuse in it now. Let's consider separating many of these kinds into their own layer, when they are more natural and less cultural / urban.

Related to https://github.com/tilezen/vector-datasource/issues/1885 and https://github.com/tilezen/vector-datasource/issues/1905. Basically at low zooms you want generalized globally consistent landcover, but starting at zoom 13 (modify to taste, but there are a few configs) you want specific highly detailed landcover.

WARNING: This is a breaking SemVer change.

These are generic landcover layers to move over (as kind_detail, with new kind in parenthetical):

These are funny line features that should also move over:

These should perhaps stay in the landuse layer, as they all aggregate to urban_area to provide continuity with NE urban_area at low zooms (consider the same kind/kind_detail mapping change as above):

These are very detailed features so would remain in landuse layer:

We also do a fair bit or remapping of landuse values at lower zooms:

So let's set the kind to the remapped value, and the kind_detail to the existing values.

We'll want to migrate some of those over to the new layer.

We perform a landuse_kind intercut, which we may also want to provide as lancover_kind on a new layer? This is expensive.

We also do generalization, which we'd want to apply to the new layer:

We also want to generate label placements the same way as for landuse now:

There are probably a few other transforms we'd want to pickup from the queries.yaml, so have another look.

nvkelso commented 2 years ago

This should be done after #1926 is merged, in dev cycle of 2.0 release.