From 9544f572e006c4dd5ba78c97bc816b42eb6ee840 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sat, 9 Jun 2018 01:25:10 -0400 Subject: [PATCH] Add icon and fields to pier preset --- data/presets/presets.json | 8 ++++++++ data/presets/presets/man_made/pier.json | 8 ++++++++ data/taginfo.json | 3 ++- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/data/presets/presets.json b/data/presets/presets.json index 7677d2c49..2e23c6204 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -11624,6 +11624,14 @@ "name": "Oil Well" }, "man_made/pier": { + "icon": "iD-highway-footway", + "fields": [ + "name", + "surface", + "lit", + "width", + "access" + ], "geometry": [ "line", "area" diff --git a/data/presets/presets/man_made/pier.json b/data/presets/presets/man_made/pier.json index a9199b7a9..61728228e 100644 --- a/data/presets/presets/man_made/pier.json +++ b/data/presets/presets/man_made/pier.json @@ -1,4 +1,12 @@ { + "icon": "iD-highway-footway", + "fields": [ + "name", + "surface", + "lit", + "width", + "access" + ], "geometry": [ "line", "area" diff --git a/data/taginfo.json b/data/taginfo.json index 9c530fc53..2eca64e2e 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -4998,7 +4998,8 @@ "object_types": [ "way", "area" - ] + ], + "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/iD-sprite/presets/highway-footway.svg?sanitize=true" }, { "key": "man_made",