forked from OpenStreetBrowser/main
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.4 KiB
76 lines
2.4 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"de": "Handwerk",
|
|
"en": "Craft",
|
|
"fr": "Artisanat",
|
|
"pt": "Artesanato",
|
|
"pt-br": "Ofícios"
|
|
},
|
|
"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": "🍷"
|
|
}
|
|
}
|
|
}
|