419 lines
9.7 KiB
JSON
419 lines
9.7 KiB
JSON
{
|
|
"id": "dog",
|
|
"maintainer": "Niels Elgaard Larsen",
|
|
"version": "1",
|
|
"title": {
|
|
"en": "dog POIs",
|
|
"da": "hundesteder"
|
|
},
|
|
"description": {
|
|
"en": "Hundsteder",
|
|
"da": "Hundsteder"
|
|
},
|
|
"icon": "./assets/themes/dog/dog-park.svg",
|
|
"startZoom": 10,
|
|
"startLat": 55,
|
|
"startLon": 12,
|
|
"layers": [
|
|
{
|
|
"id": "dogpark",
|
|
"source": {
|
|
"osmTags": {
|
|
"#": "For a description on which tags are possible, see https://github.com/pietervdvn/MapComplete/blob/develop/Docs/Tags_format.md",
|
|
"or": [
|
|
"leisure=dog_park",
|
|
{
|
|
"and": [
|
|
"leisure=park",
|
|
"dog=unleashed"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"minzoom": 10,
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "a dog park",
|
|
"da": "en hundeskov"
|
|
},
|
|
"tags": [
|
|
"leisure=dog_park"
|
|
],
|
|
"description": {
|
|
"en": "A place for dogs, where they can run unleashed",
|
|
"da": "En hundeskov eller hundegård beregnet til hunde, hvor de kan løbe uden snor"
|
|
}
|
|
}
|
|
],
|
|
"name": {
|
|
"en": "dog parks",
|
|
"da": "hundeskove"
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "dog park",
|
|
"da": "hundeskov"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "name~*",
|
|
"then": {
|
|
"*": "{name}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"mapRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"icon": "./assets/themes/dog/dog-park.svg",
|
|
"iconSize": "40,40,center",
|
|
"label": {
|
|
"mappings": [
|
|
{
|
|
"if": "name~*",
|
|
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"#": "Rendering of a line",
|
|
"color": "#ff0",
|
|
"width": 5
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
{
|
|
"id": "dogpark-fenced",
|
|
"mappings": [
|
|
{
|
|
"if": "barrier=fence",
|
|
"then": {
|
|
"en": "fenced: Yes",
|
|
"da": "indhegnet: Ja"
|
|
}
|
|
},
|
|
{
|
|
"if": "barrier=no",
|
|
"then": {
|
|
"en": "fenced: No",
|
|
"da": "indhegnet: Nej"
|
|
}
|
|
}
|
|
],
|
|
"question": {
|
|
"en": "It this dog park fenced in?",
|
|
"da": "Er denne hundeskov indhegnet?"
|
|
}
|
|
},
|
|
{
|
|
"id": "bin",
|
|
"mappings": [
|
|
{
|
|
"if": "bin=yes",
|
|
"then": {
|
|
"en": "waste bin: Yes",
|
|
"da": "skraldespand: Ja"
|
|
}
|
|
},
|
|
{
|
|
"if": "bin=no",
|
|
"then": {
|
|
"en": "waste bin: No",
|
|
"da": "skraldespand: Nej"
|
|
}
|
|
}
|
|
],
|
|
"question": {
|
|
"en": "Does this dog park have a waste bin?",
|
|
"da": "Har denne hundeskov en skraldespand?"
|
|
}
|
|
},
|
|
{
|
|
"id": "smalldogs",
|
|
"mappings": [
|
|
{
|
|
"if": "small_dog=separate",
|
|
"then": {
|
|
"en": "Have separate area for puppies and small dogs",
|
|
"da": "Har en indhegning til hvalpe og små hunde "
|
|
}
|
|
},
|
|
{
|
|
"if": "small_dog=shared",
|
|
"then": {
|
|
"en": "fenced: No",
|
|
"da": "indhegnet: Nej"
|
|
}
|
|
}
|
|
],
|
|
"question": {
|
|
"en": "Does this dog park have a separate fenced in area for small dogs and puppies?",
|
|
"da": "Har denne hundeskov et separat indhegnet område for små hunde og hvalpe (hvalpegård)?"
|
|
}
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "What is the name of this dog park?",
|
|
"da": "Hvad hedder denne hundeskov?"
|
|
},
|
|
"render": {
|
|
"en": "The name of this dog park is {name}",
|
|
"de": "Denne hundeskov hedder {name}"
|
|
},
|
|
"freeform": {
|
|
"key": "name"
|
|
},
|
|
"id": "Name"
|
|
},
|
|
{
|
|
"id": "dogarea",
|
|
"render": {
|
|
"en": "areal: {_surface:ha} ha",
|
|
"da": "areal: {_surface:ha} ha"
|
|
},
|
|
"condition": "_surface:ha!=0"
|
|
},
|
|
"reviews",
|
|
"images"
|
|
]
|
|
},
|
|
{
|
|
"builtin": "food",
|
|
"override": {
|
|
"id": "dogfoodb",
|
|
"name": {
|
|
"en": "Dog friendly eateries",
|
|
"da": "Hundevenlige madsteder"
|
|
},
|
|
"mapRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"icon": "./assets/themes/dog/dog-food.svg",
|
|
"iconSize": "30,30,center"
|
|
}
|
|
],
|
|
"=presets": [],
|
|
"source": {
|
|
"=osmTags": {
|
|
"and": [
|
|
{
|
|
"or": [
|
|
"amenity=restaurant",
|
|
"amenity=cafe"
|
|
]
|
|
},
|
|
{
|
|
"or": [
|
|
"dog=unleashed",
|
|
"dog=leashed",
|
|
"dog=yes"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"builtin": "shops",
|
|
"id": "dogshop",
|
|
"override": {
|
|
"id": "dogshop",
|
|
"name": {
|
|
"en": "dog-friendly shop",
|
|
"da": "hundevenlig butik"
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "dog-friendly shop",
|
|
"da": "hundevenlig butik"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "name~*",
|
|
"then": {
|
|
"*": "{name}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"mapRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"icon": {
|
|
"render": "./assets/themes/dog/dogshop.svg",
|
|
"mappings": [
|
|
{
|
|
"if": {
|
|
"and": [
|
|
"shop=pet"
|
|
]
|
|
},
|
|
"then": "./assets/themes/dog/petshop.svg"
|
|
}
|
|
]
|
|
},
|
|
"iconSize": "30,30,center"
|
|
},
|
|
{
|
|
"#": "Rendering of a line",
|
|
"color": "#ff0",
|
|
"width": 5
|
|
}
|
|
],
|
|
"presets": [],
|
|
"source": {
|
|
"=osmTags": {
|
|
"and": [
|
|
"shop~*",
|
|
{
|
|
"or": [
|
|
"dog=leashed",
|
|
"dog=yes",
|
|
"shop=pet"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "veterinary",
|
|
"source": {
|
|
"osmTags": {
|
|
"or": [
|
|
"amenity=veterinary"
|
|
]
|
|
}
|
|
},
|
|
"minzoom": 10,
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "a veterianarian",
|
|
"da": "en dyrlæge"
|
|
},
|
|
"tags": [
|
|
"amenity=veterinary",
|
|
"pet=dog"
|
|
],
|
|
"description": {
|
|
"en": "a veterianarian, that treats dogs",
|
|
"da": "En dyrlæge, der behandler hunde"
|
|
}
|
|
}
|
|
],
|
|
"name": {
|
|
"en": "veterinary",
|
|
"da": "dyrlæge"
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Veterinary",
|
|
"da": "dyrlæge"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "name~*",
|
|
"then": {
|
|
"*": "{name}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"mapRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"icon": "./assets/themes/dog/Veterinary-First-Aid.svg",
|
|
"iconSize": "30,30,center",
|
|
"label": {
|
|
"mappings": [
|
|
{
|
|
"if": "name~*",
|
|
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
|
|
}
|
|
]
|
|
},
|
|
"iconBadges": [
|
|
{
|
|
"if": "opening_hours~*",
|
|
"then": "isOpen"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"color": "#ff0",
|
|
"width": 5
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
"website",
|
|
"reviews",
|
|
"phone",
|
|
"opening_hours",
|
|
{
|
|
"question": {
|
|
"en": "What is the name of this veterinarian?",
|
|
"da": "Hvad hedder denne dyrlæ?"
|
|
},
|
|
"render": {
|
|
"en": "The name of this veterinarian is {name}",
|
|
"de": "Denne dyrlæ hedder {name}"
|
|
},
|
|
"freeform": {
|
|
"key": "name"
|
|
},
|
|
"id": "vetName"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"builtin": "food",
|
|
"override": {
|
|
"minzoom": 19,
|
|
"filter": null,
|
|
"name": null
|
|
}
|
|
},
|
|
{
|
|
"builtin": "shops",
|
|
"override": {
|
|
"minzoom": 19,
|
|
"filter": null,
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "dog-friendly shop",
|
|
"da": "EN hundevenlig butik"
|
|
},
|
|
"tags": [
|
|
"dog=yes",
|
|
"shop=yes"
|
|
],
|
|
"description": {
|
|
"en": "A shop whery you can bring a dog almost everywhere",
|
|
"da": "En butik hvor man kan tage en hund med næsten overalt"
|
|
}
|
|
}],
|
|
"name": null
|
|
}
|
|
}
|
|
]
|
|
}
|