2022-04-11 23:56:49 +02:00
|
|
|
{
|
2022-04-13 22:44:04 +02:00
|
|
|
"id": "maxspeed",
|
2022-04-11 23:56:49 +02:00
|
|
|
"title": {
|
|
|
|
"es": "Velocidad",
|
|
|
|
"ca": "Velocitat",
|
|
|
|
"en": "Maxspeed"
|
|
|
|
},
|
|
|
|
"shortDescription": {
|
|
|
|
"es": "Completar propiedades de velocidad",
|
|
|
|
"ca": "Completar propietats de velocitat",
|
|
|
|
"en": "Complete maxspeed tags"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"es": "Completaremos las propiedades de velocidad de una vía.",
|
|
|
|
"ca": "Completarem les propietats de la velocitat de la via que faltin.",
|
|
|
|
"en": "Complete the maxspeed properties of a way."
|
|
|
|
},
|
|
|
|
"maintainer": "",
|
2022-04-22 16:25:52 +02:00
|
|
|
"icon": "./assets/themes/maxspeed/maxspeed_logo.svg",
|
2022-04-11 23:56:49 +02:00
|
|
|
"version": "0",
|
|
|
|
"startLat": 0,
|
|
|
|
"startLon": 0,
|
|
|
|
"startZoom": 1,
|
|
|
|
"widenFactor": 0.01,
|
|
|
|
"layers": [
|
|
|
|
{
|
2022-04-12 13:16:45 +02:00
|
|
|
"id": "maxspeed",
|
2022-04-11 23:56:49 +02:00
|
|
|
"name": {
|
|
|
|
"es": "Velocidad",
|
|
|
|
"ca": "Velocitat",
|
|
|
|
"en": "Maxspeed"
|
|
|
|
},
|
|
|
|
"minzoom": 16,
|
|
|
|
"title": {
|
|
|
|
"render": {
|
|
|
|
"es": "Nombre: {name}",
|
|
|
|
"ca": "Nom: {name}",
|
|
|
|
"en": "Name: {name}"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"name="
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"es": "Nombre: {name}",
|
|
|
|
"ca": "Nom: {name}",
|
|
|
|
"en": "Name: {name}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"es": "Completar las propiedades que faltan sobre velocidad",
|
|
|
|
"ca": "Completarem les propietats que falten de velocitat",
|
|
|
|
"en": "Complete the maxspeed properties of a way."
|
|
|
|
},
|
|
|
|
"tagRenderings": [
|
|
|
|
{
|
|
|
|
"render": {
|
|
|
|
"es": "Velocidad: {maxspeed}",
|
|
|
|
"ca": "Velocitat: {maxspeed}",
|
|
|
|
"en": "Speed: {maxspeed}"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"es": "Qué velocidad tiene",
|
|
|
|
"ca": "Quina velocitat té",
|
|
|
|
"en": "What is the maxspeed"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "maxspeed"
|
2022-04-12 13:16:45 +02:00
|
|
|
},
|
|
|
|
"id": "maxspeed-maxspeed"
|
2022-04-11 23:56:49 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"render": {
|
|
|
|
"es": "Sentido único: {oneway}",
|
|
|
|
"ca": "Sentit únic: {oneway}",
|
|
|
|
"en": "Oneway: {oneway}"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"es": "¿La vía es de sentido único?",
|
|
|
|
"ca": "La via és de sentit únic?",
|
2022-04-12 19:41:00 +02:00
|
|
|
"en": "Is this road a oneway-road?"
|
2022-04-11 23:56:49 +02:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "oneway"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"oneway=yes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"es": "Sentido único",
|
|
|
|
"ca": "Sentit únic",
|
2022-04-12 19:41:00 +02:00
|
|
|
"en": "Oneway road"
|
2022-04-11 23:56:49 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"oneway=no"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"es": "Doble sentido",
|
|
|
|
"ca": "Doble sentit",
|
2022-04-12 19:41:00 +02:00
|
|
|
"en": "Twoway street"
|
2022-04-11 23:56:49 +02:00
|
|
|
}
|
|
|
|
}
|
2022-04-12 13:16:45 +02:00
|
|
|
],
|
|
|
|
"id": "maxspeed-oneway"
|
2022-04-11 23:56:49 +02:00
|
|
|
}
|
|
|
|
],
|
2022-04-12 13:16:45 +02:00
|
|
|
"source": {
|
|
|
|
"osmTags": {
|
|
|
|
"or": [
|
|
|
|
"highway=residential",
|
|
|
|
"highway=living_street",
|
|
|
|
"highway=motorway",
|
|
|
|
"highway=tertiary",
|
|
|
|
"highway=service",
|
|
|
|
"highway=unclassified",
|
|
|
|
"highway=secondary",
|
|
|
|
"highway=primary",
|
|
|
|
"highway=trunk",
|
|
|
|
"highway=motorway",
|
|
|
|
"highway=tertiary_link",
|
|
|
|
"highway=secondary_link",
|
|
|
|
"highway=primary_link",
|
|
|
|
"highway=trunk_link",
|
|
|
|
"highway=motorway_link"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-04-22 16:25:52 +02:00
|
|
|
"allowSplit": true,
|
2022-04-12 13:16:45 +02:00
|
|
|
"mapRendering": [
|
|
|
|
{
|
|
|
|
"icon": {
|
2022-04-22 16:25:52 +02:00
|
|
|
"render": null,
|
2022-04-12 13:16:45 +02:00
|
|
|
"mappings": [
|
2022-04-22 16:25:52 +02:00
|
|
|
{
|
|
|
|
"if": "maxspeed~[1-9]0|1[0-4]0",
|
|
|
|
"then": "./assets/themes/maxspeed/maxspeed_{maxspeed}.svg"
|
|
|
|
}
|
2022-04-12 13:16:45 +02:00
|
|
|
]
|
2022-04-11 23:56:49 +02:00
|
|
|
},
|
2022-04-12 13:16:45 +02:00
|
|
|
"iconSize": {
|
2022-04-22 22:51:15 +02:00
|
|
|
"render": "32,32,center"
|
2022-04-11 23:56:49 +02:00
|
|
|
},
|
2022-04-12 13:16:45 +02:00
|
|
|
"location": [
|
|
|
|
"point",
|
2022-04-22 16:31:15 +02:00
|
|
|
"projected_centerpoint"
|
2022-04-12 13:16:45 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": {
|
|
|
|
"render": "#000000",
|
|
|
|
"mappings": [
|
|
|
|
{
|
2022-04-12 18:48:48 +02:00
|
|
|
"if": "maxspeed=",
|
|
|
|
"then": "#ff0000"
|
2022-04-12 13:16:45 +02:00
|
|
|
}
|
|
|
|
]
|
2022-04-11 23:56:49 +02:00
|
|
|
},
|
2022-04-12 13:16:45 +02:00
|
|
|
"width": {
|
|
|
|
"render": "3"
|
2022-04-11 23:56:49 +02:00
|
|
|
}
|
2022-04-12 13:16:45 +02:00
|
|
|
}
|
2022-04-22 16:25:52 +02:00
|
|
|
],
|
|
|
|
"units": [
|
|
|
|
{
|
|
|
|
"applicableUnits": [
|
|
|
|
{
|
|
|
|
"#": "km/h is the default for a maxspeed; should be empty string",
|
|
|
|
"canonicalDenomination": "",
|
|
|
|
"alternativeDenomination": [
|
|
|
|
"km/u",
|
|
|
|
"kmh",
|
|
|
|
"kph"
|
|
|
|
],
|
|
|
|
"default": true,
|
|
|
|
"human": {
|
|
|
|
"en": "kilometers/hour",
|
|
|
|
"ca": "quilòmetres/hora",
|
|
|
|
"es": "kilómetros/hora",
|
|
|
|
"nl": "kilometers/uur"
|
|
|
|
},
|
|
|
|
"humanShort": {
|
|
|
|
"en": "km/h",
|
|
|
|
"ca": "km/h",
|
|
|
|
"es": "km/h",
|
|
|
|
"nl": "km/u"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"canonicalDenomination": "mph",
|
|
|
|
"alternativeDenomination": [
|
|
|
|
"m/u",
|
|
|
|
"mh",
|
|
|
|
"m/ph"
|
|
|
|
],
|
|
|
|
"human": {
|
|
|
|
"en": "miles/hour",
|
|
|
|
"ca": "milles/hora",
|
|
|
|
"es": "millas/hora",
|
|
|
|
"nl": "miles/uur"
|
|
|
|
},
|
|
|
|
"humanShort": {
|
|
|
|
"en": "mph",
|
|
|
|
"ca": "mph",
|
|
|
|
"es": "mph",
|
|
|
|
"nl": "mph"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"appliesToKey": [ "maxspeed"]
|
|
|
|
}
|
2022-04-12 13:16:45 +02:00
|
|
|
]
|
2022-04-11 23:56:49 +02:00
|
|
|
}
|
2022-04-12 13:16:45 +02:00
|
|
|
]
|
2022-04-22 03:12:34 +02:00
|
|
|
}
|