forked from MapComplete/MapComplete
		
	Changed opening_hours mapping, updated filters
This commit is contained in:
		
							parent
							
								
									5cbfa3f633
								
							
						
					
					
						commit
						0fe850ffd5
					
				
					 3 changed files with 15 additions and 50 deletions
				
			
		|  | @ -237,7 +237,7 @@ | |||
|       } | ||||
|     }, | ||||
|     { | ||||
|       "builtin": "opening_hours", | ||||
|       "builtin": "opening_hours_24_7", | ||||
|       "override": { | ||||
|         "condition": "access!=no", | ||||
|         "question": { | ||||
|  | @ -629,27 +629,7 @@ | |||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "id": "is_open", | ||||
|       "options": [ | ||||
|         { | ||||
|           "question": { | ||||
|             "nl": "Nu geopened", | ||||
|             "en": "Opened now", | ||||
|             "de": "Derzeit geöffnet", | ||||
|             "es": "Abierto ahora", | ||||
|             "fr": "Ouvert maintenant", | ||||
|             "da": "Åbnet nu" | ||||
|           }, | ||||
|           "osmTags": { | ||||
|             "or": [ | ||||
|               "opening_hours=", | ||||
|               "_isOpen=yes" | ||||
|             ] | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|     "open_now" | ||||
|   ], | ||||
|   "deletion": { | ||||
|     "softDeletionTags": { | ||||
|  |  | |||
|  | @ -321,27 +321,7 @@ | |||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "id": "is_open", | ||||
|       "options": [ | ||||
|         { | ||||
|           "question": { | ||||
|             "nl": "Nu geopened", | ||||
|             "en": "Opened now", | ||||
|             "de": "Derzeit geöffnet", | ||||
|             "es": "Abierto ahora", | ||||
|             "fr": "Ouvert maintenant", | ||||
|             "da": "Åbnet nu" | ||||
|           }, | ||||
|           "osmTags": { | ||||
|             "or": [ | ||||
|               "opening_hours=", | ||||
|               "_isOpen=yes" | ||||
|             ] | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|     "open_now" | ||||
|   ], | ||||
|   "deletion": { | ||||
|     "softDeletionTags": { | ||||
|  |  | |||
|  | @ -629,7 +629,11 @@ | |||
|     "freeform": { | ||||
|       "key": "opening_hours", | ||||
|       "type": "opening_hours" | ||||
|     } | ||||
|   }, | ||||
|   "opening_hours_24_7": { | ||||
|     "builtin": "opening_hours", | ||||
|     "override": { | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "if": "opening_hours=24/7", | ||||
|  | @ -646,6 +650,7 @@ | |||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   }, | ||||
|   "service:electricity": { | ||||
|     "#": "service:socket describes if a pub, restaurant or café offers electricity to their customers.", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue