Add surface field for highways

Keep surface field from OSM on highways, generalize it to two values:
"paved" and "unpaved".

This is a fix for #389 and a partial fix for #422.
This commit is contained in:
Phyks (Lucas Verney)
2019-01-06 12:03:37 +01:00
parent bc63a22db0
commit da00063e0d
4 changed files with 45 additions and 21 deletions

View File

@@ -133,6 +133,10 @@ man_made_field: &man_made
z_order_field: &z_order
name: z_order
type: wayzorder
surface_field: &surface
key: surface
name: surface
type: string
tables:
# etldoc: imposm3 -> osm_highway_linestring
@@ -168,6 +172,7 @@ tables:
- *usage
- *public_transport
- *man_made
- *surface
mapping:
highway:
- motorway