forked from MapComplete/MapComplete
		
	Re-arrange questions and add lit question
This commit is contained in:
		
							parent
							
								
									1f0d8d13d0
								
							
						
					
					
						commit
						a4076944ac
					
				
					 1 changed files with 90 additions and 53 deletions
				
			
		| 
						 | 
					@ -150,6 +150,43 @@
 | 
				
			||||||
            "nl": "Onbekende fietspad situatie"
 | 
					            "nl": "Onbekende fietspad situatie"
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "question": {
 | 
				
			||||||
 | 
					            "en": "Is this street lit?",
 | 
				
			||||||
 | 
					            "nl": "Is deze weg verlicht?"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "mappings": [
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "if": "lit=yes",
 | 
				
			||||||
 | 
					              "then": {
 | 
				
			||||||
 | 
					                "en": "This street is lit",
 | 
				
			||||||
 | 
					                "nl": "Deze weg is verlicht"
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "if": "lit=no",
 | 
				
			||||||
 | 
					              "then": {
 | 
				
			||||||
 | 
					                "en": "This road is not lit",
 | 
				
			||||||
 | 
					                "nl": "Deze weg is niet verlicht"
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "if": "lit=sunset-sunrise",
 | 
				
			||||||
 | 
					              "then": {
 | 
				
			||||||
 | 
					                "en": "This road is lit at night",
 | 
				
			||||||
 | 
					                "nl": "Deze weg is 's nachts verlicht"
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					              "hideInAnswer": true
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "if": "lit=24/7",
 | 
				
			||||||
 | 
					              "then": {
 | 
				
			||||||
 | 
					                "en": "This road is lit 24/7",
 | 
				
			||||||
 | 
					                "nl": "Deze weg is 24/7 verlicht"
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          ]
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          "render": {
 | 
					          "render": {
 | 
				
			||||||
            "en": "The maximum speed on this road is {maxspeed} km/h",
 | 
					            "en": "The maximum speed on this road is {maxspeed} km/h",
 | 
				
			||||||
| 
						 | 
					@ -318,21 +355,54 @@
 | 
				
			||||||
          ]
 | 
					          ]
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          "condition": {
 | 
					 | 
				
			||||||
            "or": ["cycleway=shared_lane", "cycleway=no", "cycleway="]
 | 
					 | 
				
			||||||
          },
 | 
					 | 
				
			||||||
          "render": {
 | 
					          "render": {
 | 
				
			||||||
            "en": "The carriage width of this road is <strong>{width:carriageway}m</strong>",
 | 
					            "en": "This road is made of {surface}",
 | 
				
			||||||
            "nl": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>"
 | 
					            "nl": "Deze weg is gemaakt van {surface}"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "freeform": {
 | 
					          "freeform": {
 | 
				
			||||||
            "key": "width:carriageway",
 | 
					            "key": "surface",
 | 
				
			||||||
            "addExtraTags": [],
 | 
					            "addExtraTags": []
 | 
				
			||||||
            "type": "pfloat"
 | 
					 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
 | 
					          "mappings": [
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "if": "surface=wood",
 | 
				
			||||||
 | 
					              "then": {
 | 
				
			||||||
 | 
					                "en": "This street is made of wood",
 | 
				
			||||||
 | 
					                "nl": "Deze weg is gemaakt van hout"
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "if": "surface=concrete",
 | 
				
			||||||
 | 
					              "then": {
 | 
				
			||||||
 | 
					                "en": "This street is made of concrete",
 | 
				
			||||||
 | 
					                "nl": "Deze straat is gemaakt van beton"
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "if": "surface=cobblestone",
 | 
				
			||||||
 | 
					              "then": {
 | 
				
			||||||
 | 
					                "en": "This street is made of cobblestone",
 | 
				
			||||||
 | 
					                "nl": "Deze straat is gemaakt van kasseien"
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "if": "surface=asphalt",
 | 
				
			||||||
 | 
					              "then": {
 | 
				
			||||||
 | 
					                "en": "This street is made of asphalt",
 | 
				
			||||||
 | 
					                "nl": "Deze straat is gemaakt van asfalt"
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              "if": "surface=paved",
 | 
				
			||||||
 | 
					              "then": {
 | 
				
			||||||
 | 
					                "en": "This street is paved",
 | 
				
			||||||
 | 
					                "nl": "Deze straat is geplaveid"
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
          "question": {
 | 
					          "question": {
 | 
				
			||||||
            "en": "What is the carriage width of this road (in meters)?",
 | 
					            "en": "What is the surface of the street made from?",
 | 
				
			||||||
            "nl": "Hoe breed is de rijbaan in deze straat (in meters)?"
 | 
					            "nl": "Waaruit is het oppervlak van de straat gemaakt?"
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
| 
						 | 
					@ -395,54 +465,21 @@
 | 
				
			||||||
          ]
 | 
					          ]
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					          "condition": {
 | 
				
			||||||
 | 
					            "or": ["cycleway=shared_lane", "cycleway=no", "cycleway="]
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
          "render": {
 | 
					          "render": {
 | 
				
			||||||
            "en": "This road is made of {surface}",
 | 
					            "en": "The carriage width of this road is <strong>{width:carriageway}m</strong>",
 | 
				
			||||||
            "nl": "Deze weg is gemaakt van {surface}"
 | 
					            "nl": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "freeform": {
 | 
					          "freeform": {
 | 
				
			||||||
            "key": "surface",
 | 
					            "key": "width:carriageway",
 | 
				
			||||||
            "addExtraTags": []
 | 
					            "addExtraTags": [],
 | 
				
			||||||
 | 
					            "type": "pfloat"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "mappings": [
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
              "if": "surface=wood",
 | 
					 | 
				
			||||||
              "then": {
 | 
					 | 
				
			||||||
                "en": "This street is made of wood",
 | 
					 | 
				
			||||||
                "nl": "Deze weg is gemaakt van hout"
 | 
					 | 
				
			||||||
              }
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
              "if": "surface=concrete",
 | 
					 | 
				
			||||||
              "then": {
 | 
					 | 
				
			||||||
                "en": "This street is made of concrete",
 | 
					 | 
				
			||||||
                "nl": "Deze straat is gemaakt van beton"
 | 
					 | 
				
			||||||
              }
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
              "if": "surface=cobblestone",
 | 
					 | 
				
			||||||
              "then": {
 | 
					 | 
				
			||||||
                "en": "This street is made of cobblestone",
 | 
					 | 
				
			||||||
                "nl": "Deze straat is gemaakt van kasseien"
 | 
					 | 
				
			||||||
              }
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
              "if": "surface=asphalt",
 | 
					 | 
				
			||||||
              "then": {
 | 
					 | 
				
			||||||
                "en": "This street is made of asphalt",
 | 
					 | 
				
			||||||
                "nl": "Deze straat is gemaakt van asfalt"
 | 
					 | 
				
			||||||
              }
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
              "if": "surface=paved",
 | 
					 | 
				
			||||||
              "then": {
 | 
					 | 
				
			||||||
                "en": "This street is paved",
 | 
					 | 
				
			||||||
                "nl": "Deze straat is geplaveid"
 | 
					 | 
				
			||||||
              }
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
          ],
 | 
					 | 
				
			||||||
          "question": {
 | 
					          "question": {
 | 
				
			||||||
            "en": "What is the surface of the street made from?",
 | 
					            "en": "What is the carriage width of this road (in meters)?",
 | 
				
			||||||
            "nl": "Waaruit is het oppervlak van de straat gemaakt?"
 | 
					            "nl": "Hoe breed is de rijbaan in deze straat (in meters)?"
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue