From 7a63fe38ea25796437e4f08f8948cff9e2cb6257 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 23 Apr 2020 10:54:21 -0700 Subject: [PATCH] Add derived data --- data/presets.yaml | 5 +++++ data/presets/presets.json | 1 + data/taginfo.json | 1 + dist/locales/en.json | 4 ++++ 4 files changed, 11 insertions(+) diff --git a/data/presets.yaml b/data/presets.yaml index 35897b500..a7de6cb79 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -5201,6 +5201,11 @@ en: name: Path # 'terms: hike,hiking,trackway,trail,walk' terms: '' + highway/path/boardwalk: + # 'highway=path, bridge=boardwalk' + name: Boardwalk + # 'terms: pier,plank walkway,wooden raised foot path' + terms: '' highway/path/informal: # 'highway=path, informal=yes' name: Informal Path diff --git a/data/presets/presets.json b/data/presets/presets.json index d22819ed2..e2d2b2c76 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -535,6 +535,7 @@ "highway/motorway": {"icon": "iD-highway-motorway", "fields": ["name", "ref_road_number", "oneway_yes", "maxspeed", "lanes", "surface", "structure", "access"], "moreFields": ["charge_toll", "covered", "incline", "junction_line", "lit", "maxheight", "maxweight_bridge", "minspeed", "not/name", "smoothness", "toll", "width"], "geometry": ["line"], "tags": {"highway": "motorway"}, "terms": ["autobahn", "expressway", "freeway", "highway", "interstate", "parkway", "road", "street", "thruway", "turnpike"], "name": "Motorway"}, "highway/passing_place": {"icon": "maki-circle-stroked", "geometry": ["vertex"], "tags": {"highway": "passing_place"}, "terms": ["turnout, pullout"], "name": "Passing Place"}, "highway/path": {"icon": "iD-other-line", "fields": ["name", "surface", "width", "structure", "access", "incline"], "moreFields": ["covered", "dog", "gnis/feature_id", "horse_scale", "informal", "lit", "maxweight_bridge", "mtb/scale", "mtb/scale/imba", "mtb/scale/uphill", "not/name", "ref", "sac_scale", "smoothness", "stroller", "trail_visibility", "wheelchair"], "geometry": ["line"], "terms": ["hike", "hiking", "trackway", "trail", "walk"], "tags": {"highway": "path"}, "name": "Path"}, + "highway/path/boardwalk": {"icon": "temaki-pedestrian", "geometry": ["line"], "tags": {"highway": "path", "bridge": "boardwalk"}, "addTags": {"highway": "path", "bridge": "boardwalk", "surface": "wood"}, "reference": {"key": "bridge", "value": "boardwalk"}, "terms": ["pier", "plank walkway", "wooden raised foot path"], "name": "Boardwalk"}, "highway/path/informal": {"icon": "iD-other-line", "fields": ["surface", "width", "access", "trail_visibility", "smoothness", "incline"], "moreFields": ["covered", "dog", "horse_scale", "informal", "lit", "maxweight_bridge", "mtb/scale", "mtb/scale/imba", "mtb/scale/uphill", "sac_scale", "stroller", "structure", "wheelchair"], "geometry": ["line"], "terms": ["bootleg trail", "cow path", "desire line", "desire path", "desireline", "desirepath", "elephant path", "game trail", "goat track", "herd path", "pig trail", "shortcut", "social trail", "use trail"], "tags": {"highway": "path", "informal": "yes"}, "reference": {"key": "informal"}, "name": "Informal Path"}, "highway/pedestrian_area": {"icon": "temaki-pedestrian", "fields": ["name", "surface", "lit", "width", "structure", "access"], "geometry": ["area"], "tags": {"highway": "pedestrian"}, "terms": ["center", "centre", "plaza", "quad", "square", "walkway"], "name": "Pedestrian Area"}, "highway/pedestrian_line": {"icon": "temaki-pedestrian", "fields": ["name", "surface", "lit", "width", "oneway", "structure", "access"], "moreFields": ["covered", "incline", "maxweight_bridge", "smoothness"], "geometry": ["line"], "tags": {"highway": "pedestrian"}, "terms": ["center", "centre", "plaza", "quad", "square", "walkway"], "name": "Pedestrian Street"}, diff --git a/data/taginfo.json b/data/taginfo.json index d8d0b2753..e86b55f06 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -520,6 +520,7 @@ {"key": "highway", "value": "motorway", "description": "🄿 Motorway", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/highway-motorway.svg"}, {"key": "highway", "value": "passing_place", "description": "🄿 Passing Place", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/circle-stroked-15.svg"}, {"key": "highway", "value": "path", "description": "🄿 Path", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/other-line.svg"}, + {"key": "bridge", "value": "boardwalk", "description": "🄿 Boardwalk", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/pedestrian.svg"}, {"key": "informal", "value": "yes", "description": "🄿 Informal Path", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/other-line.svg"}, {"key": "highway", "value": "pedestrian", "description": "🄿 Pedestrian Area, 🄿 Pedestrian Street", "object_types": ["area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/pedestrian.svg"}, {"key": "highway", "value": "primary_link", "description": "🄿 Primary Link", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/highway-primary-link.svg"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 0a323f5f4..6497ff617 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -7064,6 +7064,10 @@ "name": "Path", "terms": "hike,hiking,trackway,trail,walk" }, + "highway/path/boardwalk": { + "name": "Boardwalk", + "terms": "pier,plank walkway,wooden raised foot path" + }, "highway/path/informal": { "name": "Informal Path", "terms": "bootleg trail,cow path,desire line,desire path,desireline,desirepath,elephant path,game trail,goat track,herd path,pig trail,shortcut,social trail,use trail"