forked from OpenStreetBrowser/main
Igor Eliezer
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
73 changed files with 522 additions and 94 deletions
-
1administrative.json
-
12agriculture.json
-
1alternative_amenities.json
-
1alternative_routes.json
-
3buildings.json
-
8car_amenities.json
-
1car_furniture.json
-
3car_maxspeed.json
-
3children.json
-
1communication.json
-
1construction.json
-
74craft.json
-
1culture.json
-
1culture_religion.json
-
17cycle_amenities.json
-
3cycle_routes.json
-
3education.json
-
27emergency.json
-
5financial.json
-
67gastro-smoking.json
-
3gastro.json
-
32health.json
-
3hiking_routes.json
-
3historic.json
-
37index.json
-
1internet.json
-
2lang/ast.json
-
2lang/ca.json
-
2lang/cs.json
-
2lang/de.json
-
2lang/el.json
-
4lang/en.json
-
2lang/es.json
-
2lang/et.json
-
42lang/fr.json
-
2lang/hu.json
-
2lang/it.json
-
2lang/ja.json
-
2lang/nl.json
-
2lang/pl.json
-
68lang/pt-br.json
-
2lang/ro.json
-
2lang/ru.json
-
68lang/template.json
-
2lang/uk.json
-
1leisure.json
-
1military.json
-
1natural.json
-
1other.json
-
1phone.json
-
1places.json
-
1places_geo.json
-
1playgrounds.json
-
3post.json
-
1power.json
-
1pt_amenities.json
-
3pt_routes.json
-
1pt_stops.json
-
1public.json
-
3railway-electrification.json
-
3railway-infrastructure.json
-
23religion.json
-
1residential.json
-
1resources.json
-
3shop.json
-
5sport.json
-
3tourism_attractions.json
-
7tourism_services.json
-
3walk_amenities.json
-
3waste.json
-
3water.json
-
3wikipedia.json
-
1works.json
@ -0,0 +1,74 @@ |
|||||
|
{ |
||||
|
"type": "overpass", |
||||
|
"name": { |
||||
|
"de": "Handwerk", |
||||
|
"en": "Craft", |
||||
|
"fr": "Artisanat" |
||||
|
}, |
||||
|
"query": { |
||||
|
"15": "(node[craft];way[craft];relation[craft];);" |
||||
|
}, |
||||
|
"feature": { |
||||
|
"description": "{{ tagTransList('craft', tags.craft) }}", |
||||
|
"markerSign": "{% set craft0 = tags.craft|split(';')[0] %}{% if const.crafts[craft0] %}{% set v = const.crafts[craft0] %}{% else %}{% set v = const.default %}{% endif %}{% if v|slice(0, 3) == 'fa-' %}<i class=\"fa {{ v }}\"></i>{% else %}{{ v|raw }}{% endif %}" |
||||
|
}, |
||||
|
"const": { |
||||
|
"default": "", |
||||
|
"crafts": { |
||||
|
"bakery": "fa-birthday-cake", |
||||
|
"beekeeper": "🐝", |
||||
|
"blacksmith": "🔨", |
||||
|
"boatbuilder": "⛵", |
||||
|
"bookbinder": "📕", |
||||
|
"brewery": "fa-beer", |
||||
|
"builder": "🚧", |
||||
|
"carpenter": "", |
||||
|
"carpet_layer": "", |
||||
|
"caterer": "fa-birthday-cake", |
||||
|
"chimney_sweeper": "", |
||||
|
"clockmaker": "⌚", |
||||
|
"confectionery": "", |
||||
|
"distillery": "🍷", |
||||
|
"dressmaker": "👚", |
||||
|
"electrician": "🔌", |
||||
|
"floorer": "", |
||||
|
"gardener": "⚘", |
||||
|
"glaziery": "", |
||||
|
"handicraft": "", |
||||
|
"hvac": "", |
||||
|
"insulation": "", |
||||
|
"jeweller": "💍", |
||||
|
"key_cutter": "🔑", |
||||
|
"locksmith": "🔑", |
||||
|
"metal_construction": "", |
||||
|
"optician": "👓", |
||||
|
"painter": "🖌", |
||||
|
"parquet_layer": "", |
||||
|
"photographer": "📷", |
||||
|
"photographic_laboratory": "📷", |
||||
|
"piano_tuner": "", |
||||
|
"plasterer": "", |
||||
|
"plumber": "", |
||||
|
"pottery": "", |
||||
|
"rigger": "", |
||||
|
"roofer": "", |
||||
|
"saddler": "🐎", |
||||
|
"sailmaker": "⛵", |
||||
|
"sawmill": "", |
||||
|
"scaffolder": "", |
||||
|
"sculptor": "", |
||||
|
"shoemaker": "👞", |
||||
|
"stand_builder": "", |
||||
|
"stonemason": "", |
||||
|
"sun_protection": "", |
||||
|
"tailor": "👚", |
||||
|
"tiler": "", |
||||
|
"tinsmith": "", |
||||
|
"turner": "", |
||||
|
"upholsterer": "", |
||||
|
"watchmaker": "⌚", |
||||
|
"window_construction": "", |
||||
|
"winery": "🍷" |
||||
|
} |
||||
|
} |
||||
|
} |
@ -0,0 +1,67 @@ |
|||||
|
{ |
||||
|
"type": "overpass", |
||||
|
"name": { |
||||
|
"de": "Rauchfreie Gastronomie", |
||||
|
"en": "Smokefree Gastronomy", |
||||
|
"fr": "Restauration sans tabac" |
||||
|
}, |
||||
|
"query": { |
||||
|
"16": "(node[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];way[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];relation[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];);" |
||||
|
}, |
||||
|
"feature": { |
||||
|
"pre": [ |
||||
|
"{% if tags.smoking == 'yes' or tags.smoking == 'dedicated' %}", |
||||
|
" {% set smoking_color='red' %}", |
||||
|
" {% set smoking_icon='🚬' %}", |
||||
|
"{% elseif tags.smoking == 'separated' or tags.smoking == 'isolated' %}", |
||||
|
" {% set smoking_color='#ffdf00' %}", |
||||
|
" {% set smoking_icon='🚬' %}", |
||||
|
"{% elseif tags.smoking == 'no' or tags.smoking == 'outside' or tags.smokefree == 'yes' %}", |
||||
|
" {% set smoking_color='#00ff00' %}", |
||||
|
" {% set smoking_icon='🚭' %}", |
||||
|
"{% else %}", |
||||
|
" {% set smoking_color='white' %}", |
||||
|
" {% set smoking_icon='' %}", |
||||
|
"{% endif %}" |
||||
|
], |
||||
|
"description": "{{ tagTrans('amenity', tags.amenity) }}", |
||||
|
"body": [ |
||||
|
"<ul>", |
||||
|
" <li class='hasSymbol'>", |
||||
|
" <i class=\"fa fa-cutlery\" aria-hidden=\"true\"></i>", |
||||
|
" <span class='key'>{{ keyTrans('cuisine') }}:</span>", |
||||
|
" <span class='value'>{{ tagTransList('cuisine', tags.cuisine)|default(trans('unknown')) }}</span>", |
||||
|
" </li>", |
||||
|
" <li class='hasSymbol'>", |
||||
|
" <span class='symbol'>🚬</span>", |
||||
|
" <span class='key'>{{ keyTrans('smoking') }}:</span>", |
||||
|
" <span class='value'>{% if tags.smoking %}{{ tagTrans('smoking', tags.smoking) }}{% else %}{{ trans('unknown') }}{% endif %}</span>", |
||||
|
" </li>", |
||||
|
"</ul>" |
||||
|
], |
||||
|
"markerSign": "{% if tags.amenity=='bar' %}🍸{% elseif tags.amenity=='biergarten'%}🍻{% elseif tags.amenity=='cafe' %}☕{% elseif tags.amenity=='fast_food' %}🍔{% elseif tags.amenity=='ice_cream' %}🍨{% elseif tags.amenity=='pub' %}🍺{% else %}🍴{% endif %}", |
||||
|
"markerSymbol": "{{ markerPointer({\"fillColor\": smoking_color })|raw }}", |
||||
|
"listMarkerSymbol": "{{ markerCircle({\"fillColor\": smoking_color })|raw }}" |
||||
|
}, |
||||
|
"info": [ |
||||
|
"{{ keyTrans('smoking') }}:", |
||||
|
"<table>", |
||||
|
" <tr>", |
||||
|
" <td>{{ markerCircle({ \"fillColor\": \"#00ff00\" })|raw }}</td>", |
||||
|
" <td>{{ tagTrans('smoking', 'no') }}, {{ tagTrans('smoking', 'outside') }}</td>", |
||||
|
" </tr>", |
||||
|
" <tr>", |
||||
|
" <td>{{ markerCircle({ \"fillColor\": \"#ffdf00\" })|raw }}</td>", |
||||
|
" <td>{{ tagTrans('smoking', 'separated') }}, {{ tagTrans('smoking', 'isolated') }}</td>", |
||||
|
" </tr>", |
||||
|
" <tr>", |
||||
|
" <td>{{ markerCircle({ \"fillColor\": \"red\" })|raw }}</td>", |
||||
|
" <td>{{ tagTrans('smoking', 'yes') }}, {{ tagTrans('smoking', 'dedicated') }}</td>", |
||||
|
" </tr>", |
||||
|
" <tr>", |
||||
|
" <td>{{ markerCircle({ \"fillColor\": \"white\" })|raw }}</td>", |
||||
|
" <td>{{ trans('unknown') }}</td>", |
||||
|
" </tr>", |
||||
|
"</table>" |
||||
|
] |
||||
|
} |
@ -0,0 +1,68 @@ |
|||||
|
{ |
||||
|
"category:administrative": "Divisão Político-Administrativa", |
||||
|
"category:agriculture": "Agricultura", |
||||
|
"category:alternative_amenities": "Equipamentos", |
||||
|
"category:alternative_routes": "Rotas", |
||||
|
"category:buildings": "Edificações", |
||||
|
"category:car_amenities": "Equipamentos", |
||||
|
"category:car_furniture": "Mobiliário Urbano", |
||||
|
"category:car_maxspeed": "Velocidade Máxima", |
||||
|
"category:children": "Equipamentos Infantis", |
||||
|
"category:communication": "Comunicação", |
||||
|
"category:construction": "Canteiros de Obras", |
||||
|
"category:craft": "", |
||||
|
"category:culture": "Cultura", |
||||
|
"category:culture_religion": "Cultura", |
||||
|
"category:cycle_amenities": "Equipamentos", |
||||
|
"category:cycle_routes": "Ciclorrotas", |
||||
|
"category:education": "Educação", |
||||
|
"category:emergency": "Emergência", |
||||
|
"category:financial": "Finanças", |
||||
|
"category:gastro-smoking": "", |
||||
|
"category:gastro": "Gastronomia", |
||||
|
"category:health": "Saúde e Assistência", |
||||
|
"category:hiking_routes": "Rotas de Caminhada", |
||||
|
"category:historic": "Histórico", |
||||
|
"category:index": null, |
||||
|
"category:internet": "Acesso à Internet", |
||||
|
"category:leisure": "Lazer", |
||||
|
"category:military": "Militar", |
||||
|
"category:natural": "Formações Naturais", |
||||
|
"category:other": "Outros", |
||||
|
"category:phone": "Telefone", |
||||
|
"category:places": "Lugares", |
||||
|
"category:places_geo": "Lugares", |
||||
|
"category:playgrounds": "Parquinhos", |
||||
|
"category:post": "Correios", |
||||
|
"category:power": "Energia", |
||||
|
"category:pt_amenities": "Equipamentos", |
||||
|
"category:pt_routes": "Rotas", |
||||
|
"category:pt_stops": "Paradas e Estações", |
||||
|
"category:public": "Serviços Públicos", |
||||
|
"category:railway-electrification": "Eletrificação Ferroviária", |
||||
|
"category:railway-infrastructure": "Infraestrutura Ferroviária", |
||||
|
"category:religion": "Religião", |
||||
|
"category:residential": "Áreas Residenciais", |
||||
|
"category:resources": "Extração de Recursos", |
||||
|
"category:shop": "Compras", |
||||
|
"category:sport": "Esportes", |
||||
|
"category:tourism_attractions": "Turismo", |
||||
|
"category:tourism_services": "Turismo", |
||||
|
"category:transport_alternative": null, |
||||
|
"category:walk_amenities": "Equipamentos", |
||||
|
"category:waste": "Lixo", |
||||
|
"category:water": "Hidrografia", |
||||
|
"category:wikipedia": "Wikipédia", |
||||
|
"category:works": "Fábricas", |
||||
|
"category:cycle_infrastructure": "Ciclovias", |
||||
|
"category:infrastructure": "Infraestrutura", |
||||
|
"category:leisure_sport_shopping": "Lazer, Esportes e Compras", |
||||
|
"category:railway": "Ferrovia", |
||||
|
"category:services": "Serviços", |
||||
|
"category:special": "Especial", |
||||
|
"category:transport": "Transportes", |
||||
|
"category:transport_car": "Tráfego Individual", |
||||
|
"category:transport_cycle": "Ciclismo", |
||||
|
"category:transport_pt": "Transporte Público", |
||||
|
"category:transport_walk": "Pedestre" |
||||
|
} |
@ -0,0 +1,68 @@ |
|||||
|
{ |
||||
|
"category:administrative": "", |
||||
|
"category:agriculture": "", |
||||
|
"category:alternative_amenities": "", |
||||
|
"category:alternative_routes": "", |
||||
|
"category:buildings": "", |
||||
|
"category:car_amenities": "", |
||||
|
"category:car_furniture": "", |
||||
|
"category:car_maxspeed": "", |
||||
|
"category:children": "", |
||||
|
"category:communication": "", |
||||
|
"category:construction": "", |
||||
|
"category:craft": "", |
||||
|
"category:culture": "", |
||||
|
"category:culture_religion": "", |
||||
|
"category:cycle_amenities": "", |
||||
|
"category:cycle_routes": "", |
||||
|
"category:education": "", |
||||
|
"category:emergency": "", |
||||
|
"category:financial": "", |
||||
|
"category:gastro-smoking": "", |
||||
|
"category:gastro": "", |
||||
|
"category:health": "", |
||||
|
"category:hiking_routes": "", |
||||
|
"category:historic": "", |
||||
|
"category:index": "", |
||||
|
"category:internet": "", |
||||
|
"category:leisure": "", |
||||
|
"category:military": "", |
||||
|
"category:natural": "", |
||||
|
"category:other": "", |
||||
|
"category:phone": "", |
||||
|
"category:places": "", |
||||
|
"category:places_geo": "", |
||||
|
"category:playgrounds": "", |
||||
|
"category:post": "", |
||||
|
"category:power": "", |
||||
|
"category:pt_amenities": "", |
||||
|
"category:pt_routes": "", |
||||
|
"category:pt_stops": "", |
||||
|
"category:public": "", |
||||
|
"category:railway-electrification": "", |
||||
|
"category:railway-infrastructure": "", |
||||
|
"category:religion": "", |
||||
|
"category:residential": "", |
||||
|
"category:resources": "", |
||||
|
"category:shop": "", |
||||
|
"category:sport": "", |
||||
|
"category:tourism_attractions": "", |
||||
|
"category:tourism_services": "", |
||||
|
"category:transport_alternative": "", |
||||
|
"category:walk_amenities": "", |
||||
|
"category:waste": "", |
||||
|
"category:water": "", |
||||
|
"category:wikipedia": "", |
||||
|
"category:works": "", |
||||
|
"category:cycle_infrastructure": "", |
||||
|
"category:infrastructure": "", |
||||
|
"category:leisure_sport_shopping": "", |
||||
|
"category:railway": "", |
||||
|
"category:services": "", |
||||
|
"category:special": "", |
||||
|
"category:transport": "", |
||||
|
"category:transport_car": "", |
||||
|
"category:transport_cycle": "", |
||||
|
"category:transport_pt": "", |
||||
|
"category:transport_walk": "" |
||||
|
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue