{
  "id": "postboxes",
  "name": {
    "en": "Postboxes",
    "de": "Briefkästen",
    "ru": "Почтовые ящики",
    "zh_Hant": "郵筒",
    "id": "Kotak pos",
    "hu": "Postaládák",
    "nl": "Brievenbussen",
    "ca": "Bústies",
    "es": "Buzones",
    "nb_NO": "Postbokser",
    "fr": "Boîtes à lettres",
    "cs": "Poštovní schránky"
  },
  "description": {
    "en": "The layer showing postboxes.",
    "de": "Die Ebene zeigt Briefkästen.",
    "zh_Hant": "這圖層顯示郵筒。",
    "id": "Layer yang memperlihatkan kotak pos.",
    "hu": "Postaládákat megjelenítő réteg.",
    "nl": "Deze laag toont brievenbussen.",
    "es": "La capa que muestra buzones.",
    "fr": "Le calque montrant les boîtes à lettres.",
    "ca": "La capa que mostra bústies de correus.",
    "cs": "Vrstva zobrazující poštovní schránky.",
    "pl": "Warstwa pokazująca skrzynki pocztowe.",
    "it": "Questo livello mostra le buche delle lettere."
  },
  "source": {
    "osmTags": "amenity=post_box"
  },
  "minzoom": 12,
  "title": {
    "render": {
      "en": "Postbox",
      "de": "Briefkasten",
      "ru": "Почтовый ящик",
      "zh_Hant": "郵筒",
      "id": "Kotak pos",
      "hu": "Postaláda",
      "ca": "Bústia",
      "es": "Buzón",
      "nb_NO": "Postboks",
      "fr": "Boîte à lettres",
      "nl": "Brievenbus",
      "cs": "Poštovní schránka"
    }
  },
  "keywords": {
    "en": [
      "post",
      "post box",
      "letter",
      "letterbox"
    ],
    "nl": [
      "brieven",
      "post",
      "brief",
      "brievenbus",
      "pakjes"
    ]
  },
  "pointRendering": [
    {
      "iconSize": {
        "render": "40,40",
        "mappings": [
          {
            "if": "_referencing_ways~*",
            "then": "25,25"
          }
        ]
      },
      "location": [
        "point",
        "centroid"
      ],
      "anchor": {
        "render": "bottom",
        "mappings": [
          {
            "if": "_referencing_ways~*",
            "then": "center"
          }
        ]
      },
      "marker": [
        {
          "icon": {
            "render": "./assets/layers/postboxes/postbox.svg",
            "mappings": [
              {
                "if": "_referencing_ways~*",
                "then": "./assets/layers/postboxes/postbox_wall.svg"
              }
            ]
          }
        }
      ]
    }
  ],
  "lineRendering": [
    {
      "color": "#DADADA",
      "width": "1"
    }
  ],
  "presets": [
    {
      "tags": [
        "amenity=post_box"
      ],
      "title": {
        "en": "a postbox",
        "de": "ein Briefkasten",
        "ru": "почтовый ящик",
        "zh_Hant": "郵筒",
        "id": "kotak pos",
        "hu": "postaláda",
        "nl": "een brievenbus",
        "ca": "una bústia",
        "es": "un buzón",
        "fr": "une boîte à lettres",
        "cs": "poštovní schránka"
      }
    },
    {
      "tags": [
        "amenity=post_box"
      ],
      "title": {
        "en": "a postbox on a wall",
        "nl": "een brievenbus tegen een muur",
        "de": "ein Briefkasten an einer Wand"
      },
      "snapToLayer": [
        "walls_and_buildings"
      ]
    }
  ],
  "tagRenderings": [
    "images",
    {
      "id": "minimap",
      "render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
    },
    {
      "id": "operator",
      "question": {
        "en": "Who operates this postbox?",
        "de": "Wer betreibt diesen Briefkasten?"
      },
      "render": {
        "en": "This postbox is operated by <b>{operator}</b>",
        "de": "Dieser Briefkasten wird von <b>{operator}</b> betrieben"
      },
      "freeform": {
        "key": "operator"
      }
    }
  ],
  "deletion": {
    "softDeletionTags": {
      "and": [
        "amenity=",
        "razed:amenity=post_box"
      ]
    }
  },
  "allowMove": {
    "enableImproveAccuracy": true,
    "enableRelocation": false
  }
}
