Igor Eliezer
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
72 changed files with 876 additions and 288 deletions
-
2administrative.json
-
1alternative_amenities.json
-
1alternative_routes.json
-
1buildings.json
-
1car_amenities.json
-
1car_furniture.json
-
6car_maxspeed.json
-
13car_routes.json
-
1children.json
-
39coal.json
-
1construction.json
-
1craft.json
-
5culture_religion.json
-
1cycle_amenities.json
-
3cycle_routes.json
-
5detailsBody.html
-
1education.json
-
4electric_power.json
-
1emergency.json
-
1financial.json
-
1gastro-smoking.json
-
2gastro.json
-
3health.json
-
3hiking_routes.json
-
22historic.json
-
41index.json
-
2internet.json
-
31lang/ast.json
-
27lang/ca.json
-
31lang/cs.json
-
35lang/de.json
-
29lang/el.json
-
35lang/en.json
-
27lang/es.json
-
30lang/et.json
-
35lang/fr.json
-
110lang/hu.json
-
31lang/it.json
-
31lang/ja.json
-
31lang/nl.json
-
30lang/pl.json
-
36lang/pt-br.json
-
35lang/pt.json
-
30lang/ro.json
-
31lang/ru.json
-
23lang/template.json
-
30lang/uk.json
-
1leisure.json
-
67memorial.json
-
2military.json
-
3mtb-routes.json
-
62oil_gas.json
-
1outdoor.json
-
1playgrounds.json
-
5popupBody.html
-
10pt.json
-
1pt_amenities.json
-
1public.json
-
1railway-electrification.json
-
1railway-infrastructure.json
-
117railway-maxspeed.json
-
3railway-routes.json
-
15religion.json
-
1resources.json
-
2tourism_attractions.json
-
2tourism_services.json
-
2transport_alternative.json
-
1walk_amenities.json
-
1waste.json
-
1water.json
-
1wikipedia.json
-
1works.json
@ -0,0 +1,39 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Kohle", |
|||
"en": "Coal" |
|||
}, |
|||
"query": { |
|||
"11": [ |
|||
"(", |
|||
"node[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
|||
"way[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
|||
"relation[landuse~\"^(quarry)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
|||
"node[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
|||
"way[man_made~\"^(mineshaft)$\"][resource~\"^(|.*;)coal(|;.*)$\"];", |
|||
"way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal)(|;.*)$\"];", |
|||
"relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(coal)(|;.*)$\"];", |
|||
"node[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];", |
|||
"way[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];", |
|||
"relation[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(coal)(|;.*)$\"];", |
|||
")" |
|||
] |
|||
}, |
|||
"feature": { |
|||
"description": [ |
|||
"{% if tags.man_made == 'pipeline' %}", |
|||
"{{ tagTrans('man_made', 'pipeline') }} ({{ tagTrans('substance', tags.substance) }})", |
|||
"{% elseif tags.man_made %}", |
|||
"{{ tagTrans('man_made', tags.man_made) }}", |
|||
"{% elseif tags.power == 'plant' %}", |
|||
"{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}", |
|||
"{% elseif tags.landuse == 'quarry' %}", |
|||
"{{ tagTrans('landuse', tags.landuse) }} {% if tags.resource %}({{ tagTrans('resource', tags.resource) }}){% endif %}", |
|||
"{% elseif tags.landuse == 'industrial' %}", |
|||
"{{ tagTrans('landuse', tags.landuse) }} ({{ tagTrans('industrial', tags.industrial) }})", |
|||
"{% endif %}" |
|||
], |
|||
"markerSymbol": null |
|||
} |
|||
} |
@ -1,66 +1,78 @@ |
|||
{ |
|||
"category:administrative": "Adminisztratív határok", |
|||
"category:administrative": "Közigazgatási határok", |
|||
"category:agriculture": "Mezőgazdaság", |
|||
"category:alternative_amenities": "", |
|||
"category:alternative_routes": "", |
|||
"category:buildings": "", |
|||
"category:car_amenities": "", |
|||
"category:car_furniture": "", |
|||
"category:car_maxspeed": "", |
|||
"category:children": "", |
|||
"category:alternative_amenities": "Létesítmények", |
|||
"category:alternative_routes": "Útvonalak", |
|||
"category:buildings": "Épületek", |
|||
"category:car_amenities": "Létesítmények", |
|||
"category:car_furniture": "Jelzőtáblák", |
|||
"category:car_maxspeed": "Sebességkorlátozás", |
|||
"category:car_routes": "Főútvonalak", |
|||
"category:children": "Gyermekek", |
|||
"category:coal": "", |
|||
"category:communication": "Kommunikácó", |
|||
"category:construction": "", |
|||
"category:craft": "", |
|||
"category:construction": "Építési terület", |
|||
"category:craft": "Műhelyek", |
|||
"category:culture": "Kultúra", |
|||
"category:culture_religion": "Kultúra", |
|||
"category:cycle_amenities": "", |
|||
"category:cycle_routes": "", |
|||
"category:education": "", |
|||
"category:emergency": "", |
|||
"category:financial": "", |
|||
"category:gastro-smoking": "", |
|||
"category:gastro": "Gasztronómia", |
|||
"category:health": "", |
|||
"category:hiking_routes": "", |
|||
"category:historic": "Historikus", |
|||
"category:index": "", |
|||
"category:internet": "Internethozzáférés", |
|||
"category:leisure": "", |
|||
"category:military": "Katonai", |
|||
"category:mtb-routes": "", |
|||
"category:culture_religion": "Kultúra és vallás", |
|||
"category:cycle_amenities": "Kerékpáros létesítmények", |
|||
"category:cycle_routes": "Kerékpáros útvonalak", |
|||
"category:education": "Oktatás", |
|||
"category:electric_power": "Áramellátás", |
|||
"category:emergency": "Vészhelyzet", |
|||
"category:energy": "", |
|||
"category:financial": "Pénzügyek", |
|||
"category:gastro": "Vendéglátás", |
|||
"category:gastro-smoking": "Nem dohányzó vendéglátóhelyek", |
|||
"category:health": "Egészségügy", |
|||
"category:hiking_routes": "Turistautak", |
|||
"category:historic": "Történelmi objektumok", |
|||
"category:index": "Tartalom", |
|||
"category:infrastructure": "Infrastruktúra", |
|||
"category:internet": "Internetcsatlakozás", |
|||
"category:leisure": "Szabadidő", |
|||
"category:leisure_sport_shopping": "Szabadidő, sport és vásárlás", |
|||
"category:memorial": "", |
|||
"category:military": "Katonai objektumok", |
|||
"category:mtb-routes": "Hegyikerékpáros útvonalak", |
|||
"category:natural": "Természeti képződmények", |
|||
"category:network": "", |
|||
"category:oil_gas": "", |
|||
"category:other": "Egyéb", |
|||
"category:outdoor": "", |
|||
"category:outdoor": "Szabadtéri tevékenységek", |
|||
"category:phone": "Telefon", |
|||
"category:places": "Helyek", |
|||
"category:places_geo": "Helyek", |
|||
"category:playgrounds": "", |
|||
"category:playgrounds": "Játszóterek", |
|||
"category:post": "Posta", |
|||
"category:power": "Áramellátás", |
|||
"category:pt": "", |
|||
"category:pt": "Tömegközlekedési térkép", |
|||
"category:pt:routes": "Útvonalak", |
|||
"category:pt:stops": "Megállók és állomások", |
|||
"category:pt:routes": "", |
|||
"category:pt_amenities": "", |
|||
"category:public": "", |
|||
"category:railway-electrification": "", |
|||
"category:railway-infrastructure": "", |
|||
"category:railway-routes": "", |
|||
"category:pt_amenities": "Létesítmények", |
|||
"category:public": "Közszolgáltatások", |
|||
"category:railway": "Vasút", |
|||
"category:railway-electrification": "Vasút villamosítottsága", |
|||
"category:railway-infrastructure": "Vasúti infrastruktúra", |
|||
"category:railway-maxspeed": "Sebességkorlátozás", |
|||
"category:railway-routes": "Vasútvonalak", |
|||
"category:religion": "Vallás", |
|||
"category:residential": "Lakóövezetek", |
|||
"category:resources": "", |
|||
"category:resources": "Bányászat", |
|||
"category:services": "Szolgáltatások", |
|||
"category:shop": "Vásárlás", |
|||
"category:special": "Speciális", |
|||
"category:sport": "Sport", |
|||
"category:tourism_attractions": "Túrizmus", |
|||
"category:tourism_services": "Túrizmus", |
|||
"category:transport_alternative": "Alternatív (Krékpár, Túra)", |
|||
"category:walk_amenities": "", |
|||
"category:waste": "", |
|||
"category:water": "", |
|||
"category:wikipedia": "", |
|||
"category:works": "", |
|||
"category:leisure_sport_shopping": "Szabadidő", |
|||
"category:railway": "Vasút", |
|||
"category:services": "Szolgáltatás", |
|||
"category:tourism_attractions": "Látnivalók", |
|||
"category:tourism_services": "Turisztikai szolgáltatások", |
|||
"category:transport": "Közlekedés", |
|||
"category:transport_pt": "Tömegközlekedés" |
|||
"category:transport_alternative": "Alternatív (Kerékpár, Túra)", |
|||
"category:transport_car": "Autós közlekedés", |
|||
"category:transport_cycle": "Kerékpáros közlekedés", |
|||
"category:transport_pt": "Tömegközlekedés", |
|||
"category:transport_walk": "Gyalogos közlekedés", |
|||
"category:walk_amenities": "Gyalogos létesítmények", |
|||
"category:waste": "Hulladék", |
|||
"category:water": "Vizek", |
|||
"category:wikipedia": "Wikipédia", |
|||
"category:works": "Üzemek" |
|||
} |
@ -0,0 +1,67 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Denkmäler", |
|||
"en": "Memorials" |
|||
}, |
|||
"query": { |
|||
"11": [ |
|||
"(", |
|||
"node[historic~\"^(monument)$\"];", |
|||
"way[historic~\"^(monument)$\"];", |
|||
"relation[historic~\"^(monument)$\"];", |
|||
")" |
|||
], |
|||
"14": [ |
|||
"(", |
|||
"node[historic~\"^(memorial|monument)$\"];", |
|||
"way[historic~\"^(memorial|monument)$\"];", |
|||
"relation[historic~\"^(memorial|monument)$\"];", |
|||
")" |
|||
] |
|||
}, |
|||
"feature": { |
|||
"pre": [ |
|||
"{% set value = tags.historic %}", |
|||
"{% if tags.historic == 'memorial' and tags.memorial %}", |
|||
" {% set value = tags.historic ~ ' memorial=' ~ tags.memorial %}", |
|||
"{% elseif tags.historic == 'memorial' and attribute(tags, 'memorial:type') %}", |
|||
" {% set value = tags.historic ~ ' memorial=' ~ attribute(tags, 'memorial:type') %}", |
|||
"{% endif %}" |
|||
], |
|||
"description": "{{ tagTransList('historic', value) }}", |
|||
"markerSign": "{{ const[value].sign|raw }}" |
|||
}, |
|||
"info": [ |
|||
"<table>", |
|||
"{% for value, data in const %}", |
|||
"{% if data.zoom <= map.zoom %}", |
|||
" <tr>", |
|||
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>", |
|||
" <td>{{ tagTrans('historic', value) }}</td>", |
|||
" </tr>", |
|||
"{% endif %}", |
|||
"{% endfor %}", |
|||
"{% if 14 <= map.zoom %}", |
|||
" <tr>", |
|||
" <td>{{ markerCircle({})|raw }}<div class='sign'></div></td>", |
|||
" <td>{{ trans('other') }}</td>", |
|||
" </tr>", |
|||
"{% endif %}", |
|||
"</table>" |
|||
], |
|||
"const": { |
|||
"memorial": { |
|||
"sign": "<span style='position: relative; top: -2px;'><img src='maki:monument?size=11'></span>", |
|||
"zoom": 14 |
|||
}, |
|||
"memorial memorial=plaque": { |
|||
"sign": "", |
|||
"zoom": 14 |
|||
}, |
|||
"monument": { |
|||
"sign": "<img src='maki:monument?size=15'>", |
|||
"zoom": 11 |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,62 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Erdöl und Erdgas", |
|||
"en": "Petroleum and natural gas" |
|||
}, |
|||
"query": { |
|||
"11": [ |
|||
"(", |
|||
"way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
|||
"relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
|||
"node[landuse=industrial][industrial~\"^(|.*;)(refinery)(|;.*)$\"];", |
|||
"way[landuse=industrial][industrial~\"^(|.*;)(refinery)(|;.*)$\"];", |
|||
"relation[landuse=industrial][industrial~\"^(|.*;)(refinery)(|;.*)$\"];", |
|||
"way[waterway=offshore_field];", |
|||
"relation[waterway=offshore_field];", |
|||
"node[man_made~\"^(offshore_platform)$\"];", |
|||
"way[man_made~\"^(offshore_platform)$\"];", |
|||
"relation[man_made~\"^(offshore_platform)$\"];", |
|||
"node[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
|||
"way[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
|||
"relation[power~\"^(plant)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
|||
")" |
|||
], |
|||
"13": [ |
|||
"(", |
|||
"way[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
|||
"relation[man_made~\"^(pipeline|goods_conveyor)$\"][substance~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
|||
"node[landuse=industrial][industrial~\"^(|.*;)(oil|gas|lng|cng|multiphase|refinery|oil_refinery)(|;.*)$\"];", |
|||
"way[landuse=industrial][industrial~\"^(|.*;)(oil|gas|lng|cng|multiphase|refinery|oil_refinery)(|;.*)$\"];", |
|||
"relation[landuse=industrial][industrial~\"^(|.*;)(oil|gas|lng|cng|multiphase|refinery|oil_refinery)(|;.*)$\"];", |
|||
"way[waterway=offshore_field];", |
|||
"relation[waterway=offshore_field];", |
|||
"node[man_made~\"^(petroleum_well|offshore_platform|gasometer|oil_tank|gas_cavern)$\"];", |
|||
"node[man_made~\"^(storage_tank)$\"][contents~\"^(oil|gas|lng|cng|multiphase)$\"];", |
|||
"way[man_made~\"^(petroleum_well|offshore_platform|gasometer|oil_tank|gas_cavern)$\"];", |
|||
"way[man_made~\"^(storage_tank)$\"][contents~\"^(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
|||
"relation[man_made~\"^(petroleum_well|offshore_platform|gasometer|oil_tank|gas_cavern)(|;.*)$\"];", |
|||
"relation[man_made~\"^(storage_tank)$\"][contents~\"^(|.*;)(oil|gas|lng|cng|multiphase)(|;.*)$\"];", |
|||
"node[power~\"^(plant|generator)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
|||
"way[power~\"^(plant|generator)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
|||
"relation[power~\"^(plant|generator)$\"][\"generator:source\"~\"^(|.*;)(oil|gas|diesel|gasoline)(|;.*)$\"];", |
|||
")" |
|||
] |
|||
}, |
|||
"feature": { |
|||
"description": [ |
|||
"{% if tags.man_made == 'pipeline' %}", |
|||
"{{ tagTrans('man_made', 'pipeline') }} ({{ tagTrans('substance', tags.substance) }})", |
|||
"{% elseif tags.man_made %}", |
|||
"{{ tagTrans('man_made', tags.man_made) }}", |
|||
"{% elseif tags.power == 'plant' %}", |
|||
"{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}", |
|||
"{% elseif tags.waterway == 'offshore_field' %}", |
|||
"{{ tagTrans('waterway', tags.waterway) }}", |
|||
"{% elseif tags.landuse == 'industrial' %}", |
|||
"{{ tagTrans('landuse', tags.landuse) }} ({{ tagTrans('industrial', tags.industrial) }})", |
|||
"{% endif %}" |
|||
], |
|||
"markerSymbol": null |
|||
} |
|||
} |
@ -0,0 +1,117 @@ |
|||
{ |
|||
"type": "overpass", |
|||
"name": { |
|||
"de": "Eisenbahn Höchstgeschwindigkeiten", |
|||
"en": "Railway Maxspeed", |
|||
"fr": "Limites de vitesse", |
|||
"hu": "Sebességkorlátozás", |
|||
"pt": "Velocidade máxima", |
|||
"pt-br": "Velocidade máxima" |
|||
}, |
|||
"query": { |
|||
"11": "way[railway=rail][railway!~'^(platform|abandoned|disused|station|proposed|subway_entrance)$'][usage~'^(main|branch)$'];", |
|||
"14": "way[railway][railway!~'^(platform|abandoned|disused|station|proposed|subway_entrance)$'];" |
|||
}, |
|||
"feature": { |
|||
"pre": [ |
|||
"{% if tags.maxspeed is not defined %}", |
|||
"{% set maxspeedKmh = null %}", |
|||
"{% set maxspeed = null %}", |
|||
"{% set unit = null %}", |
|||
"{% else %}", |
|||
"", |
|||
"{% if tags.maxspeed|matches(\"^[0-9]+$\") %}", |
|||
"{% set maxspeedKmh = tags.maxspeed %}", |
|||
"{% set maxspeed = tags.maxspeed %}", |
|||
"{% set unit = \"km/h\" %}", |
|||
"{% endif %}", |
|||
"", |
|||
"", |
|||
"{% set m = tags.maxspeed|matches(\"(^[0-9]+) mph$\") %}", |
|||
"{% if m %}", |
|||
"{% set maxspeedKmh = m[1] * 1.60934 %}", |
|||
"{% set maxspeed = m[1] %}", |
|||
"{% set unit = \"mph\" %}", |
|||
"{% endif %}", |
|||
"", |
|||
"{% endif %}", |
|||
"", |
|||
"{% if not maxspeedKmh %}", |
|||
"{% set color = \"#404040\" %}", |
|||
"{% else %}", |
|||
"{% set color = colorInterpolate(const.colorMap, (maxspeedKmh - const.offsetColorSpeed) / const.highestColorSpeed) %}", |
|||
"{% endif %}" |
|||
], |
|||
"description": [ |
|||
"{% if maxspeed %}", |
|||
"<span style='color: {{ color }}'>{{ maxspeed }} {{ unit }}</span>", |
|||
"{% elseif tags.maxspeed %}", |
|||
"{{ tags.maxspeed }}", |
|||
"{% else %}", |
|||
"{{ trans('unknown') }}", |
|||
"{% endif %}" |
|||
], |
|||
"markerSymbol": null, |
|||
"listMarkerSymbol": "line", |
|||
"style": { |
|||
"width": "3", |
|||
"color": "{{ color }}", |
|||
"text": "{{ maxspeed }} ", |
|||
"textRepeat": "1", |
|||
"textFontWeight": "bold" |
|||
} |
|||
}, |
|||
"const": { |
|||
"colorMap": [ |
|||
"#00af00", |
|||
"#ff7f00", |
|||
"#ff0000", |
|||
"#af00af" |
|||
], |
|||
"highestColorSpeed": 300, |
|||
"offsetColorSpeed": 20 |
|||
}, |
|||
"info": [ |
|||
"<div style='display: inline-block'>", |
|||
"<table>", |
|||
" <tr>", |
|||
" <td>{{ markerLine(evaluate({}))|raw }}</td>", |
|||
" <td colspan>{{ trans('unknown') }}</td>", |
|||
" </tr>", |
|||
"{% for i in range(25, 280, 25) %}", |
|||
" <tr>", |
|||
" <td>{{ markerLine(evaluate({ \"maxspeed\": i }))|raw }}</td>", |
|||
" <td>{{ i }}km/h</td>", |
|||
" </tr>", |
|||
"{% endfor %}", |
|||
" <tr>", |
|||
" <td>{{ markerLine(evaluate({ \"maxspeed\": 300 }))|raw }}</td>", |
|||
" <td>≥300km/h</td>", |
|||
" </tr>", |
|||
"</table>", |
|||
"</div>", |
|||
"", |
|||
"<div style='display: inline-block'>", |
|||
"<table>", |
|||
" <tr>", |
|||
" <td>{{ markerLine(evaluate({}))|raw }}</td>", |
|||
" <td colspan>{{ trans('unknown') }}</td>", |
|||
" </tr>", |
|||
"{% for i in range(15, 150, 15) %}", |
|||
" <tr>", |
|||
" <td>{{ markerLine(evaluate({ \"maxspeed\": (i * 1.60934)|round }))|raw }}</td>", |
|||
" <td>{{ i }}mph</td>", |
|||
" </tr>", |
|||
"{% endfor %}", |
|||
" <tr>", |
|||
" <td>{{ markerLine(evaluate({ \"maxspeed\": (175 * 1.60934)|round }))|raw }}</td>", |
|||
" <td>175mph</td>", |
|||
" </tr>", |
|||
" <tr>", |
|||
" <td>{{ markerLine(evaluate({ \"maxspeed\": (200 * 1.60934)|round }))|raw }}</td>", |
|||
" <td>≥200mph</td>", |
|||
" </tr>", |
|||
"</table>", |
|||
"</div>" |
|||
] |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue