add presets

This commit is contained in:
Niels Elgaard Larsen 2022-04-23 02:49:42 +02:00
parent 7665ad832c
commit fb122a4abc

View file

@ -31,8 +31,22 @@
]
}
},
"#": "The tagrenderings are everything that must be shown and/or asked. Use a full tag-rendering section OR a single string to call a builtin tagrendering (see https://github.com/pietervdvn/MapComplete/blob/develop/Docs/BuiltinQuestions.md)",
"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 unden snor"
}
}
],
"name": {
"en": "dog parks",
"da": "hundeskove"
@ -106,6 +120,43 @@
"da": "Er denne hundeskov indhegnet?"
}
},
{
"id": "smalldogs",
"mappings": [
{
"if": "small_dog=separate",
"then": {
"en": "Have separate area for small dogs and puppies",
"da": "Har en indhegning til små hunde og hvalpe"
}
},
{
"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": {
@ -295,6 +346,22 @@
}
},
"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"
@ -331,8 +398,22 @@
"tagRenderings": [
"website",
"reviews",
"phone"
"phone",
{
"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": "Name"
}
]
}
]
}
}