Igor Eliezer
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
75 changed files with 1208 additions and 599 deletions
-
1administrative.json
-
3agriculture.json
-
1alternative_routes.json
-
1buildings.json
-
5car_amenities.json
-
1car_furniture.json
-
1car_maxspeed.json
-
59car_routes.json
-
1communication.json
-
1construction.json
-
1craft.json
-
1culture.json
-
1culture_religion.json
-
90cycle_routes.json
-
1education.json
-
3emergency.json
-
1financial.json
-
1gastro-smoking.json
-
13gastro.json
-
3health.json
-
90hiking_routes.json
-
3historic.json
-
44index.json
-
1internet.json
-
33lang/ast.json
-
101lang/ca.json
-
33lang/cs.json
-
13lang/de.json
-
63lang/el.json
-
13lang/en.json
-
103lang/es.json
-
69lang/et.json
-
13lang/fr.json
-
65lang/hu.json
-
41lang/it.json
-
39lang/ja.json
-
35lang/nl.json
-
85lang/pl.json
-
13lang/pt-br.json
-
71lang/pt.json
-
57lang/ro.json
-
41lang/ru.json
-
21lang/template.json
-
55lang/uk.json
-
1leisure.json
-
1military.json
-
51mtb-routes.json
-
1natural.json
-
1other.json
-
13outdoor.json
-
1phone.json
-
1places.json
-
1places_geo.json
-
1playgrounds.json
-
21popupBody.html
-
1post.json
-
1power.json
-
193pt.json
-
81pt_routes.json
-
48pt_stops.json
-
1public.json
-
7railway-electrification.json
-
20railway-infrastructure.json
-
58railway-routes.json
-
1religion.json
-
1residential.json
-
1resources.json
-
1shop.json
-
1sport.json
-
1tourism_attractions.json
-
3tourism_services.json
-
1waste.json
-
1water.json
-
1wikipedia.json
-
1works.json
@ -0,0 +1,59 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"en": "Car routes" |
|||
}, |
|||
"query": { |
|||
"10": "relation[type=route][route=road]" |
|||
}, |
|||
"members": true, |
|||
"feature": { |
|||
"pre": "{% set color = '#' ~ tags.network|default('')|md5|slice(0, 6) %}", |
|||
"description": "{% if tags.network %}{{ tagTrans('network', tags.network) }}{% endif %}", |
|||
"title": "{% if tags.ref and tags.name %}{{ tags.ref }} - {{ tags.name }}{% elseif tags.ref %}{{ tags.ref }}{% elseif tags.name %}{{ tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}", |
|||
"listMarkerSymbol": "{{ markerLine({ 'width': 4, 'color': color })|raw }}", |
|||
"markerSymbol": "", |
|||
"styles": "" |
|||
}, |
|||
"memberFeature": { |
|||
"pre": [ |
|||
"{% set refs = [] %}", |
|||
"{% set color = '#d41d8c' %}", |
|||
"{% if tags.ref %}", |
|||
" {% set refs = refs|merge([ tags.ref ]) %}", |
|||
"{% endif %}", |
|||
"", |
|||
"{% for master in masters %}", |
|||
" {% if master.tags.network %}", |
|||
" {% set color = '#' ~ master.tags.network|md5|slice(0, 6) %}", |
|||
" {% endif %}", |
|||
" {% if master.tags.ref %}", |
|||
" {% set refs = refs|merge([ master.tags.ref ]) %}", |
|||
" {% endif %}", |
|||
"{% endfor %}" |
|||
], |
|||
"body": [ |
|||
"<h4>Routes</h4>", |
|||
"<ul>", |
|||
"{% for master in masters %}", |
|||
" {% set _color = '#' ~ master.tags.operator|default('')|md5|slice(0, 6) %}", |
|||
" <li data-object=\"{{ master.id }}\" style='list-style: none;'>", |
|||
" <span class='markerParent'><div class='marker'>{{ markerLine({ width: 4, color: _color })|raw }}</div></span>", |
|||
" <span class='title'>{% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}</span>", |
|||
" <span class='description'>{{ tagTrans('network', master.tags.network) }}</span>", |
|||
" </li>", |
|||
"{% endfor %}", |
|||
"</ul>" |
|||
], |
|||
"listExclude": "1", |
|||
"style": { |
|||
"color": "{{ color }}", |
|||
"width": 4, |
|||
"opacity": 1, |
|||
"text": "{{ refs|join(' ') }} ", |
|||
"textRepeat": "1", |
|||
"textOffset": "12", |
|||
"textFontWeight": "bold" |
|||
} |
|||
} |
|||
} |
@ -1,60 +1,63 @@ |
|||
{ |
|||
"category:administrative": null, |
|||
"category:agriculture": null, |
|||
"category:alternative_amenities": null, |
|||
"category:alternative_routes": null, |
|||
"category:buildings": null, |
|||
"category:car_amenities": null, |
|||
"category:car_furniture": null, |
|||
"category:car_maxspeed": null, |
|||
"category:children": null, |
|||
"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": "Comunicacions", |
|||
"category:construction": null, |
|||
"category:construction": "", |
|||
"category:craft": "", |
|||
"category:culture": "Cultura", |
|||
"category:culture_religion": "Cultura i religió", |
|||
"category:cycle_amenities": null, |
|||
"category:cycle_routes": null, |
|||
"category:education": null, |
|||
"category:cycle_amenities": "", |
|||
"category:cycle_routes": "", |
|||
"category:education": "", |
|||
"category:emergency": "Serveis d'emergència", |
|||
"category:financial": null, |
|||
"category:financial": "", |
|||
"category:gastro-smoking": "", |
|||
"category:gastro": null, |
|||
"category:health": null, |
|||
"category:hiking_routes": null, |
|||
"category:historic": null, |
|||
"category:index": null, |
|||
"category:gastro": "", |
|||
"category:health": "", |
|||
"category:hiking_routes": "", |
|||
"category:historic": "", |
|||
"category:index": "", |
|||
"category:internet": "Accés a Internet", |
|||
"category:leisure": null, |
|||
"category:military": null, |
|||
"category:natural": null, |
|||
"category:other": null, |
|||
"category:phone": null, |
|||
"category:places": null, |
|||
"category:places_geo": null, |
|||
"category:playgrounds": null, |
|||
"category:post": null, |
|||
"category:power": null, |
|||
"category:pt_amenities": null, |
|||
"category:pt_routes": null, |
|||
"category:pt_stops": null, |
|||
"category:public": null, |
|||
"category:railway-electrification": null, |
|||
"category:railway-infrastructure": null, |
|||
"category:religion": null, |
|||
"category:residential": null, |
|||
"category:resources": null, |
|||
"category:shop": null, |
|||
"category:sport": null, |
|||
"category:tourism_attractions": null, |
|||
"category:tourism_services": null, |
|||
"category:transport_alternative": null, |
|||
"category:walk_amenities": null, |
|||
"category:waste": null, |
|||
"category:water": null, |
|||
"category:wikipedia": null, |
|||
"category:works": null, |
|||
"category:cycle_infrastructure": null, |
|||
"category:leisure": "", |
|||
"category:military": "", |
|||
"category:mtb-routes": "", |
|||
"category:natural": "", |
|||
"category:other": "", |
|||
"category:outdoor": "", |
|||
"category:phone": "", |
|||
"category:places": "", |
|||
"category:places_geo": "", |
|||
"category:playgrounds": "", |
|||
"category:post": "", |
|||
"category:power": "", |
|||
"category:pt": "", |
|||
"category:pt:stops": "", |
|||
"category:pt:routes": "", |
|||
"category:pt_amenities": "", |
|||
"category:public": "", |
|||
"category:railway-electrification": "", |
|||
"category:railway-infrastructure": "", |
|||
"category:railway-routes": "", |
|||
"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:leisure_sport_shopping": "Oci, esport i compres", |
|||
"category:services": "Serveis" |
|||
} |
@ -1,60 +1,63 @@ |
|||
{ |
|||
"category:administrative": null, |
|||
"category:agriculture": null, |
|||
"category:alternative_amenities": null, |
|||
"category:alternative_routes": null, |
|||
"category:buildings": null, |
|||
"category:car_amenities": null, |
|||
"category:car_furniture": null, |
|||
"category:car_maxspeed": null, |
|||
"category:children": null, |
|||
"category:communication": null, |
|||
"category:construction": null, |
|||
"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": "Cultura", |
|||
"category:culture_religion": "Cultura y religión", |
|||
"category:cycle_amenities": null, |
|||
"category:cycle_routes": null, |
|||
"category:education": null, |
|||
"category:cycle_amenities": "", |
|||
"category:cycle_routes": "", |
|||
"category:education": "", |
|||
"category:emergency": "Servicios de emergencia", |
|||
"category:financial": null, |
|||
"category:financial": "", |
|||
"category:gastro-smoking": "", |
|||
"category:gastro": null, |
|||
"category:health": null, |
|||
"category:hiking_routes": null, |
|||
"category:historic": null, |
|||
"category:index": null, |
|||
"category:gastro": "", |
|||
"category:health": "", |
|||
"category:hiking_routes": "", |
|||
"category:historic": "", |
|||
"category:index": "", |
|||
"category:internet": "Acceso a Internet", |
|||
"category:leisure": null, |
|||
"category:military": null, |
|||
"category:natural": null, |
|||
"category:other": null, |
|||
"category:phone": null, |
|||
"category:places": null, |
|||
"category:places_geo": null, |
|||
"category:playgrounds": null, |
|||
"category:post": null, |
|||
"category:power": null, |
|||
"category:pt_amenities": null, |
|||
"category:pt_routes": null, |
|||
"category:pt_stops": "Paradas y estaciones", |
|||
"category:public": null, |
|||
"category:railway-electrification": null, |
|||
"category:railway-infrastructure": null, |
|||
"category:religion": null, |
|||
"category:residential": null, |
|||
"category:resources": null, |
|||
"category:shop": null, |
|||
"category:sport": null, |
|||
"category:tourism_attractions": null, |
|||
"category:tourism_services": null, |
|||
"category:transport_alternative": null, |
|||
"category:walk_amenities": null, |
|||
"category:waste": null, |
|||
"category:water": null, |
|||
"category:wikipedia": null, |
|||
"category:works": null, |
|||
"category:cycle_infrastructure": null, |
|||
"category:leisure": "", |
|||
"category:military": "", |
|||
"category:mtb-routes": "", |
|||
"category:natural": "", |
|||
"category:other": "", |
|||
"category:outdoor": "", |
|||
"category:phone": "", |
|||
"category:places": "", |
|||
"category:places_geo": "", |
|||
"category:playgrounds": "", |
|||
"category:post": "", |
|||
"category:power": "", |
|||
"category:pt": "", |
|||
"category:pt:stops": "Paradas y estaciones", |
|||
"category:pt:routes": "", |
|||
"category:pt_amenities": "", |
|||
"category:public": "", |
|||
"category:railway-electrification": "", |
|||
"category:railway-infrastructure": "", |
|||
"category:railway-routes": "", |
|||
"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:leisure_sport_shopping": "Ocio, deporte y compras", |
|||
"category:services": "Servicios" |
|||
} |
@ -1,60 +1,63 @@ |
|||
{ |
|||
"category:administrative": "Adminisztratív határok", |
|||
"category:agriculture": "Mezőgazdaság", |
|||
"category:alternative_amenities": null, |
|||
"category:alternative_routes": null, |
|||
"category:buildings": null, |
|||
"category:car_amenities": null, |
|||
"category:car_furniture": null, |
|||
"category:car_maxspeed": null, |
|||
"category:children": null, |
|||
"category:alternative_amenities": "", |
|||
"category:alternative_routes": "", |
|||
"category:buildings": "", |
|||
"category:car_amenities": "", |
|||
"category:car_furniture": "", |
|||
"category:car_maxspeed": "", |
|||
"category:children": "", |
|||
"category:communication": "Kommunikácó", |
|||
"category:construction": null, |
|||
"category:construction": "", |
|||
"category:craft": "", |
|||
"category:culture": "Kultúra", |
|||
"category:culture_religion": "Kultúra", |
|||