forked from MapComplete/MapComplete
Merge branch 'develop' into feature/maproulette
This commit is contained in:
commit
41e01c49f8
25 changed files with 1021 additions and 144 deletions
|
|
@ -1,138 +1,144 @@
|
|||
{
|
||||
"id": "doctors",
|
||||
"name": {
|
||||
"en": "doctors"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"or": [
|
||||
"amenity=doctors",
|
||||
"amenity=dentist",
|
||||
"healthcare=physiotherapist"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Doctors Office {name}"
|
||||
"id": "doctors",
|
||||
"name": {
|
||||
"en": "doctors"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "amenity=doctors",
|
||||
"then": "Doctors Office {name}"
|
||||
},
|
||||
{
|
||||
"if": "amenity=dentist",
|
||||
"then": "Dentists office {name}"
|
||||
},
|
||||
{
|
||||
"if": "healthcare=physiotherapist",
|
||||
"then": "Physiotherapists office {name}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minzoom": 13,
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"opening_hours",
|
||||
"phone",
|
||||
"email",
|
||||
"website",
|
||||
{
|
||||
"condition": "amenity=doctors",
|
||||
"id": "specialty",
|
||||
"render": {
|
||||
"en": "This doctor is specialized in {healthcare:speciality}"
|
||||
},
|
||||
"question": {
|
||||
"en": "What is this doctor specialized in?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "healthcare:speciality"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "healthcare:speciality=general",
|
||||
"then": {
|
||||
"en": "This is a general practitioner"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "healthcare:speciality=gynaecology",
|
||||
"then": {
|
||||
"en": "This is a gynaecologist"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "healthcare:speciality=psychiatry",
|
||||
"then": {
|
||||
"en": "This is a psychiatrist"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "healthcare:speciality=paediatrics",
|
||||
"then": {
|
||||
"en": "This is a paediatrician"
|
||||
}
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"or": [
|
||||
"amenity=doctors",
|
||||
"amenity=dentist",
|
||||
"healthcare=physiotherapist"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a doctors office"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=doctors"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "a dentists office"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=dentist"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "a physiotherapists office"
|
||||
},
|
||||
"tags": [
|
||||
"healthcare=physiotherapist"
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "opened-now",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"en": "Opened now"
|
||||
},
|
||||
"osmTags": "_isOpen=yes"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/layers/doctors/doctors.svg",
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Doctors Office {name}"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "amenity=dentist",
|
||||
"then": "circle:white;./assets/layers/doctors/dentist.svg"
|
||||
}
|
||||
{
|
||||
"if": "amenity=doctors",
|
||||
"then": "Doctors Office {name}"
|
||||
},
|
||||
{
|
||||
"if": "amenity=dentist",
|
||||
"then": "Dentists office {name}"
|
||||
},
|
||||
{
|
||||
"if": "healthcare=physiotherapist",
|
||||
"then": "Physiotherapists office {name}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "40,40,center",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minzoom": 13,
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"opening_hours",
|
||||
"phone",
|
||||
"email",
|
||||
"website",
|
||||
{
|
||||
"question": {
|
||||
"en": "What is the name of this doctors place?"
|
||||
},
|
||||
"render": {
|
||||
"en": "This doctors place is called {name}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name"
|
||||
},
|
||||
"id": "name"
|
||||
},
|
||||
{
|
||||
"condition": "amenity=doctors",
|
||||
"id": "specialty",
|
||||
"render": {
|
||||
"en": "This doctor is specialized in {healthcare:speciality}"
|
||||
},
|
||||
"question": {
|
||||
"en": "What is this doctor specialized in?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "healthcare:speciality"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "healthcare:speciality=general",
|
||||
"then": {
|
||||
"en": "This is a general practitioner"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "healthcare:speciality=gynaecology",
|
||||
"then": {
|
||||
"en": "This is a gynaecologist"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "healthcare:speciality=psychiatry",
|
||||
"then": {
|
||||
"en": "This is a psychiatrist"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "healthcare:speciality=paediatrics",
|
||||
"then": {
|
||||
"en": "This is a paediatrician"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a doctors office"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=doctors"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "a dentists office"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=dentist"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "a physiotherapists office"
|
||||
},
|
||||
"tags": [
|
||||
"healthcare=physiotherapist"
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "opened-now",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"en": "Opened now"
|
||||
},
|
||||
"osmTags": "_isOpen=yes"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/layers/doctors/doctors.svg"
|
||||
},
|
||||
"iconSize": "40,40,center",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
[
|
||||
{
|
||||
"path": "dentist.svg",
|
||||
"license": "cc0",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"osmcarto"
|
||||
"OSM Carto"
|
||||
],
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:Dentist-14.svg"
|
||||
|
|
|
|||
77
assets/layers/rainbow_crossings/rainbow_crossings.json
Normal file
77
assets/layers/rainbow_crossings/rainbow_crossings.json
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"id": "rainbow_crossings",
|
||||
"name": {
|
||||
"en": "Crossings with rainbow paintings"
|
||||
},
|
||||
"description": {
|
||||
"en": "Crossings with decorative rainbow paintings"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"highway=crossing"
|
||||
}
|
||||
},
|
||||
"minzoom": 17,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Crossing"
|
||||
}
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a crossing"
|
||||
},
|
||||
"tags": [
|
||||
"highway=crossing"
|
||||
],
|
||||
"description": {
|
||||
"en": "Pedestrian crossing"
|
||||
},
|
||||
"preciseInput": {
|
||||
"preferredBackground": [
|
||||
"photo"
|
||||
],
|
||||
"snapToLayer": "cycleways_and_roads",
|
||||
"maxSnapDistance": 25
|
||||
}
|
||||
},
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "crossing-with-rainbow",
|
||||
"question": {
|
||||
"en": "Does this crossing has rainbow paintings?"
|
||||
},
|
||||
"condition": "highway=crossing",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "crossing:marking=rainbow",
|
||||
"then": {
|
||||
"en": "This crossing has rainbow paintings"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "crossing:marking!=rainbow",
|
||||
"then": {
|
||||
"en": "No rainbow paintings here"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/themes/rainbow_crossings/logo.svg"
|
||||
},
|
||||
"iconSize": "40,40,bottom",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
}
|
||||
],
|
||||
"description": {
|
||||
"en": "A layer showing pedestrian crossings with rainbow paintings"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue