Water layer river mapping bug fixes (#1182)
This PR is a bugfix for the `water` layer. * `waterway=stream`, `waterway=river`, `waterway=canal`, `waterway=ditch`, and `waterway=drain` are all linear features, not area features. Thus, these objects are being unnecessarily mapped into the `osm_water_polygon` polygon table, and this PR removes these unneeded mappings. * The combination `natural=water` + `water=river` is the most popular tagging for river areas. However, the current mapping causes rivers tagged in this way to be rendered in the vector tiles as a `lake`. This PR adds a check for the `water=river` tag and tags both variants of river areas as `class=river`. `natural=water` + `water=river` river mapping:  `waterway=riverbank` river mapping:  Lake mapping for a `natural=water` (with no other tagging): 
This commit is contained in:
committed by
GitHub
parent
0e17d53f42
commit
d427d58e36
@@ -12,14 +12,18 @@ layer:
|
||||
class:
|
||||
description: |
|
||||
All water polygons from [OpenStreetMapData](http://osmdata.openstreetmap.de/) have the class `ocean`.
|
||||
Water bodies with the [`waterway`](http://wiki.openstreetmap.org/wiki/Key:waterway) tag are classified as `lake`, `dock`, or `river`.
|
||||
Water bodies with the [`waterway=riverbank`](http://wiki.openstreetmap.org/wiki/Tag:waterway=riverbank)
|
||||
or [`water=river`](http://wiki.openstreetmap.org/wiki/Tag:water=river) tag are classified as river. Wet and dry docks
|
||||
tagged [`waterway=dock`](http://wiki.openstreetmap.org/wiki/Tag:waterway=dock) are classified as a `dock`.
|
||||
All other water bodies are classified as `lake`.
|
||||
values:
|
||||
lake:
|
||||
waterway: ['', 'lake']
|
||||
dock:
|
||||
waterway: 'dock'
|
||||
river:
|
||||
water: 'river'
|
||||
waterway: 'riverbank'
|
||||
lake:
|
||||
waterway: ''
|
||||
ocean:
|
||||
intermittent:
|
||||
description: |
|
||||
|
||||
Reference in New Issue
Block a user