forked from MapComplete/MapComplete
		
	Formatting all the JSON files
This commit is contained in:
		
							parent
							
								
									e057f10409
								
							
						
					
					
						commit
						40a79ab6a6
					
				
					 15 changed files with 50 additions and 39 deletions
				
			
		|  | @ -230,7 +230,7 @@ | |||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "question":{ | ||||
|       "question": { | ||||
|         "en": "When was this bench last surveyed?" | ||||
|       }, | ||||
|       "render": { | ||||
|  |  | |||
|  | @ -4,9 +4,10 @@ | |||
|     "en": "Bicycle library", | ||||
|     "nl": "Fietsbibliotheek" | ||||
|   }, | ||||
|   "minzoom": 8  , | ||||
|   "minzoom": 8, | ||||
|   "source": { | ||||
|     "osmTags": "amenity=bicycle_library"}, | ||||
|     "osmTags": "amenity=bicycle_library" | ||||
|   }, | ||||
|   "title": { | ||||
|     "render": { | ||||
|       "en": "Bicycle library", | ||||
|  | @ -59,18 +60,23 @@ | |||
|         "en": "How much does lending a bicycle cost?", | ||||
|         "nl": "Hoeveel kost het huren van een fiets?" | ||||
|       }, | ||||
|       "render":{ | ||||
|       "render": { | ||||
|         "en": "Lending a bicycle costs {charge}", | ||||
|         "nl": "Een fiets huren kost {charge}" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "charge", | ||||
|         "addExtraTags": ["fee=yes"] | ||||
|         "addExtraTags": [ | ||||
|           "fee=yes" | ||||
|         ] | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "if": { | ||||
|             "and": ["fee=no","charge="] | ||||
|             "and": [ | ||||
|               "fee=no", | ||||
|               "charge=" | ||||
|             ] | ||||
|           }, | ||||
|           "then": { | ||||
|             "en": "Lending a bicycle is free", | ||||
|  | @ -79,7 +85,10 @@ | |||
|         }, | ||||
|         { | ||||
|           "if": { | ||||
|             "and": ["fee=yes","charge=€20warranty + €20/year"] | ||||
|             "and": [ | ||||
|               "fee=yes", | ||||
|               "charge=€20warranty + €20/year" | ||||
|             ] | ||||
|           }, | ||||
|           "then": { | ||||
|             "en": "Lending a bicycle costs €20/year and €20 warranty", | ||||
|  |  | |||
|  | @ -16,7 +16,7 @@ | |||
|     } | ||||
|   }, | ||||
|   "icon": { | ||||
|     "render":  "./assets/layers/bike_parking/parking.svg" | ||||
|     "render": "./assets/layers/bike_parking/parking.svg" | ||||
|   }, | ||||
|   "iconSize": "40,40,bottom", | ||||
|   "color": "#00f", | ||||
|  |  | |||
|  | @ -17,7 +17,6 @@ | |||
|         "association=bicycle", | ||||
|         "ngo=cycling", | ||||
|         "ngo=bicycle", | ||||
| 
 | ||||
|         "club=bicycle", | ||||
|         "club=cycling" | ||||
|       ] | ||||
|  |  | |||
|  | @ -408,15 +408,14 @@ | |||
|         "type": "opening_hours" | ||||
|       }, | ||||
|       "mappings": [ | ||||
|             { | ||||
|               "if": "opening_hours=24/7", | ||||
|               "then":  | ||||
|               { | ||||
|                 "en": "24/7 opened (including holidays)", | ||||
|                 "nl": "24/7 open (inclusief feestdagen)" | ||||
|               } | ||||
|             } | ||||
|           ] | ||||
|         { | ||||
|           "if": "opening_hours=24/7", | ||||
|           "then": { | ||||
|             "en": "24/7 opened (including holidays)", | ||||
|             "nl": "24/7 open (inclusief feestdagen)" | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "render": { | ||||
|  |  | |||
|  | @ -128,7 +128,7 @@ | |||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "render":{ | ||||
|       "render": { | ||||
|         "en": "<a href='#{_closest_other_drinking_water_id}'>There is another drinking water fountain at {_closest_other_drinking_water_distance} meter</a>", | ||||
|         "nl": "<a href='#{_closest_other_drinking_water_id}'>Er bevindt zich een ander drinkwaterpunt op {_closest_other_drinking_water_distance} meter</a>" | ||||
|       }, | ||||
|  |  | |||
|  | @ -338,10 +338,14 @@ | |||
|         "en": "Surface area: {_surface:ha}Ha", | ||||
|         "nl": "Totale oppervlakte: {_surface:ha}Ha" | ||||
|       }, | ||||
|       "mappings":[ { | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "if": "_surface:ha=0", | ||||
|           "then": {"*":""} | ||||
|         }] | ||||
|           "then": { | ||||
|             "*": "" | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   ], | ||||
|   "hideUnderlayingFeaturesMinPercentage": 10, | ||||
|  | @ -373,4 +377,3 @@ | |||
|     } | ||||
|   ] | ||||
| } | ||||
|     | ||||
|  |  | |||
|  | @ -191,6 +191,5 @@ | |||
|   "color": { | ||||
|     "render": "#eaba2a" | ||||
|   }, | ||||
|   "presets": [ | ||||
|   ] | ||||
|   "presets": [] | ||||
| } | ||||
|  | @ -367,7 +367,7 @@ | |||
|         ] | ||||
|       }, | ||||
|       "then": "circle:white;./assets/layers/sport_pitch/lock.svg", | ||||
|       "badge":true | ||||
|       "badge": true | ||||
|     } | ||||
|   ], | ||||
|   "width": { | ||||
|  | @ -378,7 +378,10 @@ | |||
|     "mappings": [ | ||||
|       { | ||||
|         "if": { | ||||
|          "or": ["_size_classification=medium","id~node/.*"] | ||||
|           "or": [ | ||||
|             "_size_classification=medium", | ||||
|             "id~node/.*" | ||||
|           ] | ||||
|         }, | ||||
|         "then": "40,40,center" | ||||
|       }, | ||||
|  | @ -386,7 +389,6 @@ | |||
|         "if": "_size_classification=small", | ||||
|         "then": "25,25,center" | ||||
|       }, | ||||
|        | ||||
|       { | ||||
|         "if": "_size_classification=large", | ||||
|         "then": "50,50,center" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue