forked from MapComplete/MapComplete
Remove priviliged layers from taginfo project files
This commit is contained in:
parent
d356b5704a
commit
5b1555cb54
41 changed files with 19 additions and 223 deletions
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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<br/><span class='subtle'>E.g. a charging station operated by hotel which is only usable by their guests</span>' 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 <b>key</b> must be requested to access this charging station<br/><span class='subtle'>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</span>' 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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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": []
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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<br/><span class='subtle'>E.g. a charging station operated by hotel which is only usable by their guests</span>' 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 <b>key</b> must be requested to access this charging station<br/><span class='subtle'>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</span>' 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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -74,11 +74,6 @@
|
|||
"key": "vending",
|
||||
"description": "Layer 'Waste Basket' shows with a fixed text, namely 'This waste basket <b>does not</b> 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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue