From 41b9afd5078bab634e306c42b799d60f87349467 Mon Sep 17 00:00:00 2001 From: bkil Date: Sun, 6 Nov 2016 15:09:03 +0100 Subject: [PATCH] data/presets: add construction, height and icon to mast, tower --- data/presets/fields/height.json | 5 +++++ data/presets/fields/tower/construction.json | 6 ++++++ data/presets/fields/{towertype.json => tower/type.json} | 0 data/presets/presets/man_made/mast.json | 6 ++++++ data/presets/presets/man_made/tower.json | 5 ++++- 5 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 data/presets/fields/height.json create mode 100644 data/presets/fields/tower/construction.json rename data/presets/fields/{towertype.json => tower/type.json} (100%) diff --git a/data/presets/fields/height.json b/data/presets/fields/height.json new file mode 100644 index 0000000000..2640c19824 --- /dev/null +++ b/data/presets/fields/height.json @@ -0,0 +1,5 @@ +{ + "key": "height", + "type": "number", + "label": "Height (meters)" +} diff --git a/data/presets/fields/tower/construction.json b/data/presets/fields/tower/construction.json new file mode 100644 index 0000000000..8166ec0148 --- /dev/null +++ b/data/presets/fields/tower/construction.json @@ -0,0 +1,6 @@ +{ + "key": "tower:construction", + "type": "combo", + "label": "Tower construction", + "placeholder": "Guyed, Lattice, Concealed, ..." +} diff --git a/data/presets/fields/towertype.json b/data/presets/fields/tower/type.json similarity index 100% rename from data/presets/fields/towertype.json rename to data/presets/fields/tower/type.json diff --git a/data/presets/presets/man_made/mast.json b/data/presets/presets/man_made/mast.json index 9ce0c49f77..b498ad29b1 100644 --- a/data/presets/presets/man_made/mast.json +++ b/data/presets/presets/man_made/mast.json @@ -1,4 +1,10 @@ { + "icon": "lighthouse", + "fields": [ + "tower/type", + "tower/construction", + "height" + ], "geometry": [ "point" ], diff --git a/data/presets/presets/man_made/tower.json b/data/presets/presets/man_made/tower.json index e2285df23f..f60381e5de 100644 --- a/data/presets/presets/man_made/tower.json +++ b/data/presets/presets/man_made/tower.json @@ -1,6 +1,9 @@ { + "icon": "lighthouse", "fields": [ - "towertype" + "tower/type", + "tower/construction", + "height" ], "geometry": [ "point",