From 5b1555cb54686e86d2b933944d12da48ba3b1563 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sat, 12 Mar 2022 16:30:43 +0100 Subject: [PATCH] Remove priviliged layers from taginfo project files --- Docs/TagInfo/mapcomplete_aed.json | 5 ----- Docs/TagInfo/mapcomplete_artwork.json | 5 ----- Docs/TagInfo/mapcomplete_benches.json | 5 ----- Docs/TagInfo/mapcomplete_bicycle_rental.json | 5 ----- Docs/TagInfo/mapcomplete_bicyclelib.json | 5 ----- Docs/TagInfo/mapcomplete_binoculars.json | 5 ----- Docs/TagInfo/mapcomplete_bookcases.json | 5 ----- Docs/TagInfo/mapcomplete_cafes_and_pubs.json | 5 ----- Docs/TagInfo/mapcomplete_campersite.json | 5 ----- .../TagInfo/mapcomplete_charging_stations.json | 10 +++++----- Docs/TagInfo/mapcomplete_climbing.json | 5 ----- Docs/TagInfo/mapcomplete_cycle_infra.json | 5 ----- Docs/TagInfo/mapcomplete_cyclestreets.json | 5 ----- Docs/TagInfo/mapcomplete_cyclofix.json | 5 ----- Docs/TagInfo/mapcomplete_drinking_water.json | 5 ----- Docs/TagInfo/mapcomplete_entrances.json | 5 ----- Docs/TagInfo/mapcomplete_etymology.json | 5 ----- Docs/TagInfo/mapcomplete_facadegardens.json | 5 ----- Docs/TagInfo/mapcomplete_food.json | 5 ----- Docs/TagInfo/mapcomplete_fritures.json | 5 ----- Docs/TagInfo/mapcomplete_ghostbikes.json | 5 ----- Docs/TagInfo/mapcomplete_hackerspaces.json | 5 ----- Docs/TagInfo/mapcomplete_hailhydrant.json | 5 ----- Docs/TagInfo/mapcomplete_maps.json | 5 ----- Docs/TagInfo/mapcomplete_nature.json | 5 ----- Docs/TagInfo/mapcomplete_notes.json | 12 +----------- .../mapcomplete_observation_towers.json | 5 ----- Docs/TagInfo/mapcomplete_openwindpowermap.json | 5 ----- Docs/TagInfo/mapcomplete_parkings.json | 5 ----- Docs/TagInfo/mapcomplete_personal.json | 18 +++++------------- Docs/TagInfo/mapcomplete_playgrounds.json | 5 ----- Docs/TagInfo/mapcomplete_postboxes.json | 5 ----- Docs/TagInfo/mapcomplete_shops.json | 5 ----- Docs/TagInfo/mapcomplete_sport_pitches.json | 5 ----- Docs/TagInfo/mapcomplete_street_lighting.json | 5 ----- Docs/TagInfo/mapcomplete_surveillance.json | 5 ----- Docs/TagInfo/mapcomplete_toilets.json | 5 ----- Docs/TagInfo/mapcomplete_trees.json | 5 ----- Docs/TagInfo/mapcomplete_waste.json | 5 ----- Docs/TagInfo/mapcomplete_waste_basket.json | 5 ----- scripts/generateTaginfoProjectFiles.ts | 17 ++++++++--------- 41 files changed, 19 insertions(+), 223 deletions(-) diff --git a/Docs/TagInfo/mapcomplete_aed.json b/Docs/TagInfo/mapcomplete_aed.json index cede399932..c8c6ea0029 100644 --- a/Docs/TagInfo/mapcomplete_aed.json +++ b/Docs/TagInfo/mapcomplete_aed.json @@ -172,11 +172,6 @@ { "key": "fixme", "description": "Layer 'Defibrillators' shows and asks freeform values for key 'fixme' (in the MapComplete.osm.be theme 'Open AED Map')" - }, - { - "key": "id", - "description": "The MapComplete theme Open AED Map has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_artwork.json b/Docs/TagInfo/mapcomplete_artwork.json index 47ac66d834..307e32e7b7 100644 --- a/Docs/TagInfo/mapcomplete_artwork.json +++ b/Docs/TagInfo/mapcomplete_artwork.json @@ -106,11 +106,6 @@ { "key": "wikidata", "description": "Layer 'Artworks' shows and asks freeform values for key 'wikidata' (in the MapComplete.osm.be theme 'Open Artwork Map')" - }, - { - "key": "id", - "description": "The MapComplete theme Open Artwork Map has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_benches.json b/Docs/TagInfo/mapcomplete_benches.json index 484abe6434..ae5f6f57c6 100644 --- a/Docs/TagInfo/mapcomplete_benches.json +++ b/Docs/TagInfo/mapcomplete_benches.json @@ -215,11 +215,6 @@ "key": "material", "description": "Layer 'Picnic tables' shows material=concrete with a fixed text, namely 'This is a concrete picnic table' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Benches')", "value": "concrete" - }, - { - "key": "id", - "description": "The MapComplete theme Benches has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_bicycle_rental.json b/Docs/TagInfo/mapcomplete_bicycle_rental.json index 6374d0914c..5cf1d3234c 100644 --- a/Docs/TagInfo/mapcomplete_bicycle_rental.json +++ b/Docs/TagInfo/mapcomplete_bicycle_rental.json @@ -178,11 +178,6 @@ { "key": "capacity:bicycle_pannier", "description": "Layer 'Bicycle rental' shows and asks freeform values for key 'capacity:bicycle_pannier' (in the MapComplete.osm.be theme 'Bicycle rental')" - }, - { - "key": "id", - "description": "The MapComplete theme Bicycle rental has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_bicyclelib.json b/Docs/TagInfo/mapcomplete_bicyclelib.json index 7da19e1fa0..9824808cbd 100644 --- a/Docs/TagInfo/mapcomplete_bicyclelib.json +++ b/Docs/TagInfo/mapcomplete_bicyclelib.json @@ -105,11 +105,6 @@ { "key": "description", "description": "Layer 'Bicycle library' shows and asks freeform values for key 'description' (in the MapComplete.osm.be theme 'Bicycle libraries')" - }, - { - "key": "id", - "description": "The MapComplete theme Bicycle libraries has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_binoculars.json b/Docs/TagInfo/mapcomplete_binoculars.json index f59c30a1fd..74ba3b57da 100644 --- a/Docs/TagInfo/mapcomplete_binoculars.json +++ b/Docs/TagInfo/mapcomplete_binoculars.json @@ -48,11 +48,6 @@ { "key": "direction", "description": "Layer 'Binoculars' shows and asks freeform values for key 'direction' (in the MapComplete.osm.be theme 'Binoculars')" - }, - { - "key": "id", - "description": "The MapComplete theme Binoculars has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_bookcases.json b/Docs/TagInfo/mapcomplete_bookcases.json index 8f96b076ba..7cf1a5cc1c 100644 --- a/Docs/TagInfo/mapcomplete_bookcases.json +++ b/Docs/TagInfo/mapcomplete_bookcases.json @@ -143,11 +143,6 @@ { "key": "website", "description": "Layer 'Bookcases' shows and asks freeform values for key 'website' (in the MapComplete.osm.be theme 'Open Bookcase Map')" - }, - { - "key": "id", - "description": "The MapComplete theme Open Bookcase Map has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_cafes_and_pubs.json b/Docs/TagInfo/mapcomplete_cafes_and_pubs.json index 99c77f2208..26d78bf69e 100644 --- a/Docs/TagInfo/mapcomplete_cafes_and_pubs.json +++ b/Docs/TagInfo/mapcomplete_cafes_and_pubs.json @@ -172,11 +172,6 @@ "key": "dog", "description": "Layer 'Cafés and pubs' shows dog=unleashed with a fixed text, namely 'Dogs are allowed and can run around freely' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Cafés and pubs')", "value": "unleashed" - }, - { - "key": "id", - "description": "The MapComplete theme Cafés and pubs has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_campersite.json b/Docs/TagInfo/mapcomplete_campersite.json index 0c2ed63afd..7ede90cc86 100644 --- a/Docs/TagInfo/mapcomplete_campersite.json +++ b/Docs/TagInfo/mapcomplete_campersite.json @@ -252,11 +252,6 @@ "key": "power_supply", "description": "Layer 'Sanitary dump stations' shows power_supply=no with a fixed text, namely 'This place does not have power supply' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Campersites')", "value": "no" - }, - { - "key": "id", - "description": "The MapComplete theme Campersites has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_charging_stations.json b/Docs/TagInfo/mapcomplete_charging_stations.json index 3b58ba2740..d7003a57cd 100644 --- a/Docs/TagInfo/mapcomplete_charging_stations.json +++ b/Docs/TagInfo/mapcomplete_charging_stations.json @@ -95,6 +95,11 @@ "description": "Layer 'Charging stations' shows access=customers with a fixed text, namely 'Only customers of the place this station belongs to can use this charging station
E.g. a charging station operated by hotel which is only usable by their guests' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Charging stations')", "value": "customers" }, + { + "key": "access", + "description": "Layer 'Charging stations' shows access=key with a fixed text, namely 'A key must be requested to access this charging station
E.g. a charging station operated by hotel which is only usable by their guests, which receive a key from the reception to unlock the charging station' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Charging stations')", + "value": "key" + }, { "key": "access", "description": "Layer 'Charging stations' shows access=private with a fixed text, namely 'Not accessible to the general public (e.g. only accessible to the owners, employees, ...)' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Charging stations')", @@ -1262,11 +1267,6 @@ "key": "parking:fee", "description": "Layer 'Charging stations' shows parking:fee=yes with a fixed text, namely 'An additional parking fee should be paid while charging' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Charging stations')", "value": "yes" - }, - { - "key": "id", - "description": "The MapComplete theme Charging stations has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_climbing.json b/Docs/TagInfo/mapcomplete_climbing.json index 1bccf0e5a9..1317f71710 100644 --- a/Docs/TagInfo/mapcomplete_climbing.json +++ b/Docs/TagInfo/mapcomplete_climbing.json @@ -882,11 +882,6 @@ { "key": "climbing:speed", "description": "Layer 'Climbing opportunities?' shows climbing:speed~^..*$ with a fixed text, namely 'There are {climbing:speed} speed climbing walls' (in the MapComplete.osm.be theme 'Open Climbing Map')" - }, - { - "key": "id", - "description": "The MapComplete theme Open Climbing Map has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_cycle_infra.json b/Docs/TagInfo/mapcomplete_cycle_infra.json index 6bdfb59183..bed210b0ae 100644 --- a/Docs/TagInfo/mapcomplete_cycle_infra.json +++ b/Docs/TagInfo/mapcomplete_cycle_infra.json @@ -718,11 +718,6 @@ "key": "red_turn:straight:bicycle", "description": "Layer 'Crossings' shows red_turn:straight:bicycle=no with a fixed text, namely 'A cyclist can not go straight on if the light is red' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Bicycle infrastructure')", "value": "no" - }, - { - "key": "id", - "description": "The MapComplete theme Bicycle infrastructure has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_cyclestreets.json b/Docs/TagInfo/mapcomplete_cyclestreets.json index 998ff21590..2080ef76c8 100644 --- a/Docs/TagInfo/mapcomplete_cyclestreets.json +++ b/Docs/TagInfo/mapcomplete_cyclestreets.json @@ -259,11 +259,6 @@ { "key": "cyclestreet:start_date", "description": "Layer 'All streets' shows and asks freeform values for key 'cyclestreet:start_date' (in the MapComplete.osm.be theme 'Cyclestreets')" - }, - { - "key": "id", - "description": "The MapComplete theme Cyclestreets has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_cyclofix.json b/Docs/TagInfo/mapcomplete_cyclofix.json index bb361b7773..f75f6bb500 100644 --- a/Docs/TagInfo/mapcomplete_cyclofix.json +++ b/Docs/TagInfo/mapcomplete_cyclofix.json @@ -1083,11 +1083,6 @@ { "key": "capacity:cargo_bike", "description": "Layer 'Bike parking' shows and asks freeform values for key 'capacity:cargo_bike' (in the MapComplete.osm.be theme 'Cyclofix - an open map for cyclists')" - }, - { - "key": "id", - "description": "The MapComplete theme Cyclofix - an open map for cyclists has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_drinking_water.json b/Docs/TagInfo/mapcomplete_drinking_water.json index 538f7c6e30..df7485549b 100644 --- a/Docs/TagInfo/mapcomplete_drinking_water.json +++ b/Docs/TagInfo/mapcomplete_drinking_water.json @@ -59,11 +59,6 @@ "key": "bottle", "description": "Layer 'Drinking water' shows bottle=no with a fixed text, namely 'Water bottles may not fit' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Drinking Water')", "value": "no" - }, - { - "key": "id", - "description": "The MapComplete theme Drinking Water has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_entrances.json b/Docs/TagInfo/mapcomplete_entrances.json index 8facb3e734..d9962fafd3 100644 --- a/Docs/TagInfo/mapcomplete_entrances.json +++ b/Docs/TagInfo/mapcomplete_entrances.json @@ -218,11 +218,6 @@ { "key": "width", "description": "Layer 'Entrance' shows and asks freeform values for key 'width' (in the MapComplete.osm.be theme 'Entrances')" - }, - { - "key": "id", - "description": "The MapComplete theme Entrances has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_etymology.json b/Docs/TagInfo/mapcomplete_etymology.json index 012d17ceac..c6e24af667 100644 --- a/Docs/TagInfo/mapcomplete_etymology.json +++ b/Docs/TagInfo/mapcomplete_etymology.json @@ -514,11 +514,6 @@ { "key": "wikipedia", "description": "The layer 'Sport places without etymology information allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary" - }, - { - "key": "id", - "description": "The MapComplete theme Open Etymology Map has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_facadegardens.json b/Docs/TagInfo/mapcomplete_facadegardens.json index c50650aa79..a110d6c78c 100644 --- a/Docs/TagInfo/mapcomplete_facadegardens.json +++ b/Docs/TagInfo/mapcomplete_facadegardens.json @@ -102,11 +102,6 @@ { "key": "description", "description": "Layer 'Facade gardens' shows and asks freeform values for key 'description' (in the MapComplete.osm.be theme 'Facade gardens')" - }, - { - "key": "id", - "description": "The MapComplete theme Facade gardens has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_food.json b/Docs/TagInfo/mapcomplete_food.json index 82d42b060c..57bbd49485 100644 --- a/Docs/TagInfo/mapcomplete_food.json +++ b/Docs/TagInfo/mapcomplete_food.json @@ -356,11 +356,6 @@ "key": "dog", "description": "Layer 'Restaurants and fast food' shows dog=unleashed with a fixed text, namely 'Dogs are allowed and can run around freely' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Restaurants and fast food')", "value": "unleashed" - }, - { - "key": "id", - "description": "The MapComplete theme Restaurants and fast food has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_fritures.json b/Docs/TagInfo/mapcomplete_fritures.json index 7a75133f16..aebca213ff 100644 --- a/Docs/TagInfo/mapcomplete_fritures.json +++ b/Docs/TagInfo/mapcomplete_fritures.json @@ -361,11 +361,6 @@ "key": "dog", "description": "Layer 'Fries shop' shows dog=unleashed with a fixed text, namely 'Dogs are allowed and can run around freely' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Fries shops')", "value": "unleashed" - }, - { - "key": "id", - "description": "The MapComplete theme Fries shops has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_ghostbikes.json b/Docs/TagInfo/mapcomplete_ghostbikes.json index 928a081a5b..042bf718f6 100644 --- a/Docs/TagInfo/mapcomplete_ghostbikes.json +++ b/Docs/TagInfo/mapcomplete_ghostbikes.json @@ -51,11 +51,6 @@ { "key": "start_date", "description": "Layer 'Ghost bikes' shows and asks freeform values for key 'start_date' (in the MapComplete.osm.be theme 'Ghost bikes')" - }, - { - "key": "id", - "description": "The MapComplete theme Ghost bikes has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_hackerspaces.json b/Docs/TagInfo/mapcomplete_hackerspaces.json index d87813d3de..f10096e894 100644 --- a/Docs/TagInfo/mapcomplete_hackerspaces.json +++ b/Docs/TagInfo/mapcomplete_hackerspaces.json @@ -95,11 +95,6 @@ { "key": "start_date", "description": "Layer 'Hackerspace' shows and asks freeform values for key 'start_date' (in the MapComplete.osm.be theme 'Hackerspaces')" - }, - { - "key": "id", - "description": "The MapComplete theme Hackerspaces has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_hailhydrant.json b/Docs/TagInfo/mapcomplete_hailhydrant.json index d89258cab3..65f073a2fd 100644 --- a/Docs/TagInfo/mapcomplete_hailhydrant.json +++ b/Docs/TagInfo/mapcomplete_hailhydrant.json @@ -270,11 +270,6 @@ { "key": "wikipedia", "description": "The layer 'Map of ambulance stations allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary" - }, - { - "key": "id", - "description": "The MapComplete theme Hydrants, Extinguishers, Fire stations, and Ambulance stations. has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_maps.json b/Docs/TagInfo/mapcomplete_maps.json index 3a220afb83..42dd76c13f 100644 --- a/Docs/TagInfo/mapcomplete_maps.json +++ b/Docs/TagInfo/mapcomplete_maps.json @@ -74,11 +74,6 @@ "key": "map_source:attribution", "description": "Layer 'Maps' shows map_source:attribution=no with a fixed text, namely 'There is no attribution at all' (in the MapComplete.osm.be theme 'A map of maps')", "value": "no" - }, - { - "key": "id", - "description": "The MapComplete theme A map of maps has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_nature.json b/Docs/TagInfo/mapcomplete_nature.json index 22ac851fb0..c837081702 100644 --- a/Docs/TagInfo/mapcomplete_nature.json +++ b/Docs/TagInfo/mapcomplete_nature.json @@ -790,11 +790,6 @@ { "key": "description", "description": "Layer 'Toilets' shows and asks freeform values for key 'description' (in the MapComplete.osm.be theme 'Into nature')" - }, - { - "key": "id", - "description": "The MapComplete theme Into nature has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_notes.json b/Docs/TagInfo/mapcomplete_notes.json index 194c65c341..f9874de7e1 100644 --- a/Docs/TagInfo/mapcomplete_notes.json +++ b/Docs/TagInfo/mapcomplete_notes.json @@ -9,15 +9,5 @@ "contact_name": "Pieter Vander Vennet, MapComplete", "contact_email": "pietervdvn@posteo.net" }, - "tags": [ - { - "key": "id", - "description": "The MapComplete theme Notes on OpenStreetMap has a layer OpenStreetMap notes showing features with this tag" - }, - { - "key": "id", - "description": "The MapComplete theme Notes on OpenStreetMap has a layer Your travelled track showing features with this tag", - "value": "location_track" - } - ] + "tags": [] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_observation_towers.json b/Docs/TagInfo/mapcomplete_observation_towers.json index 1e8766dd56..e41ab821dc 100644 --- a/Docs/TagInfo/mapcomplete_observation_towers.json +++ b/Docs/TagInfo/mapcomplete_observation_towers.json @@ -132,11 +132,6 @@ "key": "wikidata", "description": "Layer 'Observation towers' shows with a fixed text, namely 'No Wikipedia page has been linked yet' (in the MapComplete.osm.be theme 'Observation towers') Picking this answer will delete the key wikidata.", "value": "" - }, - { - "key": "id", - "description": "The MapComplete theme Observation towers has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_openwindpowermap.json b/Docs/TagInfo/mapcomplete_openwindpowermap.json index 83ecc311ad..c5fe704c9a 100644 --- a/Docs/TagInfo/mapcomplete_openwindpowermap.json +++ b/Docs/TagInfo/mapcomplete_openwindpowermap.json @@ -50,11 +50,6 @@ { "key": "wikipedia", "description": "The layer 'wind turbine allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary" - }, - { - "key": "id", - "description": "The MapComplete theme OpenWindPowerMap has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_parkings.json b/Docs/TagInfo/mapcomplete_parkings.json index 0e52361f0e..d9058dff61 100644 --- a/Docs/TagInfo/mapcomplete_parkings.json +++ b/Docs/TagInfo/mapcomplete_parkings.json @@ -30,11 +30,6 @@ { "key": "wikipedia", "description": "The layer 'Parking allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary" - }, - { - "key": "id", - "description": "The MapComplete theme Parking has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_personal.json b/Docs/TagInfo/mapcomplete_personal.json index a0be110714..ca94314370 100644 --- a/Docs/TagInfo/mapcomplete_personal.json +++ b/Docs/TagInfo/mapcomplete_personal.json @@ -2065,6 +2065,11 @@ "description": "Layer 'Charging stations' shows access=customers with a fixed text, namely 'Only customers of the place this station belongs to can use this charging station
E.g. a charging station operated by hotel which is only usable by their guests' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Personal theme')", "value": "customers" }, + { + "key": "access", + "description": "Layer 'Charging stations' shows access=key with a fixed text, namely 'A key must be requested to access this charging station
E.g. a charging station operated by hotel which is only usable by their guests, which receive a key from the reception to unlock the charging station' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Personal theme')", + "value": "key" + }, { "key": "access", "description": "Layer 'Charging stations' shows access=private with a fixed text, namely 'Not accessible to the general public (e.g. only accessible to the owners, employees, ...)' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Personal theme')", @@ -3233,10 +3238,6 @@ "description": "Layer 'Charging stations' shows parking:fee=yes with a fixed text, namely 'An additional parking fee should be paid while charging' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Personal theme')", "value": "yes" }, - { - "key": "HUISNR", - "description": "The MapComplete theme Personal theme has a layer CRAB-addressen showing features with this tag" - }, { "key": "highway", "description": "The MapComplete theme Personal theme has a layer Crossings showing features with this tag", @@ -5203,10 +5204,6 @@ "description": "Layer 'Nature reserve' shows with a fixed text, namely 'No Wikipedia page has been linked yet' (in the MapComplete.osm.be theme 'Personal theme') Picking this answer will delete the key wikidata.", "value": "" }, - { - "key": "id", - "description": "The MapComplete theme Personal theme has a layer Possible bookcases showing features with this tag" - }, { "key": "tower:type", "description": "The MapComplete theme Personal theme has a layer Observation towers showing features with this tag", @@ -7330,11 +7327,6 @@ { "key": "operator", "description": "Layer 'Watermill' shows operator~^(n|N)atuurpunt.*$ with a fixed text, namely 'Dit gebied wordt beheerd door {operator}' (in the MapComplete.osm.be theme 'Personal theme')" - }, - { - "key": "id", - "description": "The MapComplete theme Personal theme has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_playgrounds.json b/Docs/TagInfo/mapcomplete_playgrounds.json index 7571ff96bd..6e288a9308 100644 --- a/Docs/TagInfo/mapcomplete_playgrounds.json +++ b/Docs/TagInfo/mapcomplete_playgrounds.json @@ -153,11 +153,6 @@ "key": "opening_hours", "description": "Layer 'Playgrounds' shows opening_hours=24/7 with a fixed text, namely 'Always accessible' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Playgrounds')", "value": "24/7" - }, - { - "key": "id", - "description": "The MapComplete theme Playgrounds has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_postboxes.json b/Docs/TagInfo/mapcomplete_postboxes.json index 5a377c28aa..dfa98291ab 100644 --- a/Docs/TagInfo/mapcomplete_postboxes.json +++ b/Docs/TagInfo/mapcomplete_postboxes.json @@ -60,11 +60,6 @@ "key": "opening_hours", "description": "Layer 'Post offices' shows opening_hours=24/7 with a fixed text, namely '24/7 opened (including holidays)' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Postbox and Post Office Map')", "value": "24/7" - }, - { - "key": "id", - "description": "The MapComplete theme Postbox and Post Office Map has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_shops.json b/Docs/TagInfo/mapcomplete_shops.json index a0f96ea50e..aa0fd7a712 100644 --- a/Docs/TagInfo/mapcomplete_shops.json +++ b/Docs/TagInfo/mapcomplete_shops.json @@ -98,11 +98,6 @@ "key": "payment:cards", "description": "Layer 'Shop' shows payment:cards=yes with a fixed text, namely 'Payment cards are accepted here' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Open Shop Map')", "value": "yes" - }, - { - "key": "id", - "description": "The MapComplete theme Open Shop Map has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_sport_pitches.json b/Docs/TagInfo/mapcomplete_sport_pitches.json index 0f4e6209d9..27bf8e5954 100644 --- a/Docs/TagInfo/mapcomplete_sport_pitches.json +++ b/Docs/TagInfo/mapcomplete_sport_pitches.json @@ -155,11 +155,6 @@ "key": "opening_hours", "description": "Layer 'Sport pitches' shows opening_hours=24/7 with a fixed text, namely 'Always accessible' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Sport pitches')", "value": "24/7" - }, - { - "key": "id", - "description": "The MapComplete theme Sport pitches has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_street_lighting.json b/Docs/TagInfo/mapcomplete_street_lighting.json index 4051bc241e..9a3a67e87b 100644 --- a/Docs/TagInfo/mapcomplete_street_lighting.json +++ b/Docs/TagInfo/mapcomplete_street_lighting.json @@ -220,11 +220,6 @@ "key": "lit", "description": "Layer 'All streets' shows lit=24/7 with a fixed text, namely 'This street is lit 24/7' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Street Lighting')", "value": "24/7" - }, - { - "key": "id", - "description": "The MapComplete theme Street Lighting has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_surveillance.json b/Docs/TagInfo/mapcomplete_surveillance.json index 18f7d02f41..5b4195dc58 100644 --- a/Docs/TagInfo/mapcomplete_surveillance.json +++ b/Docs/TagInfo/mapcomplete_surveillance.json @@ -172,11 +172,6 @@ "key": "camera:mount", "description": "Layer 'Surveillance camera's' shows camera:mount=ceiling with a fixed text, namely 'This camera is placed on the ceiling' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Surveillance under Surveillance')", "value": "ceiling" - }, - { - "key": "id", - "description": "The MapComplete theme Surveillance under Surveillance has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_toilets.json b/Docs/TagInfo/mapcomplete_toilets.json index f58006c2c4..22ba1c9797 100644 --- a/Docs/TagInfo/mapcomplete_toilets.json +++ b/Docs/TagInfo/mapcomplete_toilets.json @@ -209,11 +209,6 @@ { "key": "description", "description": "Layer 'Toilets' shows and asks freeform values for key 'description' (in the MapComplete.osm.be theme 'Open Toilet Map')" - }, - { - "key": "id", - "description": "The MapComplete theme Open Toilet Map has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_trees.json b/Docs/TagInfo/mapcomplete_trees.json index 9cfed06b6d..6f87425996 100644 --- a/Docs/TagInfo/mapcomplete_trees.json +++ b/Docs/TagInfo/mapcomplete_trees.json @@ -165,11 +165,6 @@ { "key": "wikidata", "description": "Layer 'Tree' shows and asks freeform values for key 'wikidata' (in the MapComplete.osm.be theme 'Trees')" - }, - { - "key": "id", - "description": "The MapComplete theme Trees has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_waste.json b/Docs/TagInfo/mapcomplete_waste.json index b3986d9637..796f937fb3 100644 --- a/Docs/TagInfo/mapcomplete_waste.json +++ b/Docs/TagInfo/mapcomplete_waste.json @@ -310,11 +310,6 @@ "key": "location", "description": "Layer 'Waste Disposal Bins' shows with a fixed text, namely 'This container is located outdoors' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Waste') Picking this answer will delete the key location.", "value": "" - }, - { - "key": "id", - "description": "The MapComplete theme Waste has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/Docs/TagInfo/mapcomplete_waste_basket.json b/Docs/TagInfo/mapcomplete_waste_basket.json index 4960e17a38..c5d97b2d7d 100644 --- a/Docs/TagInfo/mapcomplete_waste_basket.json +++ b/Docs/TagInfo/mapcomplete_waste_basket.json @@ -74,11 +74,6 @@ "key": "vending", "description": "Layer 'Waste Basket' shows with a fixed text, namely 'This waste basket does not have a dispenser for (dog) excrement bags' (in the MapComplete.osm.be theme 'Waste Basket') Picking this answer will delete the key vending.", "value": "" - }, - { - "key": "id", - "description": "The MapComplete theme Waste Basket has a layer Your travelled track showing features with this tag", - "value": "location_track" } ] } \ No newline at end of file diff --git a/scripts/generateTaginfoProjectFiles.ts b/scripts/generateTaginfoProjectFiles.ts index 2b2f2ef6b7..55a33268ee 100644 --- a/scripts/generateTaginfoProjectFiles.ts +++ b/scripts/generateTaginfoProjectFiles.ts @@ -4,6 +4,7 @@ import {Translation} from "../UI/i18n/Translation"; import {readFileSync, writeFileSync} from "fs"; import LayoutConfig from "../Models/ThemeConfig/LayoutConfig"; import LayerConfig from "../Models/ThemeConfig/LayerConfig"; +import Constants from "../Models/Constants"; /** * Generates all the files in "Docs/TagInfo". These are picked up by the taginfo project, showing a link to the mapcomplete theme if the key is used @@ -109,6 +110,12 @@ function generateLayerUsage(layer: LayerConfig, layout: LayoutConfig): any [] { function generateTagInfoEntry(layout: LayoutConfig): any { const usedTags = [] for (const layer of layout.layers) { + if(Constants.priviliged_layers.indexOf(layer.id) >= 0){ + continue + } + if(layer.source.geojsonSource !== undefined && layer.source.isOsmCacheLayer !== true){ + continue + } usedTags.push(...generateLayerUsage(layer, layout)) } @@ -117,19 +124,11 @@ function generateTagInfoEntry(layout: LayoutConfig): any { if (icon.startsWith("./")) { icon = icon.substring(2) } - /* - const t = new Date(); - const generationTime = t.getUTCFullYear() + Utils.TwoDigits(t.getUTCMonth()) + Utils.TwoDigits(t.getUTCDate()) + "T" + Utils.TwoDigits(t.getUTCHours()) + Utils.TwoDigits(t.getUTCMinutes()) + Utils.TwoDigits(t.getSeconds()) + "Z" - */ const themeInfo = { // data format version, currently always 1, will get updated if there are incompatible changes to the format (required) "data_format": 1, - - // "data_url": "...", # this should be the URL under which this project file can be accessed (optional) - // timestamp when project file was updated (optional, will use HTTP header date if not available) - // Not marked as not to pollute the github history - //"data_updated": generationTime, + // timestamp when project file was updated is not given as it pollutes the github history "project": { "name": "MapComplete " + layout.title.txt, // name of the project (required) "description": layout.shortDescription.txt, // short description of the project (required)