Merge pull request #1102 from pietervdvn/feature/fitness-station

Sports map
This commit is contained in:
Pieter Vander Vennet 2022-10-16 16:00:36 +02:00 committed by GitHub
commit f2c59a0045
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 997 additions and 3 deletions

View file

@ -0,0 +1,89 @@
{
"id": "fitness_centre",
"name": {
"en": "Fitness Centres"
},
"description": {
"en": "Layer showing fitness centres"
},
"source": {
"osmTags": "leisure=fitness_centre"
},
"minzoom": 12,
"title": {
"render": {
"en": "Fitness Centre"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"tagRenderings": [
{
"id": "name",
"question": {
"en": "What is the name of this fitness centre?"
},
"freeform": {
"key": "name",
"placeholder": {
"en": "Name of fitness centre"
},
"type": "string"
},
"mappings": [
{
"if": "noname=yes",
"then": {
"en": "This fitness centre has no name"
}
}
],
"render": {
"en": "This fitness centre is called {name}"
}
},
"images",
"phone",
"email",
"website",
"opening_hours",
"wheelchair-access",
"level",
"reviews"
],
"presets": [
{
"tags": [
"leisure=fitness_centre"
],
"title": {
"en": "a fitness centre"
},
"icon": "./assets/layers/fitness_centre/gym.svg"
}
],
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": "circle:white;./assets/layers/fitness_centre/gym.svg",
"iconSize": "40,40,center",
"label": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>",
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
}
]
}
],
"filter": [
"open_now"
]
}

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="700pt" height="700pt" version="1.1" viewBox="0 0 700 700" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g>
<path d="m577.73 551.52h-455.47c-4.6836 0-8.4844-3.8008-8.4844-8.4844v-309.11c0-4.6836 3.8008-8.4844 8.4844-8.4844 4.6875 0 8.4844 3.8008 8.4844 8.4844v300.62h438.5v-300.62c0-4.6836 3.7969-8.4844 8.4844-8.4844 4.6836 0 8.4844 3.8008 8.4844 8.4844v309.11c0 2.25-0.89453 4.4062-2.4844 6-1.5938 1.5898-3.75 2.4844-6 2.4844z"/>
<path d="m535.31 551.52h-370.62c-4.6875 0-8.4844-3.8008-8.4844-8.4844v-300.62c0-4.6875 3.7969-8.4883 8.4844-8.4883h370.62c2.25 0 4.4102 0.89453 6 2.4883 1.5898 1.5898 2.4844 3.7461 2.4844 6v300.62c0 2.25-0.89453 4.4062-2.4844 6-1.5898 1.5898-3.75 2.4844-6 2.4844zm-362.13-16.969h353.65v-283.65h-353.65z"/>
<path d="m430.18 551.52h-160.37c-4.6836 0-8.4844-3.8008-8.4844-8.4844v-300.62c0-4.6875 3.8008-8.4883 8.4844-8.4883h160.37c2.25 0 4.4062 0.89453 5.9961 2.4883 1.5938 1.5898 2.4883 3.7461 2.4883 6v300.62c0 2.25-0.89453 4.4062-2.4883 6-1.5898 1.5898-3.7461 2.4844-5.9961 2.4844zm-151.88-16.969h143.39l-0.003907-283.65h-143.39z"/>
<path d="m596.06 208.47h-269.23c-4.6875 0-8.4844-3.7969-8.4844-8.4844s3.7969-8.4844 8.4844-8.4844h269.23c2.25 0 4.4062-0.89453 5.9961-2.4844 1.5938-1.5938 2.4883-3.75 2.4883-6v-46.328c0-2.25-0.89453-4.4102-2.4883-6-1.5898-1.5898-3.7461-2.4844-5.9961-2.4844h-81.117c-4.6875 0-8.4844-3.8008-8.4844-8.4844 0-4.6875 3.7969-8.4844 8.4844-8.4844h81.117c6.75 0 13.223 2.6797 17.996 7.4531 4.7734 4.7734 7.457 11.25 7.457 18v46.328c0 6.75-2.6836 13.223-7.457 17.996-4.7734 4.7734-11.246 7.457-17.996 7.457z"/>
<path d="m207.88 208.47h-103.94c-6.75 0-13.223-2.6836-17.996-7.457-4.7734-4.7734-7.457-11.246-7.457-17.996v-46.328c0-6.75 2.6836-13.227 7.457-18 4.7734-4.7734 11.246-7.4531 17.996-7.4531h82.898c4.6875 0 8.4844 3.7969 8.4844 8.4844 0 4.6836-3.7969 8.4844-8.4844 8.4844h-82.898c-4.6836 0-8.4844 3.7969-8.4844 8.4844v46.328c0 2.25 0.89453 4.4062 2.4883 6 1.5898 1.5898 3.7461 2.4844 5.9961 2.4844h103.94c4.6875 0 8.4844 3.7969 8.4844 8.4844s-3.7969 8.4844-8.4844 8.4844z"/>
<path d="m613.03 551.52h-526.06c-4.6836 0-8.4844-3.8008-8.4844-8.4844 0-4.6875 3.8008-8.4844 8.4844-8.4844h526.06c4.6836 0 8.4844 3.7969 8.4844 8.4844 0 4.6836-3.8008 8.4844-8.4844 8.4844z"/>
<path d="m296.55 411.77c-4.6875 0-8.4844-3.7969-8.4844-8.4844v-21.469c0-4.6836 3.7969-8.4844 8.4844-8.4844 4.6836 0 8.4844 3.8008 8.4844 8.4844v21.215c0.066406 2.293-0.79688 4.5156-2.3945 6.1641-1.5977 1.6484-3.7969 2.5742-6.0898 2.5742z"/>
<path d="m450.04 173.34c-4.6094 0.019531-9.0977-1.4961-12.754-4.3047-3.6562-2.8125-6.2734-6.7578-7.4375-11.223l-30.633-116.84c-1.3711-5.3516-0.57031-11.031 2.2266-15.801 2.7969-4.7656 7.3633-8.2344 12.707-9.6523l23.926-6.2773h0.003907c5.3398-1.4492 11.043-0.65234 15.781 2.2031 4.8047 2.7695 8.2891 7.3594 9.6719 12.73l30.715 116.75c1.4219 5.3438 0.65234 11.035-2.1328 15.812-2.7891 4.7773-7.3633 8.2461-12.715 9.6406l-23.926 6.2773-0.003906 0.003907c-1.7656 0.48047-3.5938 0.71094-5.4297 0.67578zm27.238-15.102m-33.941-132.79c-0.33203-0.074219-0.68359-0.074219-1.0156 0l-23.926 6.2773-0.003906 0.003906c-2.082 0.53906-3.3359 2.6641-2.8008 4.75l30.715 116.84h0.003907c0.26562 0.99219 0.90234 1.8438 1.7812 2.375 0.89062 0.54297 1.9609 0.69531 2.9688 0.42578l23.926-6.2773c2.0977-0.58203 3.3438-2.7305 2.8008-4.8359l-30.629-116.58c-0.23828-1.0508-0.91797-1.9492-1.8672-2.4609-0.60156-0.32422-1.2695-0.5-1.9531-0.51172z"/>
<path d="m256.67 224.09c-4.6094 0.003906-9.0898-1.5195-12.742-4.3281-3.6523-2.8086-6.2734-6.7461-7.4531-11.199l-30.715-116.84c-1.3984-5.3438-0.61719-11.027 2.1641-15.797 2.7852-4.7695 7.3438-8.2461 12.684-9.6602l23.926-6.2773h0.003906c5.3711-1.375 11.07-0.58594 15.863 2.207 4.8047 2.7695 8.293 7.3555 9.6758 12.727l30.715 116.75c1.3945 5.3555 0.60156 11.047-2.1992 15.82-2.8008 4.7734-7.3789 8.2383-12.734 9.6367l-23.926 6.2773h-0.003907c-1.7109 0.48047-3.4805 0.71094-5.2578 0.67969zm27.066-15.102m-33.77-132.62h-1.0195l-23.926 6.2773c-1.0547 0.35938-1.8945 1.168-2.293 2.207-0.39844 0.94922-0.39844 2.0195 0 2.9688l30.629 116.84 0.003906 0.003906c0.57812 2.0938 2.7305 3.3398 4.8359 2.7969l23.926-6.2773c2.0664-0.61719 3.293-2.7383 2.8008-4.8359l-31.227-117.18c-0.23828-1.0039-0.88281-1.8633-1.7812-2.375-0.60156-0.3125-1.2734-0.46094-1.9492-0.42578z"/>
<path d="m283.56 168c-3.9688 0.125-7.4922-2.5195-8.4844-6.3633l-12.641-48.195c-1.1875-4.5195 1.5078-9.1484 6.0234-10.352l145.6-38.184v0.003906c2.1484-0.5625 4.4336-0.25781 6.3633 0.84766 1.9648 1.125 3.4023 2.9883 3.9883 5.1758l12.641 48.277c0.5625 2.1523 0.25781 4.4375-0.84766 6.3633-1.1641 1.9336-3.0117 3.3555-5.1758 3.9883l-145.6 38.184c-0.60938 0.14844-1.2383 0.23438-1.8672 0.25391zm-2.2891-50.91 8.4844 31.816 129.14-33.938-8.4844-31.816z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -0,0 +1,13 @@
[
{
"path": "gym.svg",
"license": "CC-BY",
"authors": [
"Bernd Lakenbrink",
"Noun Project"
],
"sources": [
"https://thenounproject.com/icon/gym-3583088/"
]
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 901 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="14.933333" height="14.933333" viewBox="0 0 14 14">
<path d="M 8.5372267,1.2755905 A 1.2677165,1.2598426 0 0 0 9.8049431,2.5354332 1.2677165,1.2598426 0 0 0 11.07266,1.2755905 1.2677165,1.2598426 0 0 0 9.8049431,0.01574798 1.2677165,1.2598426 0 0 0 8.5372267,1.2755905 Z m -6.8521549,8.5590563 2.681077,0.6891092 c 0.1095105,0.02815 0.3520751,0.0033 0.4439037,-0.01932 0.2353372,-0.04563 0.3030067,-0.154948 0.3951006,-0.269256 L 6.4744703,8.1436871 8.0702194,9.8565596 7.4259242,13.059105 c -0.020606,0.06867 -0.030908,0.125809 -0.030908,0.171443 0,0.205576 0.06647,0.382584 0.1994435,0.531025 0.1329742,0.148441 0.2915382,0.222679 0.4757602,0.222679 0.3477057,0 0.5626041,-0.199862 0.6447278,-0.59955 L 9.4973678,9.4969405 C 9.589462,9.0857519 9.5485828,8.7831202 9.3746971,8.589009 L 7.9784575,7.0302906 9.4974007,5.0607914 10.479298,6.1568624 c 0.102364,0.1139368 0.22005,0.1709239 0.353057,0.1709239 0.173852,0 0.342553,-0.085555 0.506136,-0.256627 l 1.59575,-1.7813601 C 13.016,4.1754915 13.056846,4.0498678 13.056912,3.9129284 13.056828,3.7418565 13.003204,3.5991666 12.895788,3.4848589 12.788439,3.3705882 12.663076,3.3134163 12.519833,3.3134163 c -0.14331,0 -0.255844,0.045634 -0.337602,0.1369386 l -1.3195,1.4734604 -1.5957491,-1.781323 C 9.1443112,3.0051817 8.9868819,2.8964026 8.8067089,2.9365084 L 5.3328033,3.7097878 C 5.1825403,3.7432359 5.0725688,3.8848954 4.960201,4.0222057 L 4.1885612,5.3519223 c -0.1226707,0.1139369 -0.184056,0.2566264 -0.1840228,0.4280696 -2.45e-5,0.1599419 0.051082,0.2969925 0.1533468,0.4111144 0.1021978,0.1140852 0.2249683,0.1711462 0.3682777,0.1711462 0.1532472,0 0.2862541,-0.068488 0.3989206,-0.2054272 l 0.8959802,-1.50064 1.45563,-0.246662 L 4.2570354,9.0973169 1.7965727,8.3909191 c -0.1944583,0 -0.3718955,0.039275 -0.5049023,0.1763999 C 1.1587305,8.7044064 1.023622,8.8259892 1.023622,9.0427316 c 0,0.2055763 0.084747,0.3840352 0.2176873,0.5267625 0.1329734,0.1427266 0.2647139,0.2191324 0.4437625,0.2651527 z"/>
</svg>

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,364 @@
{
"id": "fitness_station",
"name": {
"en": "Fitness Stations"
},
"description": {
"en": "Find a fitness station near you, and add missing ones."
},
"source": {
"osmTags": "leisure=fitness_station"
},
"minzoom": 12,
"title": {
"render": {
"en": "Fitness Station"
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "Fitness Station {name}"
}
}
]
},
"tagRenderings": [
{
"id": "name",
"question": {
"en": "What is the name of this fitness station?"
},
"freeform": {
"key": "name",
"placeholder": {
"en": "Name of the fitness station"
},
"type": "string"
},
"mappings": [
{
"if": "noname=yes",
"then": {
"en": "This fitness station doesn't have a name"
}
}
],
"render": {
"en": "This fitness station is called {name}"
}
},
{
"id": "type",
"question": {
"en": "What kind of equipment does this fitness station have?"
},
"mappings": [
{
"if": "fitness_station=horizontal_bar",
"then": {
"en": "This fitness station has a horizontal bar, high enough for pull-ups."
},
"icon": {
"path": "./assets/layers/fitness_station/Trimm-Dich-Pfad_Grünwalder_Forst_Klimmzüge.jpg",
"class": "large"
}
},
{
"if": "fitness_station=sign",
"then": {
"en": "This fitness station has a sign with instructions for a specific exercise."
},
"icon": {
"path": "./assets/layers/fitness_station/Outdoor_fitness_station_sign.jpg",
"class": "large"
}
},
{
"if": "fitness_station=sit-up",
"then": {
"en": "This fitness station has a facility for sit-ups."
},
"icon": {
"path": "./assets/layers/fitness_station/Inclined_sit-up_bench.jpg",
"class": "large"
}
},
{
"if": "fitness_station=push-up",
"then": {
"en": "This fitness station has a facility for push-ups. Usually consists of one or more low horizontal bars."
},
"icon": {
"path": "./assets/layers/fitness_station/Push-up_bars.jpg",
"class": "large"
}
},
{
"if": "fitness_station=stretch_bars",
"then": {
"en": "This fitness station has bars for stretching."
},
"icon": {
"path": "./assets/layers/fitness_station/Fitness_station_stretch_bars.jpg",
"class": "large"
}
},
{
"if": "fitness_station=hyperextension",
"then": {
"en": "This fitness station has a station for making hyperextensions."
},
"icon": {
"path": "./assets/layers/fitness_station/Inclined_sit-up_and_hyperextension_bench.jpg",
"class": "large"
}
},
{
"if": "fitness_station=rings",
"then": {
"en": "This fitness station has rings for gymnastic exercises."
},
"icon": {
"path": "./assets/layers/fitness_station/Exercise9159.jpg",
"class": "large"
}
},
{
"if": "fitness_station=horizontal_ladder",
"then": {
"en": "This fitness station has a horizontal ladder, also known as monkey bars."
},
"icon": {
"path": "./assets/layers/fitness_station/Horizontal_ladder.jpg",
"class": "large"
}
},
{
"if": "fitness_station=wall_bars",
"then": {
"en": "This fitness station has wall bars to climb on."
},
"icon": {
"path": "./assets/layers/fitness_station/RIAN_archive_493268_Sports_at_a_kindergarten.jpg",
"class": "large"
}
},
{
"if": "fitness_station=slalom",
"then": {
"en": "This fitness station has posts for performing slalom exercises."
},
"icon": {
"path": "./assets/layers/fitness_station/Fitness_station_slalom.jpg",
"class": "large"
}
},
{
"if": "fitness_station=stepping_stones",
"then": {
"en": "This fitness station has stepping stones."
},
"icon": {
"path": "./assets/layers/fitness_station/Fitness_station_stepping_stone.jpg",
"class": "large"
}
},
{
"if": "fitness_station=leapfrog",
"then": {
"en": "This fitness station has cones for performing leapfrog jumps."
},
"icon": {
"path": "./assets/layers/fitness_station/Fitness_station_leapfrog.jpg",
"class": "large"
}
},
{
"if": "fitness_station=beam_jump",
"then": {
"en": "This fitness station has beams to jump over."
},
"icon": {
"path": "./assets/layers/fitness_station/Fitness_station_beam_jump.jpg",
"class": "large"
}
},
{
"if": "fitness_station=hurdling",
"then": {
"en": "This fitness station has hurdles to cross."
},
"icon": {
"path": "./assets/layers/fitness_station/Fitness_station_hurdling.jpg",
"class": "large"
}
},
{
"if": "fitness_station=wall",
"then": {
"en": "This fitness station has a wall to climb on."
},
"icon": {
"path": "./assets/layers/fitness_station/Fitness_station_wall.jpg",
"class": "large"
}
},
{
"if": "fitness_station=balance_beam",
"then": {
"en": "This fitness station has a balance beam."
},
"icon": {
"path": "./assets/layers/fitness_station/Exercise9170.jpg",
"class": "large"
}
},
{
"if": "fitness_station=log_lifting",
"then": {
"en": "This fitness station has a log with a handle on the end to lift."
},
"icon": {
"path": "./assets/layers/fitness_station/Log_lifting_exercise.jpg",
"class": "large"
}
},
{
"if": "fitness_station=captains_chair",
"then": {
"en": "This fitness station has a chair with only elbow supports and a rear (without seat), for performing leg raises."
},
"icon": {
"path": "./assets/layers/fitness_station/Captains_chair.jpg",
"class": "large"
}
},
{
"if": "fitness_station=box",
"then": {
"en": "This fitness station has a box that can be used for jumping."
},
"icon": {
"path": "./assets/layers/fitness_station/Exercise_Box.jpg",
"class": "large"
}
},
{
"if": "fitness_station=battling_ropes",
"then": {
"en": "This fitness station has battling ropes."
},
"icon": {
"path": "./assets/layers/fitness_station/Battling_ropes.jpg",
"class": "large"
}
},
{
"if": "fitness_station=excercise_bike",
"then": {
"en": "This fitness station has a stationary bicycle."
},
"icon": {
"path": "./assets/layers/fitness_station/Outdoor_stationary_bicycle.jpg",
"class": "large"
}
},
{
"if": "fitness_station=elliptical_trainer",
"then": {
"en": "This fitness station has a cross-trainer."
},
"icon": {
"path": "./assets/layers/fitness_station/07-12-2016,_Fitness_trail,_Parque_da_Alfarrobeira,_Albufeira_2.jpg",
"class": "large"
}
},
{
"if": "fitness_station=air_walker",
"then": {
"en": "This fitness station has an air walker."
},
"icon": {
"path": "./assets/layers/fitness_station/Ansan_Park_beind_the_city_hall_022.jpg",
"class": "large"
}
},
{
"if": "fitness_station=rower",
"then": {
"en": "This fitness station has a rower."
},
"icon": {
"path": "./assets/layers/fitness_station/Annecy_-_rower.jpg",
"class": "large"
}
},
{
"if": "fitness_station=slackline",
"then": {
"en": "This fitness station has a slackline."
},
"icon": {
"path": "./assets/layers/fitness_station/Slacklineanlage_im_Dietenbachpark.jpg",
"class": "large"
}
}
],
"multiAnswer": true
},
{
"id": "operator",
"question": {
"en": "Who maintains this fitness station?"
},
"freeform": {
"key": "operator",
"placeholder": {
"en": "Operator of the fitness station"
},
"type": "string"
},
"render": {
"en": "The fitness station is maintained by {operator}."
}
},
"opening_hours"
],
"presets": [
{
"tags": [
"leisure=fitness_station",
"sport=fitness"
],
"title": {
"en": "a fitness station"
},
"icon": "./assets/layers/fitness_station/fitness.svg"
}
],
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": "circle:white;./assets/layers/fitness_station/fitness.svg",
"iconSize": "40,40,center",
"iconBadges": [
{
"if": {
"and": [
"opening_hours!=24/7",
"opening_hours~*"
]
},
"then": "isOpen"
}
]
}
],
"filter": [
"open_now"
]
}

View file

@ -0,0 +1,264 @@
[
{
"path": "07-12-2016,_Fitness_trail,_Parque_da_Alfarrobeira,_Albufeira_2.jpg",
"license": "CC-BY-SA",
"authors": [
"Kolforn"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:07-12-2016,_Fitness_trail,_Parque_da_Alfarrobeira,_Albufeira_(2).JPG"
]
},
{
"path": "Annecy_-_rower.jpg",
"license": "CC-BY-SA",
"authors": [
"Tiia Monto"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Annecy_-_rower.jpg"
]
},
{
"path": "Ansan_Park_beind_the_city_hall_022.jpg",
"license": "CC-BY-SA",
"authors": [
"Piotrus"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Ansan_Park_(beind_the_city_hall)_022.JPG"
]
},
{
"path": "Battling_ropes.jpg",
"license": "CC-BY-SA",
"authors": [
"Tpikonen"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Battling_ropes.jpg"
]
},
{
"path": "Captains_chair.jpg",
"license": "CC-BY-SA",
"authors": [
"Tpikonen"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Captains_chair.jpg"
]
},
{
"path": "Exercise9159.jpg",
"license": "CC-BY-SA",
"authors": [
"יעקב"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Exercise9159.jpg"
]
},
{
"path": "Exercise9170.jpg",
"license": "CC-BY-SA",
"authors": [
"יעקב"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Exercise9170.JPG"
]
},
{
"path": "Exercise_Box.jpg",
"license": "CC-BY-SA",
"authors": [
"Tpikonen"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Exercise_Box.jpg"
]
},
{
"path": "Fitness_station_beam_jump.jpg",
"license": "CC-BY-SA",
"authors": [
"Axelos"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Fitness_station_beam_jump.jpg"
]
},
{
"path": "Fitness_station_hurdling.jpg",
"license": "CC-BY-SA",
"authors": [
"Axelos"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Fitness_station_hurdling.jpg"
]
},
{
"path": "Fitness_station_leapfrog.jpg",
"license": "CC-BY-SA",
"authors": [
"Axelos"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Fitness_station_leapfrog.jpg"
]
},
{
"path": "Fitness_station_slalom.jpg",
"license": "CC-BY-SA",
"authors": [
"Axelos"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Fitness_station_slalom.jpg"
]
},
{
"path": "Fitness_station_stepping_stone.jpg",
"license": "CC-BY-SA",
"authors": [
"Axelos"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Fitness_station_stepping_stone.jpg"
]
},
{
"path": "Fitness_station_stretch_bars.jpg",
"license": "CC-BY-SA",
"authors": [
"Axelos"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Fitness_station_stretch_bars.jpg"
]
},
{
"path": "Fitness_station_wall.jpg",
"license": "CC-BY-SA",
"authors": [
"Axelos",
"Al-Hun"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Fitness_station_wall.jpg"
]
},
{
"path": "Horizontal_ladder.jpg",
"license": "CC-BY-SA",
"authors": [
"Tpikonen"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Horizontal_ladder.jpg"
]
},
{
"path": "Inclined_sit-up_and_hyperextension_bench.jpg",
"license": "CC-BY-SA",
"authors": [
"Tpikonen"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Inclined_sit-up_and_hyperextension_bench.jpg"
]
},
{
"path": "Inclined_sit-up_bench.jpg",
"license": "CC-BY-SA",
"authors": [
"Tpikonen"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Inclined_sit-up_bench.jpg"
]
},
{
"path": "Log_lifting_exercise.jpg",
"license": "CC-BY-SA",
"authors": [
"Tpikonen"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Log_lifting_exercise.jpg"
]
},
{
"path": "Outdoor_fitness_station_sign.jpg",
"license": "CC-BY-SA",
"authors": [
"kaitu"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Outdoor_fitness_station_sign.jpg",
"https://www.mapillary.com/app/?pKey=iWBo8pm9COksv8Qc8E7cfw&lat=45.87432166666667&lng=9.487998999999999&focus=photo&z=17&x=0.4903320875161608&y=0.48257487392238285&zoom=0"
]
},
{
"path": "Outdoor_stationary_bicycle.jpg",
"license": "CC-BY-SA",
"authors": [
"Tpikonen"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Outdoor_stationary_bicycle.jpg"
]
},
{
"path": "Push-up_bars.jpg",
"license": "CC-BY-SA",
"authors": [
"Tpikonen"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Push-up_bars.jpg"
]
},
{
"path": "RIAN_archive_493268_Sports_at_a_kindergarten.jpg",
"license": "CC-BY-SA",
"authors": [
"Igor Utkin"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:RIAN_archive_493268_Sports_at_a_kindergarten.jpg"
]
},
{
"path": "Slacklineanlage_im_Dietenbachpark.jpg",
"license": "CC-BY-SA",
"authors": [
"Andreas Schwarzkopf"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Slacklineanlage_im_Dietenbachpark.jpg"
]
},
{
"path": "Trimm-Dich-Pfad_Grünwalder_Forst_Klimmzüge.jpg",
"license": "CC-BY-SA",
"authors": [
"Zeitlupe"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Trimm-Dich-Pfad_Grünwalder_Forst_Klimmzüge.jpg"
]
},
{
"path": "fitness.svg",
"license": "CC0",
"authors": [
"Kocio"
],
"sources": [
"https://github.com/gravitystorm/openstreetmap-carto/blob/master/symbols/leisure/fitness.svg"
]
}
]

View file

@ -580,5 +580,8 @@
"width": "1",
"fill": "false"
}
],
"filter": [
"open_now"
]
}
}

View file

@ -0,0 +1,13 @@
[
{
"path": "sports_centre.svg",
"license": "CC-BY",
"authors": [
"Hello world",
"The Noun Project"
],
"sources": [
"https://thenounproject.com/icon/rogers-centre-464379/"
]
}
]

View file

@ -0,0 +1,67 @@
{
"id": "sports_centre",
"name": {
"en": "Sports centres"
},
"description": {
"en": "Indoor and outdoor sports centres can be found on this layer"
},
"minzoom": 12,
"source": {
"osmTags": "leisure=sports_centre"
},
"title": {
"render": {
"en": "Sports centre"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"tagRenderings": [
"images",
"opening_hours",
"phone",
"website",
"email",
"wheelchair-access"
],
"presets": [
{
"title": {
"en": "a sports centre"
},
"tags": [
"leisure=sports_centre"
]
}
],
"mapRendering": [
{
"icon": "circle:white;./assets/layers/sports_centre/sports_centre.svg",
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
}
],
"location": [
"point",
"centroid"
]
},
{
"color": "darkgreen",
"fill": "no"
}
],
"allowMove": {
"enableImproveAccuracy": true
},
"filter": [
"open_now"
]
}

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="700pt" height="700pt" version="1.1" viewBox="0 0 700 700" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g>
<path d="m591.92 328.72c0-49.281-110.88-127.68-242.48-127.68-131.6 0-242.48 78.398-242.48 127.68v0.55859 0.55859 89.602c0 3.9219 2.8008 6.7188 6.7188 6.7188l471.52 0.003906c3.9219 0 6.7188-2.8008 6.7188-6.7188v-89.602c0.003906-0.55859 0.003906-0.55859 0.003906-1.1211zm-242.48-114.24c123.76 0 218.96 68.879 227.92 108.08h-36.398c-12.32-30.238-89.039-89.602-191.52-89.602-106.4 0-176.96 45.359-191.52 89.602h-36.406c8.9609-39.199 104.16-108.08 227.92-108.08zm176.96 108.08h-354.48c20.156-47.598 103.6-76.16 177.52-76.16 92.398 0 160.72 51.523 176.96 76.16zm52.082 89.602h-457.52v-76.16h457.52z"/>
<path d="m427.84 346.64h-156.8v46.48h156.8zm-61.602 13.438v20.16h-33.602v-20.16zm-81.758 0h34.719v20.16h-34.719zm129.92 20.16h-34.719v-20.16h34.719z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 958 B