There are a lot of random (orphaned) unclassified and residential road segments included at zooms 10 and 11 in dense cities. These seem to be "bike" related.
Fix in in 5 parts.
Zoom 10 in London (256px tile size or 512px at 10/511/340 for research):
CASE WHEN hstore(tags)->'network' IN ('icn', 'ncn') THEN 8
WHEN hstore(tags)->'network' IN ('iwn', 'nwn') THEN 9
WHEN hstore(tags)->'network' IN ('rcn') THEN 11
WHEN hstore(tags)->'network' IN ('rwn') THEN 11
WHEN hstore(tags)->'network' IN ('lcn') THEN 12
WHEN hstore(tags)->'network' IN ('lwn') THEN 12
Additionally we should drop more feature properties at zoom 12, too (changing 12 to 13), to allow more feature merging at zoom 11 and 12:
There are a lot of random (orphaned) unclassified and residential road segments included at zooms 10 and 11 in dense cities. These seem to be "bike" related.
Fix in in 5 parts.
Zoom 10 in London (256px tile size or 512px at 10/511/340 for research):
Zoom 11 in London
Zoom 12 in London
Zoom 10 in Paris: (256px tile size):
Zoom 11 in Paris
Zoom 12 in Paris
Part of this stems from https://github.com/tilezen/vector-datasource/issues/1250 and https://github.com/tilezen/vector-datasource/pull/1462, which solved for the rural
unclassified
case where those are actually regional connectors. But in the process too many random tiny urban roads (especially in Europe see London and Paris) were added. That min_zoom of11
should be reverted to12
, those tests updated, and documentation changed.Specifically:
Some of the other roads are bike or walking related, where they get promoted up a zoom or two depending on what type or bicycle or walking relation (international, national, regional, and local) it's a member of, via https://github.com/tilezen/vector-datasource/issues/1172 and https://github.com/tilezen/vector-datasource/pull/1198.
This was done for Walkabout map style at Mapzen, but introduces extra features for a general purpose map. Let's relax those a single zoom, per https://github.com/tilezen/vector-datasource/blob/master/docs/SEMANTIC-VERSIONING.md#minor-version-increments to keep with MINOR version change.
The code to change is:
Specifically:
Additionally we should drop more feature properties at zoom 12, too (changing 12 to 13), to allow more feature merging at zoom 11 and 12:
Finally, we should drop surface tags from minor roads and paths at early zooms:
We do a transform here:
Right after that we should dup the logic for
And apply that to minor roads and paths until zoom 14.
We should drop more properties from all kinds of roads, too:
Something more like: