{
  "id": "fietsstraten",
  "version": "2020-08-30",
  "title": {
    "nl": "Fietsstraten",
    "en": "Cyclestreets"
  },
  "shortDescription": {
    "nl": "Een kaart met alle gekende fietsstraten",
    "en": "A map of cyclestreets"
  },
  "description": {
    "nl": "Een fietsstraat is een straat waar <ul><li><b>automobilisten geen fietsers mogen inhalen</b></li><li>Er een maximumsnelheid van <b>30km/u</b> geldt</li><li>Fietsers gemotoriseerde voortuigen links mogen inhalen</li><li>Fietsers nog steeds voorrang aan rechts moeten verlenen - ook aan auto's en voetgangers op het zebrapad</li></ul><br/><br/>Op deze open kaart kan je alle gekende fietsstraten zien en kan je ontbrekende fietsstraten aanduiden. Om de kaart aan te passen, moet je je aanmelden met OpenStreetMap en helemaal inzoomen tot straatniveau.",
    "en": "A cyclestreet is is a street where <b>motorized traffic is not allowed to overtake cyclists</b>. They are signposted by a special traffic sign. Cyclestreets can be found in the Netherlands and Belgium, but also in Germany and France. "
  },
  "icon": "./assets/themes/cyclestreets/F111.svg",
  "language": [
    "nl",
    "en"
  ],
  "startLat": 51.2095,
  "startZoom": 14,
  "startLon": 3.2228,
  "maintainer": "MapComplete",
  "widenfactor": 0.05,
  "roamingRenderings": [
    {
      "question": {
        "nl": "Is deze straat een fietsstraat?",
        "en": "Is this street a cyclestreet?"
      },
      "mappings": [
        {
          "if": {
            "and": [
              "cyclestreet=yes",
              "maxspeed=30",
              "overtaking:motor_vehicle=no",
              "proposed:cyclestreet="
            ]
          },
          "then": {
            "nl": "Deze straat is een fietsstraat (en dus zone 30)",
            "en": "This street is a cyclestreet (and has a maxspeeld of 30km/h)"
          }
        },
        {
          "if": {
            "and": [
              "cyclestreet=yes",
              "proposed:cyclestreet="
            ]
          },
          "then": {
            "nl": "Deze straat is een fietsstraat",
            "en": "This street is a cyclestreet"
          },
          "hideInAnswer": true
        },
        {
          "if": {
            "and": [
              "cyclestreet=",
              "proposed:cyclestreet=yes"
            ]
          },
          "then": {
            "nl": "Deze straat wordt binnenkort een fietsstraat",
            "en": "This street will become a cyclstreet soon"
          }
        },
        {
          "if": {
            "and": [
              "cyclestreet=",
              "proposed:cyclestreet=",
              "overtaking:motor_vehicle="
            ]
          },
          "then": {
            "nl": "Deze straat is geen fietsstraat",
            "en": "This street is not a cyclestreet"
          }
        }
      ]
    },
    {
      "question": {
        "nl": "Wanneer wordt deze straat een fietsstraat?",
        "en": "When will this street become a cyclestreet?"
      },
      "render": {
        "nl": "Deze straat wordt fietsstraat op {cyclestreet:start_date}",
        "en": "This street will become a cyclestreet at {cyclestreet:start_date}"
      },
      "condition": "proposed:cyclestreet=yes",
      "freeform": {
        "type": "date",
        "key": "cyclestreet:start_date"
      }
    }
  ],
  "layers": [
    {
      "id": "fietsstraat",
      "name": {
        "nl": "Fietsstraten",
        "en": "Cyclestreets"
      },
      "minzoom": 7,
      "source": {
        "osmTags": {
          "and": [
            "cyclestreet=yes"
          ]
        }
      },
      "isShown": {
        "render": "yes",
        "mappings": [
          {
            "if": "id!~way/.*",
            "then": "no"
          }
        ]
      },
      "description": {
        "nl": "Een fietsstraat is een straat waar gemotoriseerd verkeer een fietser niet mag inhalen.",
        "en": "A cyclestreet is a street where motorized traffic is not allowed to overtake a cyclist"
      },
      "title": "{name}",
      "icon": "./assets/themes/cyclestreets/F111.svg",
      "color": "#0000ff",
      "width": "10",
      "tagRenderings": [
        "images"
      ]
    },
    {
      "id": "toekomstige_fietsstraat",
      "name": {
        "nl": "Toekomstige fietsstraat",
        "en": "Future cyclestreet"
      },
      "description": {
        "nl": "Deze straat wordt binnenkort een fietsstraat",
        "en": "This street will become a cyclestreet soon"
      },
      "minzoom": 9,
      "wayHandling": 0,
      "source": {
        "osmTags": "proposed:cyclestreet=yes"
      },
      "title": {
        "render": {
          "nl": "Toekomstige fietsstraat",
          "en": "Future cyclestreet"
        },
        "mappings": [
          {
            "then": {
              "nl": "{name} wordt fietsstraat",
              "en": "{name} will become a cyclestreet soon"
            },
            "if": "name~*"
          }
        ]
      },
      "icon": "./assets/themes/cyclestreets/F113.svg",
      "color": "#09f9dd",
      "width": "5",
      "tagRenderings": [
        "images"
      ]
    },
    {
      "id": "all_streets",
      "name": {
        "nl": "Alle straten",
        "en": "All streets"
      },
      "description": {
        "nl": "Laag waar je een straat als fietsstraat kan markeren",
        "en": "Layer to mark any street as cycle street"
      },
      "source": {
        "osmTags": {
          "or": [
            "highway=residential",
            "highway=tertiary",
            "highway=unclassified"
          ]
        }
      },
      "minzoom": 18,
      "wayHandling": 0,
      "title": {
        "render": {
          "nl": "Straat",
          "en": "Street"
        },
        "mappings": [
          {
            "if": "name~*",
            "then": "{name}"
          }
        ]
      },
      "icon": "./assets/svg/pencil.svg",
      "width": "5",
      "color": {
        "render": "#aaaaaa",
        "mappings": [
          {
            "then": "#0000ff",
            "if": "cyclestreet=yes"
          },
          {
            "then": "#09f9dd",
            "if": "proposed:cyclestreet=yes"
          }
        ]
      },
      "tagRenderings": [
        "images"
      ]
    }
  ]
}