Add documentation on themes, move some themes around
This commit is contained in:
parent
614987dba7
commit
8cb02da127
88 changed files with 2973 additions and 244 deletions
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"id": "street_lighting_assen",
|
||||
"title": {
|
||||
"nl": "Straatverlichting - Assen"
|
||||
},
|
||||
"description": {
|
||||
"nl": "Op deze kaart vind je alles over straatlantaarns + een dataset van Assen"
|
||||
},
|
||||
"icon": "./assets/layers/street_lamps/street_lamp.svg",
|
||||
"startZoom": 19,
|
||||
"startLat": 52.99319,
|
||||
"startLon": 6.56113,
|
||||
"layers": [
|
||||
"street_lamps",
|
||||
{
|
||||
"id": "assen",
|
||||
"name": "Dataset Assen",
|
||||
"source": {
|
||||
"osmTags": "Lichtmastnummer~*",
|
||||
"#geoJson": "https://opendata.arcgis.com/datasets/ba37cdb372064b3199c548b75d16a609_0.geojson",
|
||||
"geoJson": "https://robinlinde.github.io/tiles/assen_street_lighting/{z}/{x}/{y}.json",
|
||||
"geoJsonZoomLevel": 16,
|
||||
"isOsmCache": false
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_closest_osm_street_lamp=feat.closest('street_lamps')?.properties?.id",
|
||||
"_closest_osm_street_lamp_distance=feat.distanceTo(feat.properties._closest_osm_street_lamp)",
|
||||
"_has_closeby_feature=Number(feat.properties._closest_osm_street_lamp_distance) < 5 ? 'yes' : 'no'"
|
||||
],
|
||||
"title": "Straatlantaarn in dataset",
|
||||
"mapRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"icon": {
|
||||
"render": "circle:red",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "_has_closeby_feature=yes",
|
||||
"then": "circle:#008000aa"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "20,20,center"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"all_tags"
|
||||
]
|
||||
},
|
||||
{
|
||||
"builtin": "maproulette_challenge",
|
||||
"override": {
|
||||
"calculatedTags": [
|
||||
"_closest_osm_street_lamp=feat.closest('street_lamps')?.properties?.id",
|
||||
"_closest_osm_street_lamp_distance=feat.distanceTo(feat.properties._closest_osm_street_lamp)",
|
||||
"_has_closeby_feature=Number(feat.properties._closest_osm_street_lamp_distance) < 5 ? 'yes' : 'no'"
|
||||
],
|
||||
"tagRenderings+": [
|
||||
{
|
||||
"id": "import",
|
||||
"render": "{import_button(street_lamps,tags,Import,./assets/svg/addSmall.svg,,,,photo,mr_taskId)}"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"hideFromOverview": true,
|
||||
"credits": "Robin van der Linde"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue