{ "id": "maxspeed", "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": "", "icon": "maxspeed_logo.svg", "version": "0", "startLat": 0, "startLon": 0, "startZoom": 1, "widenFactor": 0.01, "layers": [ { "id": "maxspeed", "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" }, "id": "maxspeed-maxspeed" }, { "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?", "en": "Is this road a oneway-road?" }, "freeform": { "key": "oneway" }, "mappings": [ { "if": { "and": [ "oneway=yes" ] }, "then": { "es": "Sentido único", "ca": "Sentit únic", "en": "Oneway road" } }, { "if": { "and": [ "oneway=no" ] }, "then": { "es": "Doble sentido", "ca": "Doble sentit", "en": "Twoway street" } } ], "id": "maxspeed-oneway" } ], "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" ] } }, "mapRendering": [ { "icon": { "mappings": [ "if":"maxspeed~[1-9]0|1[0-2]0", "then": "maxspeed_{maxspeed}.png" ] }, "iconSize": { "render": "20,20,center" }, "location": [ "point", "centroid" ] }, { "color": { "render": "#000000", "mappings": [ { "if": "maxspeed=", "then": "#ff0000" } ] }, "width": { "render": "3" } } ] } ] }