Add grade 1 tracks to paved (#1485)

This PR sets `surface=paved` for `highway=track` + `tracktype=grade1` if no other value of `surface` is set.  Roads tagged in this way are [generally paved](https://wiki.openstreetmap.org/wiki/Key:tracktype) and therefore encoding them as a paved road is appropriate.
This commit is contained in:
Brian Sperlongano
2023-01-26 13:24:44 -05:00
committed by GitHub
parent d2c69b0d45
commit 5e9b7c475d
3 changed files with 5 additions and 2 deletions

View File

@@ -368,7 +368,7 @@ FROM (
foot,
horse,
mtb_scale,
surface_value(surface) AS "surface",
surface_value(COALESCE(NULLIF(surface, ''), tracktype)) AS "surface",
hl.z_order
FROM osm_highway_linestring hl
LEFT OUTER JOIN osm_transportation_name_network n ON hl.osm_id = n.osm_id