{
  "id": "dogpark",
  "name": {
    "en": "dog parks",
    "da": "hundeskove",
    "de": "Hundeparks",
    "es": "Parques para perros",
    "nl": "hondenweides",
    "ca": "parcs de gossos",
    "cs": "psí parky",
    "ru": "парки для собак"
  },
  "description": "A layer showing dogparks, which are areas where dog are allowed to run without a leash",
  "source": {
    "osmTags": {
      "or": [
        "leisure=dog_park",
        {
          "and": [
            "leisure=park",
            "dog=unleashed"
          ]
        }
      ]
    }
  },
  "minzoom": 10,
  "title": {
    "render": {
      "en": "dog park",
      "da": "hundeskov",
      "de": "Hundepark",
      "es": "parque canino",
      "nl": "hondenweide",
      "ca": "parc per a gossos",
      "cs": "psí park"
    },
    "mappings": [
      {
        "if": "name~*",
        "then": {
          "*": "{name}"
        }
      }
    ]
  },
  "pointRendering": [
    {
      "location": [
        "point",
        "centroid"
      ],
      "iconSize": "40,40",
      "label": {
        "mappings": [
          {
            "if": "name~*",
            "then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
          }
        ]
      },
      "anchor": "center",
      "marker": [
        {
          "icon": "./assets/layers/dogpark/dog-park.svg"
        }
      ]
    }
  ],
  "lineRendering": [
    {
      "color": "#ff0",
      "width": 5
    }
  ],
  "presets": [
    {
      "title": {
        "en": "a dog park",
        "da": "en hundeskov",
        "de": "Ein Hundepark",
        "es": "un parque para perros",
        "nl": "een hondenweide",
        "ca": "un parc per a gossos",
        "cs": "psí park"
      },
      "tags": [
        "leisure=dog_park"
      ],
      "description": {
        "en": "A place for dogs, where they can run unleashed",
        "da": "En hundeskov eller hundeg&aring;rd beregnet til hunde, hvor de kan l&oslash;be uden snor",
        "de": "Ein Ort ohne Leinenzwang für Hunde",
        "es": "Un lugar para perros, donde pueden correr sin correa",
        "nl": "Een plaats waar honden vrij mogen rondlopen",
        "ca": "Un lloc per a gossos, on poden correr sense corretja",
        "cs": "Místo pro psy, kde mohou volně běhat"
      }
    }
  ],
  "tagRenderings": [
    "images",
    "reviews",
    {
      "question": {
        "en": "What is the name of this dog park?",
        "da": "Hvad hedder denne hundeskov?",
        "de": "Wie lautet der Name dieses Hundeparks?",
        "es": "¿Cuál es el nombre de este parque para perros?",
        "nl": "Wat is de naam van deze hondenweide?",
        "ca": "Com s'anomena aquest parc per a gossos?",
        "cs": "Jak se jmenuje tento psí park?"
      },
      "render": {
        "en": "The name of this dog park is {name}",
        "de": "Denne hundeskov hedder {name}",
        "es": "El nombre de este parque para perros es {name}",
        "nl": "Deze hondenweide heet {name}",
        "ca": "Aquest parc per a gossos s'anomena {name}",
        "cs": "Název tohoto psího parku je {name}"
      },
      "freeform": {
        "key": "name"
      },
      "id": "Name"
    },
    "opening_hours_24_7",
    "website",
    {
      "id": "dogpark-fenced",
      "question": {
        "en": "It this dog park fenced in?",
        "da": "Er denne hundeskov indhegnet?",
        "de": "Ist dieser Hundepark umzäunt?",
        "es": "¿Está vallado este parque para perros?",
        "nl": "Is deze hondenweide volledig omheind?",
        "ca": "Aquest parc de gossos està tancat?",
        "cs": "Je tento psí park oplocený?"
      },
      "mappings": [
        {
          "if": "barrier=fence",
          "then": {
            "en": "This dogpark is fenced all around",
            "da": "Denne hundskov er indhegnet",
            "de": "Dieser Hundepark ist komplett umzäunt",
            "es": "Este parque para perros está vallado por completo",
            "nl": "Deze hondenweide is volledig omheind",
            "ca": "Aquest parc per a gossos està tancat per tot arreu",
            "cs": "Tento psí park je kolem dokola oplocený"
          }
        },
        {
          "if": "barrier=no",
          "then": {
            "en": "This dogpark is not fenced all around",
            "da": "Denne hundskov er ikke indhegnet",
            "de": "Dieser Hundepark ist nicht komplett umzäunt",
            "es": "Este parque para perros no está vallado por completo",
            "nl": "Deze hondenweide is <strong>niet</strong> volledig omheind",
            "ca": "Aquest parc de gossos no està tancat per tot el voltant",
            "cs": "Tento psí park není kolem dokola oplocený"
          }
        }
      ]
    },
    {
      "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&aring; hunde",
            "de": "Hat einen separaten Bereich für Hundewelpen und kleine Hunde",
            "es": "Tiene un área separada para cachorros y perros pequeños",
            "nl": "Heeft gescheiden deel voor puppy's en kleine honden",
            "ca": "Té un espai separat per a cadells i gossos petits",
            "cs": "Má oddělený prostor pro štěňata a malé psy"
          }
        },
        {
          "if": "small_dog=shared",
          "then": {
            "en": "Does <strong>not</strong> have a separate area for puppies and small dogs",
            "da": "Har <strong>ikke</strong> en indhegning til hvalpe og sm&aring; hunde",
            "de": "Hat <strong>keinen</strong> separaten Bereich für Hundewelpen und kleine Hunde",
            "es": "<b>No</b> tiene un área separada para cachorros y perros pequeños",
            "nl": "Heeft <strong>geen</strong> gescheiden deel voor puppy's en kleine honden",
            "ca": "<strong>No</strong> té un espai separat per a cadells i gossos petits",
            "cs": "<strong>Nemá</strong>oddělený prostor pro štěňata a malé psy"
          }
        }
      ],
      "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&aring;de for sm&aring; hunde og hvalpe (hvalpeg&aring;rd)?",
        "de": "Hat der Hundepark einen separaten Bereich für Hundewelpen und kleine Hunde?",
        "es": "¿Tiene este parque canino un área separada y cercada para perros pequeños y cachorros?",
        "nl": "Heeft deze hondenweide een gescheiden en omheind deel voor puppy's en kleine honden?",
        "ca": "Aquest parc per a gossos té una zona tancada per a gossos petits i cadells?",
        "cs": "Má tento psí park samostatný oplocený areál pro malé psy a štěňata?"
      }
    },
    {
      "id": "dogarea",
      "render": {
        "en": "This dogpark is {_surface:ha} ha big",
        "da": "Denne hundeskov er på {_surface:ha} hektar",
        "de": "Der Hundepark ist {_surface:ha} ha groß",
        "es": "Este parque para perros tiene {_surface:ha} ha de superficie",
        "nl": "Deze hondenweide is {_surface:ha} hectaren groot",
        "ca": "Aquest parc per a gossos té {_surface:ha} ha",
        "cs": "Tento psí park je {_surface:ha} ha velký"
      },
      "condition": "_surface:ha!=0"
    }
  ],
  "allowMove": {
    "enableImproveAccuracy": true,
    "enableRelocation": false
  }
}
