forked from MapComplete/MapComplete
		
	Merge branch 'develop' into feature/maproulette
This commit is contained in:
		
						commit
						c4512748d0
					
				
					 14 changed files with 455 additions and 9 deletions
				
			
		|  | @ -1,7 +1,9 @@ | |||
| export default interface UnitConfigJson { | ||||
| 
 | ||||
|     /** | ||||
|      * Every key from this list will be normalized | ||||
|      * Every key from this list will be normalized. | ||||
|      *  | ||||
|      * To render a united value properly, use  | ||||
|      */ | ||||
|     appliesToKey: string[], | ||||
|     /** | ||||
|  |  | |||
							
								
								
									
										105
									
								
								assets/layers/elevator/elevator.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										105
									
								
								assets/layers/elevator/elevator.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,105 @@ | |||
| { | ||||
|   "id": "elevator", | ||||
|   "name": { | ||||
|     "en": "elevator" | ||||
|   }, | ||||
|   "source": { | ||||
|     "osmTags": "highway=elevator" | ||||
|   }, | ||||
|   "minzoom": 13, | ||||
|   "tagRenderings": [ | ||||
|     "images", | ||||
|     { | ||||
|       "id": "door-width", | ||||
|       "render": { | ||||
|         "en": "This elevator's doors have a width of {canonical(door:width) }" | ||||
|       }, | ||||
|       "question": { | ||||
|         "en": "What is the width of this elevator's entrance?" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "door:width", | ||||
|         "type": "pfloat" | ||||
|       } | ||||
|     }, | ||||
|     { | ||||
|       "id": "elevator-width", | ||||
|       "render": { | ||||
|         "en": "This elevator has a width of {canonical(elevator:width) }" | ||||
|       }, | ||||
|       "question": { | ||||
|         "en": "What is the width of this elevator?" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "elevator:width", | ||||
|         "type": "pfloat" | ||||
|       } | ||||
|     }, | ||||
|     { | ||||
|       "id": "elevator-depth", | ||||
|       "render": { | ||||
|         "en": "This elevator has a depth of {canonical(elevator:depth) }" | ||||
|       }, | ||||
|       "question": { | ||||
|         "en": "What is the depth of this elevator?" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "elevator:depth", | ||||
|         "type": "pfloat" | ||||
|       } | ||||
|     } | ||||
|   ], | ||||
|   "mapRendering": [ | ||||
|     { | ||||
|       "icon": { | ||||
|         "render": "./assets/layers/elevator/elevator_wheelchair.svg" | ||||
|       }, | ||||
|       "iconSize": "40,40,bottom", | ||||
|       "location": [ | ||||
|         "point", | ||||
|         "centroid" | ||||
|       ] | ||||
|     } | ||||
|   ], | ||||
|   "presets": [ | ||||
|     { | ||||
|       "title": { | ||||
|         "en": "an elevator", | ||||
|         "nl": "een lift" | ||||
|       }, | ||||
|       "tags": [ | ||||
|         "highway=elevator" | ||||
|       ] | ||||
|     } | ||||
|   ], | ||||
|   "units": [ | ||||
|     { | ||||
|       "appliesToKey": [ | ||||
|         "door:width", | ||||
|         "elevator:width", | ||||
|         "elevator:depth" | ||||
|       ], | ||||
|       "applicableUnits": [ | ||||
|         { | ||||
|           "canonicalDenomination": "m", | ||||
|           "alternativeDenomination": [ | ||||
|             "meter" | ||||
|           ], | ||||
|           "human": { | ||||
|             "en": "meter" | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           "canonicalDenomination": "cm", | ||||
|           "alternativeDenomination": [ | ||||
|             "centimeter", | ||||
|             "cms" | ||||
|           ], | ||||
|           "human": { | ||||
|             "en": "centimeter" | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										1
									
								
								assets/layers/elevator/elevator_wheelchair.svg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								assets/layers/elevator/elevator_wheelchair.svg
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 228.57 239.29"><defs><style>.cls-1{fill:#1d1d1b;}</style></defs><path class="cls-1" d="M208.18,119.08V11.93c0-5.24,0-5.24,5.15-5.24,2.43,0,4.87,0,7.31,0,2.05,0,3.12.76,3,2.92-.07,1.13,0,2.27,0,3.4q0,106.5,0,213c0,.69-.06,1.39,0,2.09.13,1.9-.73,2.68-2.62,2.64-3.39-.05-6.79,0-10.19,0-1.84,0-2.73-.76-2.66-2.67s0-4,0-6Z"/><path class="cls-1" d="M20,119.06V226.75c0,3.9,0,3.92-3.91,4-3,0-5.93-.05-8.89,0-1.76,0-2.58-.7-2.55-2.47s0-3.31,0-5q0-106.12,0-212.25c0-4.17.22-4.39,4.45-4.36,2.52,0,5.05.08,7.58,0,2.26-.09,3.47.67,3.32,3.13-.1,1.47,0,3,0,4.44q0,52.41,0,104.82Z"/><path class="cls-1" d="M135.46,156.52a4.35,4.35,0,0,0-4.86-3.21,12.64,12.64,0,0,0-2.44.73c-2.07.72-4.13,1.47-6.22,2.21l-.26-.54q-1.94-4.52-3.88-9c-1.77-4.11-3.53-8.22-5.32-12.31a4.21,4.21,0,0,0-4.06-2.71c-4.84-.06-9.68-.07-14.52-.11L81,131.46c-.18,0-.5-.09-.52-.19-.16-.78-.27-1.58-.4-2.42H99.2c.35,0,.69,0,1,0a4.41,4.41,0,0,0,3.41-6.75,4.58,4.58,0,0,0-4.22-2.1q-10,0-20,0h-.72c-.52-3.24-1-6.39-1.54-9.56h-9c.55,3.45,1.11,6.9,1.66,10.35.83,5.11,1.71,10.2,2.47,15.32a4.76,4.76,0,0,0,4.92,4.29c9.22,0,18.45.11,27.68.15a.86.86,0,0,1,.91.61q4.72,11.05,9.48,22.08a4.49,4.49,0,0,0,6.12,2.69c3.69-1.31,7.39-2.61,11.07-3.95a6.74,6.74,0,0,0,1.67-1,4.71,4.71,0,0,0,1.49-2.56v-1.48C135.55,156.8,135.5,156.66,135.46,156.52Z"/><path class="cls-1" d="M53.61,145.09c.2-1.23.33-2.47.59-3.69a26.58,26.58,0,0,1,6.42-12.56,4.42,4.42,0,0,1,6.63,5.85,18.7,18.7,0,0,0-4.46,8.95,18.32,18.32,0,0,0,34.75,10.84,4.62,4.62,0,0,1,3.67-3,4.41,4.41,0,0,1,4.76,5.84,23.53,23.53,0,0,1-3.45,6.12,26.77,26.77,0,0,1-14.83,10c-1.46.38-3,.53-4.47.79l-.56.11H78.9c-.14,0-.29-.08-.43-.1a34.79,34.79,0,0,1-3.7-.6c-11-2.89-17.86-9.91-20.58-20.95-.29-1.19-.39-2.43-.58-3.64Z"/><ellipse class="cls-1" cx="72.62" cy="109.74" rx="4.51" ry="3.94"/><circle class="cls-1" cx="71.76" cy="95.49" r="8.93"/><path class="cls-1" d="M157.33,131.79H154v1.75q0,18,0,36c0,2.4-1,3.89-2.94,4.52a4.17,4.17,0,0,1-5.43-3.17,10.86,10.86,0,0,1-.13-2q0-31,0-61.93v-2.49h-2c0,.48-.07,1-.07,1.47,0,7.32,0,14.65,0,22,0,2.28-1.42,3.66-3.4,3.39a3,3,0,0,1-2.63-3.33c0-5.24,0-10.47,0-15.7,0-4.38,0-8.75,0-13.13,0-5.09,2.76-7.89,7.83-7.92q10.48-.06,21,0c4.89,0,7.67,2.88,7.67,7.77q0,14.49,0,29c0,2.3-1.56,3.7-3.6,3.31-1.57-.3-2.41-1.44-2.41-3.35q0-10.84,0-21.69v-1.76h-2v1.76q0,31.32,0,62.64a10.81,10.81,0,0,1-.17,2.13,4.23,4.23,0,0,1-4.41,3.27,4.18,4.18,0,0,1-3.9-4c0-2.95,0-5.9,0-8.84V131.79Z"/><path class="cls-1" d="M155.74,89.56a9,9,0,0,1-9.1-9,9,9,0,0,1,18,0A9,9,0,0,1,155.74,89.56Z"/><path class="cls-1" d="M191.93,36.94h-71V24.12h10l-17-17-17,17h10V36.94h-71a5.83,5.83,0,0,0-5.83,5.83V197.05a5.83,5.83,0,0,0,5.83,5.83h71V215.7h-10l17,17,17-17h-10V202.88h71a5.83,5.83,0,0,0,5.83-5.83V42.77A5.83,5.83,0,0,0,191.93,36.94Zm-7.5,147a5.83,5.83,0,0,1-5.83,5.84H49.22a5.83,5.83,0,0,1-5.83-5.84V56a5.83,5.83,0,0,1,5.83-5.83H178.6A5.83,5.83,0,0,1,184.43,56Z"/></svg> | ||||
| After Width: | Height: | Size: 2.9 KiB | 
							
								
								
									
										12
									
								
								assets/layers/elevator/license_info.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								assets/layers/elevator/license_info.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| [ | ||||
|   { | ||||
|     "path": "elevator_wheelchair.svg", | ||||
|     "license": "CC-BY-SA", | ||||
|     "authors": [ | ||||
|       "https://www.ctsteward.com/" | ||||
|     ], | ||||
|     "sources": [ | ||||
|       "https://www.ctsteward.com/" | ||||
|     ] | ||||
|   } | ||||
| ] | ||||
|  | @ -340,6 +340,31 @@ | |||
|         "key": "width", | ||||
|         "type": "distance" | ||||
|       } | ||||
|     }, | ||||
|     { | ||||
|       "id": "kerb-height", | ||||
|       "question": { | ||||
|         "en": "What is the height of this kerb?" | ||||
|       }, | ||||
|       "render": { | ||||
|         "en": "The kerb height of this door is {kerb:height}" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "kerb:height", | ||||
|         "placeholder": { | ||||
|           "en": "Height of the door kerb" | ||||
|         }, | ||||
|         "type": "pnat" | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "if": "kerb-height=", | ||||
|           "then": { | ||||
|             "en": "This door does not have a kerb", | ||||
|             "nl": "Deze deur heeft geen drempel" | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   ], | ||||
|   "mapRendering": [ | ||||
|  | @ -375,5 +400,33 @@ | |||
|         "entrance=yes" | ||||
|       ] | ||||
|     } | ||||
|   ], | ||||
|   "units": [ | ||||
|     { | ||||
|       "appliesToKey": [ | ||||
|         "kerb:height" | ||||
|       ], | ||||
|       "applicableUnits": [ | ||||
|         { | ||||
|           "canonicalDenomination": "m", | ||||
|           "alternativeDenomination": [ | ||||
|             "meter" | ||||
|           ], | ||||
|           "human": { | ||||
|             "en": "meter" | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           "canonicalDenomination": "cm", | ||||
|           "alternativeDenomination": [ | ||||
|             "centimeter", | ||||
|             "cms" | ||||
|           ], | ||||
|           "human": { | ||||
|             "en": "centimeter" | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										12
									
								
								assets/layers/reception_desk/license_info.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								assets/layers/reception_desk/license_info.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| [ | ||||
|   { | ||||
|     "path": "reception_desk.svg", | ||||
|     "license": "CC-BY-SA", | ||||
|     "authors": [ | ||||
|       "Robin Julien" | ||||
|     ], | ||||
|     "sources": [ | ||||
|       "https://www.ctsteward.com/" | ||||
|     ] | ||||
|   } | ||||
| ] | ||||
							
								
								
									
										79
									
								
								assets/layers/reception_desk/reception_desk.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										79
									
								
								assets/layers/reception_desk/reception_desk.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,79 @@ | |||
| { | ||||
|   "id": "reception_desk", | ||||
|   "name": { | ||||
|     "en": "Reception desks" | ||||
|   }, | ||||
|   "title": { | ||||
|     "render": { | ||||
|       "en": "Reception desk" | ||||
|     } | ||||
|   }, | ||||
|   "source": { | ||||
|     "osmTags": "amenity=reception_desk" | ||||
|   }, | ||||
|   "mapRendering": [ | ||||
|     { | ||||
|       "location": [ | ||||
|         "point", | ||||
|         "centroid" | ||||
|       ], | ||||
|       "icon": "circle:white;./assets/layers/reception_desk/reception_desk.svg", | ||||
|       "iconSize": "40,40,center" | ||||
|     } | ||||
|   ], | ||||
|   "tagRenderings": [ | ||||
|     "images", | ||||
|     { | ||||
|       "id": "desk-height", | ||||
|       "question": { | ||||
|         "en": "What is the height of the reception desk? <div class='subtle'>This is measured from the floor to the lowest usable part of the desk</div>" | ||||
|       }, | ||||
|       "render": { | ||||
|         "en": "The height of the desk is <b>{canonical(desk:height)}</b>" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "desk:height", | ||||
|         "type": "pfloat" | ||||
|       } | ||||
|     }, | ||||
|     "induction-loop" | ||||
|   ], | ||||
|   "presets": [ | ||||
|     { | ||||
|       "tags": [ | ||||
|         "amenity=reception_desk" | ||||
|       ], | ||||
|       "title": { | ||||
|         "en": "a reception desk" | ||||
|       } | ||||
|     } | ||||
|   ], | ||||
|   "units": [ | ||||
|     { | ||||
|       "appliesToKey": [ | ||||
|         "desk:height" | ||||
|       ], | ||||
|       "applicableUnits": [ | ||||
|         { | ||||
|           "canonicalDenomination": "m", | ||||
|           "alternativeDenomination": [ | ||||
|             "meter" | ||||
|           ], | ||||
|           "human": { | ||||
|             "en": "meter" | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           "canonicalDenomination": "cm", | ||||
|           "alternativeDenomination": [ | ||||
|             "centimeter", | ||||
|             "cms" | ||||
|           ], | ||||
|           "human": { | ||||
|             "en": "centimeter" | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										29
									
								
								assets/layers/reception_desk/reception_desk.svg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								assets/layers/reception_desk/reception_desk.svg
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  --> | ||||
| <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | ||||
| 	 viewBox="0 0 228.57 239.29" style="enable-background:new 0 0 228.57 239.29;" xml:space="preserve"> | ||||
| <g> | ||||
| 	<path d="M141.39,116.97c0-10.11,0-19.87,0-29.92c-0.48,0.65-0.95,1.18-1.29,1.79c-3.57,6.27-7.17,12.53-10.64,18.86 | ||||
| 		c-0.87,1.58-1.82,2.31-3.68,2.22c-3.26-0.15-6.53-0.04-10.24-0.04c0.57-1.21,0.98-2.16,1.45-3.07 | ||||
| 		c6.34-12.19,12.76-24.33,18.99-36.58c1.7-3.33,4.04-4.79,7.75-4.75c9.31,0.11,18.62,0.01,27.93,0.05c4.85,0.02,6.15,1,7.79,5.65 | ||||
| 		c5.09,14.44,10.21,28.87,15.19,43.35c0.67,1.94,1.53,2.57,3.55,2.51c4.85-0.16,9.71-0.07,14.56-0.04c4.37,0.02,7.04,2.26,7.08,5.88 | ||||
| 		c0.04,3.67-2.58,5.96-6.92,6c-2.87,0.03-5.75,0.04-8.62,0c-2.7-0.04-5.11-0.27-7.12,2.6c-1.95,2.78-6.12,1.88-8.43-1 | ||||
| 		c-0.62-0.77-1.77-1.47-2.72-1.52c-3.24-0.19-6.49-0.07-10.08-0.07c1.23,7.39,2.39,14.4,3.58,21.4c2.86,16.86,5.76,33.71,8.59,50.58 | ||||
| 		c0.8,4.79-2.03,8.61-6.78,9.43c-5.26,0.91-9.67-1.87-10.46-6.65c-3.38-20.48-6.73-40.97-10.1-61.46c-0.19-1.16-0.47-2.3-0.71-3.41 | ||||
| 		c-2.7-0.9-3.68-0.11-4.11,2.72c-3.21,20.71-6.61,41.39-9.97,62.08c-0.69,4.24-5.04,6.87-10.01,6.14c-4.32-0.63-7.76-4.73-7.12-8.75 | ||||
| 		c3.2-20.01,6.47-40.01,9.71-60.02c0.63-3.89,1.23-7.79,1.9-12.06c-1.39,0-2.55,0-3.71,0c-40.02,0-80.03,0-120.05,0 | ||||
| 		c-0.99,0-1.98,0.04-2.97-0.02c-3.32-0.22-5.67-2.5-5.81-5.6c-0.14-3.26,2.1-5.83,5.5-6.22c0.98-0.11,1.98-0.05,2.97-0.05 | ||||
| 		c40.31,0,80.63,0,120.94,0C138.49,116.97,139.67,116.97,141.39,116.97z M175.12,116.73c3.09,0,5.95,0,9.1,0 | ||||
| 		c-2.95-9.24-5.81-18.16-8.67-27.09c-0.14,0.03-0.29,0.06-0.43,0.1C175.12,98.66,175.12,107.58,175.12,116.73z"/> | ||||
| 	<path d="M71.07,112.07c-11.24,0-22.02,0-33.73,0c6.69-9.91,2.34-19.74,0.66-29.65c-2.85,8.77-5.81,17.5-8.49,26.32 | ||||
| 		c-0.79,2.59-1.79,3.81-4.66,3.48c-2.53-0.3-5.13-0.06-8.11-0.06c1.51-4.48,2.92-8.67,4.32-12.85c3.58-10.67,7.15-21.35,10.75-32.01 | ||||
| 		c1.62-4.79,4.25-6.73,9.23-6.75c8.91-0.04,17.82-0.01,26.74-0.01c4.33,0,7.28,1.92,8.91,6.03c2.49,6.31,5.14,12.55,7.9,19.24 | ||||
| 		c3.82-4.07,7.36-7.89,10.97-11.64c2.5-2.6,6.21-2.49,8.25,0.21c1.3,1.72,1.83,3.7,0.21,5.42c-7.8,8.27-15.68,16.45-23.77,24.9 | ||||
| 		c-3.12-7.72-6.11-15.08-9.09-22.44c-0.19,0.02-0.38,0.04-0.57,0.06c-0.72,5-1.14,10.07-2.23,14.99 | ||||
| 		C67.17,102.65,70.54,106.99,71.07,112.07z"/> | ||||
| 	<path d="M54.91,30.68c7.85,0.02,14.12,5.97,14.13,13.41c0.01,7.54-6.39,13.52-14.39,13.47c-7.81-0.06-13.98-6.07-13.93-13.58 | ||||
| 		C40.77,36.52,47.02,30.67,54.91,30.68z"/> | ||||
| 	<path d="M157.7,35.86c7.85,0.04,14.05,5.98,14.05,13.48c0,7.56-6.42,13.61-14.35,13.51c-7.79-0.1-13.94-6.14-13.89-13.65 | ||||
| 		C143.57,41.75,149.87,35.83,157.7,35.86z"/> | ||||
| </g> | ||||
| </svg> | ||||
| After Width: | Height: | Size: 2.7 KiB | 
|  | @ -47,7 +47,7 @@ | |||
|   "calculatedTags": [ | ||||
|     "_entrance_properties=feat.overlapWith('entrance')?.map(e => e.feat.properties).filter(p => p !== undefined).filter(p => p.width !== undefined)", | ||||
|     "_entrance:id=feat.get('_entrance_properties')?.map(e => e.id)?.at(0)", | ||||
|     "_entrance:width=feat.get('_entrance_properties')?.map(e => e.width)" | ||||
|     "_entrance:width=feat.get('_entrance_properties')?.map(e => e.width)?.at(0)" | ||||
|   ], | ||||
|   "tagRenderings": [ | ||||
|     { | ||||
|  |  | |||
							
								
								
									
										44
									
								
								assets/tagRenderings/audio_induction_loop.svg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								assets/tagRenderings/audio_induction_loop.svg
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,44 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||||
| <svg | ||||
|    version="1.1" | ||||
|    x="0px" | ||||
|    y="0px" | ||||
|    viewBox="0 0 109.8 109.8" | ||||
|    xml:space="preserve" | ||||
|    id="svg12" | ||||
|    sodipodi:docname="audio_induction_loop.svg" | ||||
|    width="109.8" | ||||
|    height="109.8" | ||||
|    inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" | ||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||||
|    xmlns="http://www.w3.org/2000/svg" | ||||
|    xmlns:svg="http://www.w3.org/2000/svg"><defs | ||||
|      id="defs16" /><sodipodi:namedview | ||||
|      id="namedview14" | ||||
|      pagecolor="#ffffff" | ||||
|      bordercolor="#111111" | ||||
|      borderopacity="1" | ||||
|      inkscape:pageshadow="0" | ||||
|      inkscape:pageopacity="0" | ||||
|      inkscape:pagecheckerboard="1" | ||||
|      showgrid="false" | ||||
|      inkscape:zoom="2.8764657" | ||||
|      inkscape:cx="55.102343" | ||||
|      inkscape:cy="84.478671" | ||||
|      inkscape:window-width="1920" | ||||
|      inkscape:window-height="1007" | ||||
|      inkscape:window-x="0" | ||||
|      inkscape:window-y="0" | ||||
|      inkscape:window-maximized="1" | ||||
|      inkscape:current-layer="svg12" /><g | ||||
|      id="g10" | ||||
|      transform="translate(-34.4,-29.3)"><path | ||||
|        d="M 90,46 C 74.9,46 62.7,58.3 62.7,73.3 V 79 c 0,1.1 0.9,2 2,2 1.1,0 2,-0.9 2,-2 V 73.3 C 66.6,60.5 77.1,50 90,50 c 12.9,0 23.3,10.5 23.3,23.3 0,10.1 -4.9,14.6 -9.2,18.7 -3.4,3.2 -6.6,6.2 -6.6,11 0,8.5 -6.9,15.4 -15.4,15.4 -3.4,0 -6.5,-1.1 -9.2,-3.1 -0.9,-0.7 -2.1,-0.5 -2.8,0.4 -0.7,0.9 -0.5,2.1 0.4,2.8 3.4,2.5 7.4,3.9 11.6,3.9 10.7,0 19.4,-8.7 19.4,-19.4 0,-3.1 2.4,-5.3 5.3,-8.1 4.7,-4.4 10.5,-9.8 10.5,-21.6 C 117.3,58.3 105,46 90,46 Z" | ||||
|        id="path2" /><path | ||||
|        d="m 84.4,81.7 c -0.3,-0.3 -0.7,-0.7 -1,-1 -2.9,-2.9 -6,-5.8 -6,-9.7 0,-7 5.7,-12.6 12.6,-12.6 8.4,0 15.3,6.9 15.3,15.3 0,6.6 -2.7,9.1 -6.5,12.7 -0.8,0.8 -0.9,2 -0.1,2.8 0.4,0.4 0.9,0.6 1.5,0.6 0.5,0 1,-0.2 1.4,-0.5 4,-3.8 7.8,-7.3 7.8,-15.6 0,-10.6 -8.6,-19.3 -19.3,-19.3 -9.2,0 -16.6,7.5 -16.6,16.6 0,5.5 4,9.4 7.2,12.5 0.3,0.3 0.7,0.6 1,1 0.4,0.4 0.9,0.6 1.4,0.6 0.5,0 1,-0.2 1.4,-0.6 0.7,-0.7 0.7,-2 -0.1,-2.8 z" | ||||
|        id="path4" /><path | ||||
|        d="M 130.2,29.3 H 48.4 c -7.7,0 -14,6.3 -14,14 v 81.8 c 0,7.7 6.3,14 14,14 h 81.8 c 7.7,0 14,-6.3 14,-14 V 43.3 c 0,-7.7 -6.2,-14 -14,-14 z m 10,95.9 c 0,5.5 -4.5,10 -10,10 H 48.4 c -0.5,0 -0.9,0 -1.4,-0.1 L 83.9,98.2 c 0.4,-0.4 0.6,-0.9 0.6,-1.4 v -5.7 c 0,-1.1 -0.9,-2 -2,-2 h -5.7 c -0.5,0 -1,0.2 -1.4,0.6 l -36.9,36.9 c -0.1,-0.5 -0.1,-0.9 -0.1,-1.4 V 43.3 c 0,-5.5 4.5,-10 10,-10 h 81.8 c 0.5,0 0.9,0 1.4,0.1 l -17,17 c -0.7,0.7 -0.8,1.9 -0.1,2.7 1.6,2 3,4.2 4.1,6.5 0.3,0.6 0.8,1 1.5,1.1 0.1,0 0.2,0 0.3,0 0.5,0 1,-0.2 1.4,-0.6 L 140,41.9 c 0.1,0.5 0.1,0.9 0.1,1.4 v 81.9 z" | ||||
|        id="path6" /><path | ||||
|        d="m 131.6,105 h -15.3 c -1.1,0 -2,0.9 -2,2 0,1.1 0.9,2 2,2 h 5.7 v 16.5 c 0,1.1 0.9,2 2,2 1.1,0 2,-0.9 2,-2 V 109 h 5.7 c 1.1,0 2,-0.9 2,-2 0,-1.1 -1,-2 -2.1,-2 z" | ||||
|        id="path8" /></g></svg> | ||||
| After Width: | Height: | Size: 2.8 KiB | 
							
								
								
									
										53
									
								
								assets/tagRenderings/audio_induction_loop_missing.svg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								assets/tagRenderings/audio_induction_loop_missing.svg
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,53 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||||
| <svg | ||||
|    version="1.1" | ||||
|    x="0px" | ||||
|    y="0px" | ||||
|    viewBox="0 0 109.8 109.8" | ||||
|    xml:space="preserve" | ||||
|    id="svg12" | ||||
|    sodipodi:docname="audio_induction_loop.svg" | ||||
|    width="109.8" | ||||
|    height="109.8" | ||||
|    inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" | ||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||||
|    xmlns="http://www.w3.org/2000/svg" | ||||
|    xmlns:svg="http://www.w3.org/2000/svg"><defs | ||||
|      id="defs16" /><sodipodi:namedview | ||||
|      id="namedview14" | ||||
|      pagecolor="#ffffff" | ||||
|      bordercolor="#111111" | ||||
|      borderopacity="1" | ||||
|      inkscape:pageshadow="0" | ||||
|      inkscape:pageopacity="0" | ||||
|      inkscape:pagecheckerboard="1" | ||||
|      showgrid="false" | ||||
|      inkscape:zoom="2.8764657" | ||||
|      inkscape:cx="55.102343" | ||||
|      inkscape:cy="84.478671" | ||||
|      inkscape:window-width="1920" | ||||
|      inkscape:window-height="1007" | ||||
|      inkscape:window-x="0" | ||||
|      inkscape:window-y="0" | ||||
|      inkscape:window-maximized="1" | ||||
|      inkscape:current-layer="svg12" /><g | ||||
|      id="g10" | ||||
|      transform="translate(-34.4,-29.3)"><path | ||||
|        d="M 90,46 C 74.9,46 62.7,58.3 62.7,73.3 V 79 c 0,1.1 0.9,2 2,2 1.1,0 2,-0.9 2,-2 V 73.3 C 66.6,60.5 77.1,50 90,50 c 12.9,0 23.3,10.5 23.3,23.3 0,10.1 -4.9,14.6 -9.2,18.7 -3.4,3.2 -6.6,6.2 -6.6,11 0,8.5 -6.9,15.4 -15.4,15.4 -3.4,0 -6.5,-1.1 -9.2,-3.1 -0.9,-0.7 -2.1,-0.5 -2.8,0.4 -0.7,0.9 -0.5,2.1 0.4,2.8 3.4,2.5 7.4,3.9 11.6,3.9 10.7,0 19.4,-8.7 19.4,-19.4 0,-3.1 2.4,-5.3 5.3,-8.1 4.7,-4.4 10.5,-9.8 10.5,-21.6 C 117.3,58.3 105,46 90,46 Z" | ||||
|        id="path2" /><path | ||||
|        d="m 84.4,81.7 c -0.3,-0.3 -0.7,-0.7 -1,-1 -2.9,-2.9 -6,-5.8 -6,-9.7 0,-7 5.7,-12.6 12.6,-12.6 8.4,0 15.3,6.9 15.3,15.3 0,6.6 -2.7,9.1 -6.5,12.7 -0.8,0.8 -0.9,2 -0.1,2.8 0.4,0.4 0.9,0.6 1.5,0.6 0.5,0 1,-0.2 1.4,-0.5 4,-3.8 7.8,-7.3 7.8,-15.6 0,-10.6 -8.6,-19.3 -19.3,-19.3 -9.2,0 -16.6,7.5 -16.6,16.6 0,5.5 4,9.4 7.2,12.5 0.3,0.3 0.7,0.6 1,1 0.4,0.4 0.9,0.6 1.4,0.6 0.5,0 1,-0.2 1.4,-0.6 0.7,-0.7 0.7,-2 -0.1,-2.8 z" | ||||
|        id="path4" /><path | ||||
|        d="M 130.2,29.3 H 48.4 c -7.7,0 -14,6.3 -14,14 v 81.8 c 0,7.7 6.3,14 14,14 h 81.8 c 7.7,0 14,-6.3 14,-14 V 43.3 c 0,-7.7 -6.2,-14 -14,-14 z m 10,95.9 c 0,5.5 -4.5,10 -10,10 H 48.4 c -0.5,0 -0.9,0 -1.4,-0.1 L 83.9,98.2 c 0.4,-0.4 0.6,-0.9 0.6,-1.4 v -5.7 c 0,-1.1 -0.9,-2 -2,-2 h -5.7 c -0.5,0 -1,0.2 -1.4,0.6 l -36.9,36.9 c -0.1,-0.5 -0.1,-0.9 -0.1,-1.4 V 43.3 c 0,-5.5 4.5,-10 10,-10 h 81.8 c 0.5,0 0.9,0 1.4,0.1 l -17,17 c -0.7,0.7 -0.8,1.9 -0.1,2.7 1.6,2 3,4.2 4.1,6.5 0.3,0.6 0.8,1 1.5,1.1 0.1,0 0.2,0 0.3,0 0.5,0 1,-0.2 1.4,-0.6 L 140,41.9 c 0.1,0.5 0.1,0.9 0.1,1.4 v 81.9 z" | ||||
|        id="path6" /><path | ||||
|        d="m 131.6,105 h -15.3 c -1.1,0 -2,0.9 -2,2 0,1.1 0.9,2 2,2 h 5.7 v 16.5 c 0,1.1 0.9,2 2,2 1.1,0 2,-0.9 2,-2 V 109 h 5.7 c 1.1,0 2,-0.9 2,-2 0,-1.1 -1,-2 -2.1,-2 z" | ||||
|        id="path8" /></g><g | ||||
|      id="surface1-3" | ||||
|      transform="matrix(0.42416547,0,0,0.42416547,-57.159082,-108.73882)" | ||||
|      style="fill:#ff0000;fill-opacity:1"><path | ||||
|        style="fill:#ff0000;fill-opacity:1;stroke:#b40000;stroke-width:34.2679;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" | ||||
|        d="M 364.47831,491.73933 252.63509,379.89612" | ||||
|        id="path826" /><path | ||||
|        style="fill:#ff0000;fill-opacity:1;stroke:#b40000;stroke-width:34.2684;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" | ||||
|        d="M 364.64638,379.35739 252.80473,491.199" | ||||
|        id="path828" /></g></svg> | ||||
| After Width: | Height: | Size: 3.4 KiB | 
|  | @ -1,4 +1,24 @@ | |||
| [ | ||||
|   { | ||||
|     "path": "audio_induction_loop.svg", | ||||
|     "license": "CC-BY 4.0", | ||||
|     "authors": [ | ||||
|       "Carl Holderness" | ||||
|     ], | ||||
|     "sources": [ | ||||
|       "https://commons.wikimedia.org/wiki/File:Noun_telecoil_audio_induction_hearing_loop_symbol_2011213.svg" | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "path": "audio_induction_loop_missing.svg", | ||||
|     "license": "CC-BY 4.0", | ||||
|     "authors": [ | ||||
|       "Carl Holderness" | ||||
|     ], | ||||
|     "sources": [ | ||||
|       "https://commons.wikimedia.org/wiki/File:Noun_telecoil_audio_induction_hearing_loop_symbol_2011213.svg" | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "path": "cash.svg", | ||||
|     "license": "CC-BY 3.0", | ||||
|  |  | |||
|  | @ -1086,5 +1086,33 @@ | |||
|         } | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   "induction-loop": { | ||||
|     "description": "An accessibility feature: induction loops are for hard-hearing persons which have an FM-receiver.", | ||||
|     "question": { | ||||
|       "en": "Does this place have an audio induction loop for people with reduced hearing?" | ||||
|     }, | ||||
|     "mappings": [ | ||||
|       { | ||||
|         "if": "hearing_loop=yes", | ||||
|         "then": { | ||||
|           "en": "This place has an audio induction loop" | ||||
|         }, | ||||
|         "icon": { | ||||
|           "path": "./assets/tagRenderings/audio_induction_loop.svg", | ||||
|           "class": "medium" | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "if": "hearing_loop=no", | ||||
|         "then": { | ||||
|           "en": "This place <b>does not</b> has an audio induction loop" | ||||
|         }, | ||||
|         "icon": { | ||||
|           "path": "./assets/tagRenderings/audio_induction_loop_missing.svg", | ||||
|           "class": "medium" | ||||
|         } | ||||
|       } | ||||
|     ] | ||||
|   } | ||||
| } | ||||
|  | @ -4,7 +4,7 @@ | |||
|     "en": "OnWheels" | ||||
|   }, | ||||
|   "description": { | ||||
|     "en": "On this map, publicly weelchair accessible places are shown and can be easily added" | ||||
|     "en": "On this map, publicly wheelchair accessible places are shown and can be easily added" | ||||
|   }, | ||||
|   "maintainer": "MapComplete", | ||||
|   "icon": "./assets/themes/onwheels/crest.svg", | ||||
|  | @ -77,22 +77,30 @@ | |||
|         ] | ||||
|       } | ||||
|     }, | ||||
|     "walls_and_buildings" | ||||
|     "reception_desk", | ||||
|     "walls_and_buildings", | ||||
|     "elevator" | ||||
|   ], | ||||
|   "overrideAll": { | ||||
|     "+calculatedTags": [ | ||||
|       "_poi_walls_and_buildings_entrance_properties=feat.closestn('walls_and_buildings', 1, undefined, 1000).map(w => ({id: w.feat.properties.id, width: w.feat.properties['_entrance:width']}))[0]", | ||||
|       "_poi_entrance:id=JSON.parce(feat.properties._poi_walls_and_buildings_entrance_properteis)?.id", | ||||
|       "_poi_entrance:width=JSON.parse(feat.properties._poi_walls_and_buildings_entrance_properties)?.width" | ||||
|     ], | ||||
|     "+tagRenderings": [ | ||||
|       { | ||||
|         "id": "_poi_entrance:width", | ||||
|         "condition": "entrance=", | ||||
|         "condition": { | ||||
|           "and": [ | ||||
|             "entrance=", | ||||
|             "kerb=" | ||||
|           ] | ||||
|         }, | ||||
|         "render": { | ||||
|           "en": "This door has a width of {canonical(_poi_entrance:width)} meter", | ||||
|           "nl": "Deze deur heeft een breedte van {canonical(_poi_entrance:width)} meter", | ||||
|           "de": "Diese Tür hat eine Durchgangsbreite von {canonical(_poi_entrance:width)} Meter", | ||||
|           "es": "Esta puerta tiene una ancho de {canonical(_poi_entrance:width)} metros" | ||||
|           "en": "<a href='#{_poi_entrance:id}'>This door has a width of {canonical(_poi_entrance:width)} meters</a>", | ||||
|           "nl": "<a href='#{_poi_entrance:id}'>Deze deur heeft een breedte van {canonical(_poi_entrance:width)} meter</a>", | ||||
|           "de": "<a href='#{_poi_entrance:id}'>Diese Tür hat eine Durchgangsbreite von {canonical(_poi_entrance:width)} Meter</a>", | ||||
|           "es": "<a href='#{_poi_entrance:id}'>Esta puerta tiene una ancho de {canonical(_poi_entrance:width)} metros</a>" | ||||
|         }, | ||||
|         "freeform": { | ||||
|           "key": "_poi_entrance:width", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue