mapcomplete/assets/layers/bicycle_rental/bicycle_rental.json

380 lines
9.6 KiB
JSON
Raw Normal View History

{
"id": "bicycle_rental",
"name": {
"en": "Bicycle rental",
2022-03-29 21:38:24 +02:00
"nl": "Fietsverhuur",
"fr": "Location de vélo"
},
"source": {
"osmTags": {
"and": [
{
"or": [
"amenity=bicycle_rental",
"bicycle_rental~*",
"service:bicycle:rental=yes",
"rental~.*bicycle.*"
]
}
]
}
},
"minzoom": 12,
"title": {
"render": {
"en": "Bicycle rental",
2022-02-13 20:54:31 +01:00
"nl": "Fietsverhuur",
"es": "Alquiler de bicicletas"
},
"mappings": [
{
"if": {
"and": [
"name~*"
]
},
"then": {
"en": "{name}",
"nl": "{name}"
}
}
]
},
"description": {
"en": "Bicycle rental stations",
2022-03-29 21:38:24 +02:00
"nl": "Fietsverhuustations",
"fr": "Station de location de vélo"
},
"tagRenderings": [
"images",
{
"id": "bicycle_rental_type",
"question": {
"en": "What kind of bicycle rental is this?",
"nl": "Wat voor fietsverhuur is dit?"
},
"mappings": [
{
"if": {
"and": [
"shop=bicycle_rental",
"bicycle_rental=shop"
]
},
"then": {
"en": "This is a shop whose main focus is bicycle rental",
"nl": "Dit is een zaak die focust op fietsverhuur"
}
},
{
"if": {
"and": [
"shop=rental"
]
},
"then": {
"en": "This is a rental buisiness which rents out various objects and/or vehicles. It rents out bicycles too, but this is not the main focus",
"nl": "Dit is een zaak die verschillende voorwerpen en/of voertuigen verhuurt, waaronder ook fietsen; al zijn fietsen niet de hoofdfocus"
},
"hideInAnswer": true
},
{
"if": {
"and": [
"service:bicycle:rental=yes",
"shop=bicycle"
]
},
"then": {
"en": "This is a shop which sells or repairs bicycles, but also rents out bicycles",
2022-04-07 03:13:29 +02:00
"nl": "Dit is een fietsenmaker of fietswinkel die ook fietsen verhuurt"
}
},
{
"if": "bicycle_rental=docking_station",
"then": {
"en": "This is an automated docking station, where a bicycle is mechanically locked into a structure",
"nl": "Dit is een docking station waar de fietsen mechanisch in een grotere structuur worden vastgemaakt"
}
},
{
"if": "bicycle_rental=key_dispensing_machine",
"then": {
"en": "A machine is present which dispenses and accepts keys, eventually after authentication and/or payment. The bicycles are parked nearby",
"nl": "Hier is een machine die fietssleutels verdeelt en terugneemt, eventueel na aanmelden of betaling. De fietsen staan in de buurt geparkeerd"
}
},
{
"if": "bicycle_rental=dropoff_point",
"then": {
"en": "This is a dropoff point: a designated bicycle parking for this cycle rental",
2022-02-04 01:30:39 +01:00
"nl": "Dit is een afzetpunt: een parking met duidelijke signalisatie waar (enkel) fietsen van deze fietsverhuur gezet worden",
"hu": "Ez egy leadási pont: ennek a kerékpárkölcsönzőnek a kijelölt kerékpártárolója"
}
}
],
"condition": "amenity=bicycle_rental"
},
"website",
"email",
"phone",
{
"builtin": "opening_hours",
"override": {
"condition": {
"or": [
"shop~*",
"opening_hours~*"
]
}
}
},
{
"builtin": "payment-options",
"override": {
"condition": "shop~*"
}
},
{
"builtin": "payment-options-advanced",
"override": {
"condition": "shop="
}
},
{
"id": "bicycle-types",
"labels": [
"bicycle_rental"
],
"question": {
"en": "What kind of bicycles and accessories are rented here?",
"nl": "Wat voor soort fietsen en fietstoebehren worden hier verhuurd?"
},
"render": {
"en": "{rental} is rented here",
"nl": "{rental} kunnen hier uitgeleend worden"
},
"freeform": {
"key": "rental",
"inline": true
},
"multiAnswer": true,
"mappings": [
{
"if": "rental=city_bike",
"then": {
"en": "Normal city bikes can be rented here",
"nl": "Gewone stadsfietsen kunnen hier gehuurd worden"
}
},
{
"if": "rental=ebike",
"then": {
"en": "Electrical bikes can be rented here",
"nl": "Elektrische fietsen kunnen hier gehuurd worden"
}
},
{
"if": "rental=bmx",
"then": {
"en": "BMX bikes can be rented here",
"nl": "BMX-fietsen kunnen hier gehuurd worden"
}
},
{
"if": "rental=mtb",
"then": {
"en": "Mountainbikes can be rented here",
"nl": "Mountainbikes kunnen hier gehuurd worden"
}
},
{
"if": "rental=kid_bike",
"then": {
"en": "Bikes for childs can be rented here",
"nl": "Kinderfietsen kunnen hier gehuurd worden"
}
},
{
"if": "rental=tandem",
"then": {
"en": "Tandem bicycles can be rented here",
"nl": "Tandems kunnen hier gehuurd worden"
}
},
{
"if": "rental=racebike",
"then": {
"en": "Race bicycles can be rented here",
"nl": "Wielerfietsen (sportfietsen) kunnen hier gehuurd worden"
}
}
]
},
{
"rewrite": {
"sourceString": [
"bicycle_type",
"type_plural"
],
"into": [
[
"city_bike",
{
"en": "city bikes",
2022-04-03 03:29:58 +02:00
"nl": "stadsfietsen"
}
],
[
"ebike",
{
"en": "electrical bikes",
"nl": "elektrische fietsen"
}
],
[
"kid_bike",
{
"en": "bikes for children",
"nl": "kinderfietsen"
}
],
[
"bmx",
{
"en": "BMX bikes",
"nl": "BMX-fietsen"
}
],
[
"mtb",
{
"en": "mountainbike",
"nl": "mountainbike"
}
],
[
"bicycle_pannier",
{
"en": "bicycle panniers",
"nl": "fietstassen"
}
],
[
"tandem_bicycle",
{
"en": "tandem",
"nl": "tandem"
}
]
]
},
"renderings": [
{
"id": "rental-capacity-bicycle-type",
"labels": [
"bicycle_rental"
],
"question": {
"en": "How much type_plural can be rented here? ",
"nl": "Hoeveel type_plural kunnen hier uitgeleend worden?"
},
"render": {
"en": "{capacity:bicycle_type} type_plural can be rented here",
"nl": "{capacity:bicycle_type} type_plural kunnen hier uitgeleend worden"
},
"freeform": {
"key": "capacity:bicycle_type",
"type": "pnat"
},
"condition": "rental~.*bicycle_type.*"
}
]
}
],
2022-02-14 19:00:25 +01:00
"presets": [
{
"title": {
2022-04-03 03:10:06 +02:00
"en": "a bicycle rental shop",
"nl": "een fietsverhuurzaak",
"fr": "une magasin de location de vélos"
2022-02-14 19:00:25 +01:00
},
"tags": [
"amenity=bicycle_rental",
"bicycle_rental=shop"
],
"description": {
"en": "A manned shop which focuses on bicycle rental",
2022-03-29 21:38:24 +02:00
"nl": "Een bemande winkel die focust op fietsverhuur",
"fr": "Un magasin qui priorise la location de vélos"
2022-02-14 19:00:25 +01:00
}
},
{
"title": {
2022-04-03 03:10:06 +02:00
"en": "a bicycle rental",
"nl": "een fietsverhuur"
2022-02-14 19:00:25 +01:00
},
"tags": [
"amenity=bicycle_rental"
]
}
],
"mapRendering": [
{
"icon": "./assets/themes/bicycle_rental/logo.svg",
"iconSize": {
"render": "40,40,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#3333aa88"
},
"width": {
"render": "2"
}
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": true
},
"deletion": {
"softDeletionTags": {
"and": [
"disused:amenity=bicycle_rental",
"bicycle_rental=",
"rental="
]
},
"neededChangesets": 10,
"extraDeleteReasons": [
{
"explanation": {
"nl": "{title()} is permanent gestopt",
2022-03-29 21:38:24 +02:00
"en": "{title()} has closed down permanently",
"fr": "{title()} a était fermé de façon permanente"
},
"changesetMessage": "shop_closed"
}
],
"nonDeleteMappings": [
{
"if": {
"and": [
"service:bicycle:rental=no"
]
},
"then": {
"en": "This bicycle shop used to rent out bikes but doesn't rent out bikes anymore",
2022-03-29 21:38:24 +02:00
"nl": "Deze fietszaak verhuurde vroeger fietsen, maar nu niet meer",
"fr": "Ce magasin de vélo louait des vélos, mais n'en loue plus maintenant"
}
}
]
}
}