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
@@ -75,6 +75,9 @@ tables:
|
||||
- name: waterway
|
||||
key: waterway
|
||||
type: string
|
||||
- name: water
|
||||
key: water
|
||||
type: string
|
||||
- name: is_intermittent
|
||||
key: intermittent
|
||||
type: bool
|
||||
@@ -95,11 +98,8 @@ tables:
|
||||
- bay
|
||||
- spring
|
||||
waterway:
|
||||
- river
|
||||
- riverbank
|
||||
- stream
|
||||
- canal
|
||||
- drain
|
||||
- ditch
|
||||
- dock
|
||||
water:
|
||||
- river
|
||||
type: polygon
|
||||
|
||||
Reference in New Issue
Block a user