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": { |       "override": { | ||||||
|         "condition": "access!=no", |         "condition": "access!=no", | ||||||
|         "question": { |         "question": { | ||||||
|  | @ -629,27 +629,7 @@ | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
|     { |     "open_now" | ||||||
|       "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" |  | ||||||
|             ] |  | ||||||
|           } |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     } |  | ||||||
|   ], |   ], | ||||||
|   "deletion": { |   "deletion": { | ||||||
|     "softDeletionTags": { |     "softDeletionTags": { | ||||||
|  |  | ||||||
|  | @ -321,27 +321,7 @@ | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
|     { |     "open_now" | ||||||
|       "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" |  | ||||||
|             ] |  | ||||||
|           } |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     } |  | ||||||
|   ], |   ], | ||||||
|   "deletion": { |   "deletion": { | ||||||
|     "softDeletionTags": { |     "softDeletionTags": { | ||||||
|  |  | ||||||
|  | @ -629,7 +629,11 @@ | ||||||
|     "freeform": { |     "freeform": { | ||||||
|       "key": "opening_hours", |       "key": "opening_hours", | ||||||
|       "type": "opening_hours" |       "type": "opening_hours" | ||||||
|  |     } | ||||||
|   }, |   }, | ||||||
|  |   "opening_hours_24_7": { | ||||||
|  |     "builtin": "opening_hours", | ||||||
|  |     "override": { | ||||||
|       "mappings": [ |       "mappings": [ | ||||||
|         { |         { | ||||||
|           "if": "opening_hours=24/7", |           "if": "opening_hours=24/7", | ||||||
|  | @ -646,6 +650,7 @@ | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|  |     } | ||||||
|   }, |   }, | ||||||
|   "service:electricity": { |   "service:electricity": { | ||||||
|     "#": "service:socket describes if a pub, restaurant or café offers electricity to their customers.", |     "#": "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