Browse Source

Merge pull request #7 from plepe/master

Sync 2
master
Igor Eliezer 6 years ago
committed by GitHub
parent
commit
df2a98dae8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      coal.json
  2. 3
      index.json
  3. 2
      lang/ast.json
  4. 2
      lang/ca.json
  5. 2
      lang/cs.json
  6. 2
      lang/de.json
  7. 2
      lang/el.json
  8. 2
      lang/en.json
  9. 2
      lang/es.json
  10. 2
      lang/et.json
  11. 2
      lang/fr.json
  12. 2
      lang/hu.json
  13. 2
      lang/it.json
  14. 2
      lang/ja.json
  15. 2
      lang/nl.json
  16. 2
      lang/pl.json
  17. 2
      lang/pt-br.json
  18. 2
      lang/pt.json
  19. 2
      lang/ro.json
  20. 2
      lang/ru.json
  21. 2
      lang/template.json
  22. 2
      lang/uk.json
  23. 2
      oil_gas.json
  24. 37
      renewables.json

2
coal.json

@ -28,6 +28,8 @@
"{{ tagTrans('man_made', tags.man_made) }}", "{{ tagTrans('man_made', tags.man_made) }}",
"{% elseif tags.power == 'plant' %}", "{% elseif tags.power == 'plant' %}",
"{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}", "{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
"{% elseif tags.power == 'generator' %}",
"{{ tagTrans('power', 'generator') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
"{% elseif tags.landuse == 'quarry' %}", "{% elseif tags.landuse == 'quarry' %}",
"{{ tagTrans('landuse', tags.landuse) }} {% if tags.resource %}({{ tagTrans('resource', tags.resource) }}){% endif %}", "{{ tagTrans('landuse', tags.landuse) }} {% if tags.resource %}({{ tagTrans('resource', tags.resource) }}){% endif %}",
"{% elseif tags.landuse == 'industrial' %}", "{% elseif tags.landuse == 'industrial' %}",

3
index.json

@ -265,6 +265,9 @@
}, },
{ {
"id": "oil_gas" "id": "oil_gas"
},
{
"id": "renewables"
} }
] ]
}, },

2
lang/ast.json

@ -36,7 +36,6 @@
"category:military": "Militar", "category:military": "Militar",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "Formaciones naturales", "category:natural": "Formaciones naturales",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Otres", "category:other": "Otres",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Relixón", "category:religion": "Relixón",
"category:renewables": "",
"category:residential": "Zones residenciales", "category:residential": "Zones residenciales",
"category:resources": "Estraición de recursos", "category:resources": "Estraición de recursos",
"category:services": "Servicios", "category:services": "Servicios",

2
lang/ca.json

@ -36,7 +36,6 @@
"category:military": "", "category:military": "",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "", "category:natural": "",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "", "category:other": "",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "", "category:religion": "",
"category:renewables": "",
"category:residential": "", "category:residential": "",
"category:resources": "", "category:resources": "",
"category:services": "Serveis", "category:services": "Serveis",

2
lang/cs.json

@ -36,7 +36,6 @@
"category:military": "Vojenské", "category:military": "Vojenské",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "Přírodní úkazy", "category:natural": "Přírodní úkazy",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Jiné", "category:other": "Jiné",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Religion", "category:religion": "Religion",
"category:renewables": "",
"category:residential": "Obytné oblasti", "category:residential": "Obytné oblasti",
"category:resources": "Těžba surovin", "category:resources": "Těžba surovin",
"category:services": "Služby", "category:services": "Služby",

2
lang/de.json

@ -36,7 +36,6 @@
"category:military": "Militär", "category:military": "Militär",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "Geographische Objekte", "category:natural": "Geographische Objekte",
"category:network": "",
"category:oil_gas": "Erdöl und Erdgas", "category:oil_gas": "Erdöl und Erdgas",
"category:other": "Andere", "category:other": "Andere",
"category:outdoor": "Freiluftaktivitäten", "category:outdoor": "Freiluftaktivitäten",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "Eisenbahn Höchstgeschwindigkeiten", "category:railway-maxspeed": "Eisenbahn Höchstgeschwindigkeiten",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Religion", "category:religion": "Religion",
"category:renewables": "Erneuerbare Energien",
"category:residential": "Wohngebiete", "category:residential": "Wohngebiete",
"category:resources": "Ressourcengewinnung", "category:resources": "Ressourcengewinnung",
"category:services": "Dienste", "category:services": "Dienste",

2
lang/el.json

@ -36,7 +36,6 @@
"category:military": "Στρατιωτικό", "category:military": "Στρατιωτικό",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "Φυσικοί Σχηματισμοί", "category:natural": "Φυσικοί Σχηματισμοί",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "", "category:other": "",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Θρησκεία", "category:religion": "Θρησκεία",
"category:renewables": "",
"category:residential": "Περιοχές Κατοικίας", "category:residential": "Περιοχές Κατοικίας",
"category:resources": "", "category:resources": "",
"category:services": "Υπηρεσίες", "category:services": "Υπηρεσίες",

2
lang/en.json

@ -36,7 +36,6 @@
"category:military": "Military", "category:military": "Military",
"category:mtb-routes": "Mountain bike routes", "category:mtb-routes": "Mountain bike routes",
"category:natural": "Natural Formations", "category:natural": "Natural Formations",
"category:network": "Network infrastructure",
"category:oil_gas": "Petroleum and natural gas", "category:oil_gas": "Petroleum and natural gas",
"category:other": "Other", "category:other": "Other",
"category:outdoor": "Outdoor activities", "category:outdoor": "Outdoor activities",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "Railway Maxspeed", "category:railway-maxspeed": "Railway Maxspeed",
"category:railway-routes": "Railway Routes", "category:railway-routes": "Railway Routes",
"category:religion": "Religion", "category:religion": "Religion",
"category:renewables": "Renewables",
"category:residential": "Residential Areas", "category:residential": "Residential Areas",
"category:resources": "Resource Extraction", "category:resources": "Resource Extraction",
"category:services": "Services", "category:services": "Services",

2
lang/es.json

@ -36,7 +36,6 @@
"category:military": "", "category:military": "",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "", "category:natural": "",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "", "category:other": "",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "", "category:religion": "",
"category:renewables": "",
"category:residential": "", "category:residential": "",
"category:resources": "", "category:resources": "",
"category:services": "Servicios", "category:services": "Servicios",

2
lang/et.json

@ -36,7 +36,6 @@
"category:military": "", "category:military": "",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "", "category:natural": "",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Ülejäänud", "category:other": "Ülejäänud",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Religioon", "category:religion": "Religioon",
"category:renewables": "",
"category:residential": "Elamupiirkonnad", "category:residential": "Elamupiirkonnad",
"category:resources": "", "category:resources": "",
"category:services": "Teenused", "category:services": "Teenused",

2
lang/fr.json

@ -36,7 +36,6 @@
"category:military": "Militaire", "category:military": "Militaire",
"category:mtb-routes": "Itinéraires de VTT", "category:mtb-routes": "Itinéraires de VTT",
"category:natural": "Éléments naturels", "category:natural": "Éléments naturels",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Autres", "category:other": "Autres",
"category:outdoor": "Activités de plein air", "category:outdoor": "Activités de plein air",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "Limites de vitesse", "category:railway-maxspeed": "Limites de vitesse",
"category:railway-routes": "Lignes ferroviaires", "category:railway-routes": "Lignes ferroviaires",
"category:religion": "Religion", "category:religion": "Religion",
"category:renewables": "",
"category:residential": "Zones résidentielles", "category:residential": "Zones résidentielles",
"category:resources": "Extraction des ressources", "category:resources": "Extraction des ressources",
"category:services": "Services", "category:services": "Services",

2
lang/hu.json

@ -36,7 +36,6 @@
"category:military": "Katonai objektumok", "category:military": "Katonai objektumok",
"category:mtb-routes": "Hegyikerékpáros útvonalak", "category:mtb-routes": "Hegyikerékpáros útvonalak",
"category:natural": "Természeti képződmények", "category:natural": "Természeti képződmények",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Egyéb", "category:other": "Egyéb",
"category:outdoor": "Szabadtéri tevékenységek", "category:outdoor": "Szabadtéri tevékenységek",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "Sebességkorlátozás", "category:railway-maxspeed": "Sebességkorlátozás",
"category:railway-routes": "Vasútvonalak", "category:railway-routes": "Vasútvonalak",
"category:religion": "Vallás", "category:religion": "Vallás",
"category:renewables": "",
"category:residential": "Lakóövezetek", "category:residential": "Lakóövezetek",
"category:resources": "Bányászat", "category:resources": "Bányászat",
"category:services": "Szolgáltatások", "category:services": "Szolgáltatások",

2
lang/it.json

@ -36,7 +36,6 @@
"category:military": "Militare", "category:military": "Militare",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "Natura", "category:natural": "Natura",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Altri", "category:other": "Altri",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Religione", "category:religion": "Religione",
"category:renewables": "",
"category:residential": "Aree residenziali", "category:residential": "Aree residenziali",
"category:resources": "Areee estrattive", "category:resources": "Areee estrattive",
"category:services": "Servizi", "category:services": "Servizi",

2
lang/ja.json

@ -36,7 +36,6 @@
"category:military": "軍事", "category:military": "軍事",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "自然地層", "category:natural": "自然地層",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "その他", "category:other": "その他",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "宗教", "category:religion": "宗教",
"category:renewables": "",
"category:residential": "住居エリア", "category:residential": "住居エリア",
"category:resources": "", "category:resources": "",
"category:services": "サービス", "category:services": "サービス",

2
lang/nl.json

@ -36,7 +36,6 @@
"category:military": "Militair", "category:military": "Militair",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "Natuurlijke Formaties", "category:natural": "Natuurlijke Formaties",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Andere", "category:other": "Andere",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Religie", "category:religion": "Religie",
"category:renewables": "",
"category:residential": "Woongebieden", "category:residential": "Woongebieden",
"category:resources": "Grondstoffenwinning", "category:resources": "Grondstoffenwinning",
"category:services": "Dienstverlening", "category:services": "Dienstverlening",

2
lang/pl.json

@ -36,7 +36,6 @@
"category:military": "", "category:military": "",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "", "category:natural": "",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "", "category:other": "",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "", "category:religion": "",
"category:renewables": "",
"category:residential": "", "category:residential": "",
"category:resources": "", "category:resources": "",
"category:services": "Usługi", "category:services": "Usługi",

2
lang/pt-br.json

@ -36,7 +36,6 @@
"category:military": "Militar", "category:military": "Militar",
"category:mtb-routes": "Rotas mountain bike", "category:mtb-routes": "Rotas mountain bike",
"category:natural": "Formações naturais", "category:natural": "Formações naturais",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Outros", "category:other": "Outros",
"category:outdoor": "Atividades ao ar livre", "category:outdoor": "Atividades ao ar livre",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "Velocidade máxima", "category:railway-maxspeed": "Velocidade máxima",
"category:railway-routes": "Rotas ferroviárias", "category:railway-routes": "Rotas ferroviárias",
"category:religion": "Religião", "category:religion": "Religião",
"category:renewables": "",
"category:residential": "Áreas residenciais", "category:residential": "Áreas residenciais",
"category:resources": "Extração de recursos", "category:resources": "Extração de recursos",
"category:services": "Prestação de serviços", "category:services": "Prestação de serviços",

2
lang/pt.json

@ -36,7 +36,6 @@
"category:military": "Militar", "category:military": "Militar",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "Formações naturais", "category:natural": "Formações naturais",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Outros", "category:other": "Outros",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "Velocidade máxima", "category:railway-maxspeed": "Velocidade máxima",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Religião", "category:religion": "Religião",
"category:renewables": "",
"category:residential": "Áreas residenciais", "category:residential": "Áreas residenciais",
"category:resources": "Extração de recursos", "category:resources": "Extração de recursos",
"category:services": "Serviços", "category:services": "Serviços",

2
lang/ro.json

@ -36,7 +36,6 @@
"category:military": "Militar", "category:military": "Militar",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "", "category:natural": "",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Altele", "category:other": "Altele",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Religie", "category:religion": "Religie",
"category:renewables": "",
"category:residential": "Zona rezidentiala", "category:residential": "Zona rezidentiala",
"category:resources": "", "category:resources": "",
"category:services": "Servicii", "category:services": "Servicii",

2
lang/ru.json

@ -36,7 +36,6 @@
"category:military": "Вооружённые силы", "category:military": "Вооружённые силы",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "Природные образования", "category:natural": "Природные образования",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Прочее", "category:other": "Прочее",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Религия", "category:religion": "Религия",
"category:renewables": "",
"category:residential": "Жилые районы", "category:residential": "Жилые районы",
"category:resources": "Добыча ресурсов", "category:resources": "Добыча ресурсов",
"category:services": "Услуги", "category:services": "Услуги",

2
lang/template.json

@ -36,7 +36,6 @@
"category:military": "", "category:military": "",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "", "category:natural": "",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "", "category:other": "",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "", "category:religion": "",
"category:renewables": "",
"category:residential": "", "category:residential": "",
"category:resources": "", "category:resources": "",
"category:services": "", "category:services": "",

2
lang/uk.json

@ -36,7 +36,6 @@
"category:military": "", "category:military": "",
"category:mtb-routes": "", "category:mtb-routes": "",
"category:natural": "Природне середовище", "category:natural": "Природне середовище",
"category:network": "",
"category:oil_gas": "", "category:oil_gas": "",
"category:other": "Інше", "category:other": "Інше",
"category:outdoor": "", "category:outdoor": "",
@ -56,6 +55,7 @@
"category:railway-maxspeed": "", "category:railway-maxspeed": "",
"category:railway-routes": "", "category:railway-routes": "",
"category:religion": "Релігія", "category:religion": "Релігія",
"category:renewables": "",
"category:residential": "Житлова зона", "category:residential": "Житлова зона",
"category:resources": "", "category:resources": "",
"category:services": "Послуги", "category:services": "Послуги",

2
oil_gas.json

@ -51,6 +51,8 @@
"{{ tagTrans('man_made', tags.man_made) }}", "{{ tagTrans('man_made', tags.man_made) }}",
"{% elseif tags.power == 'plant' %}", "{% elseif tags.power == 'plant' %}",
"{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}", "{{ tagTrans('power', 'plant') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
"{% elseif tags.power == 'generator' %}",
"{{ tagTrans('power', 'generator') }} {% if attribute(tags, 'generator:source') %}({{ tagTransList('generator:source', attribute(tags, 'generator:source')) }}){% endif %}",
"{% elseif tags.waterway == 'offshore_field' %}", "{% elseif tags.waterway == 'offshore_field' %}",
"{{ tagTrans('waterway', tags.waterway) }}", "{{ tagTrans('waterway', tags.waterway) }}",
"{% elseif tags.landuse == 'industrial' %}", "{% elseif tags.landuse == 'industrial' %}",

37
renewables.json

@ -0,0 +1,37 @@
{
"type": "overpass",
"name": {
"de": "Erneuerbare Energien",
"en": "Renewables"
},
"query": {
"11": [
"(",
"node[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];",
"way[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];",
"relation[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];",
")",
""
],
"15": [
"(",
"node[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];",
"way[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];",
"relation[power~\"^(plant)$\"][\"plant:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];",
"node[power~\"^(generator)$\"][\"generator:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];",
"way[power~\"^(generator)$\"][\"generator:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];",
"relation[power~\"^(generator)$\"][\"generator:source\"~\"^(wind|solar|biomass|hydro|geothermal|biogas|biofuel)$\"];",
")"
]
},
"feature": {
"description": "{{ tagTrans('power', tags.power) }}{% set x='generator:source' %}{% if tags[x] %}, {{ tagTransList('generator:source', tags[x]) }}{% endif %}",
"popupDescription": "{{ tagTrans('power', tags.power) }}",
"body": [
"{% set x='generator:source' %}{% if tags[x] %}<br/>{{ keyTrans('generator:source') }}: {{ tagTransList('generator:source', tags[x]) }}{% endif %}",
"{% set x='generator:method' %}{% if tags[x] %}<br/>{{ keyTrans('generator:method') }}: {{ tagTransList('generator:method', tags[x]) }}{% endif %}",
"{% set x='generator:type' %}{% if tags[x] %}<br/>{{ tagTransList('generator:type') }}: {{ tagTrans('generator:type', tags[x]) }}{% endif %}"
],
"priority": "{% if tags.power == 'plant' %}0{% elseif tags.power == 'generator' or tags.power == 'line' %}1{% elseif tags.power == 'substation' %}2{% else %}3{% endif %}"
}
}
Loading…
Cancel
Save