User:Yopaseopor/velocidad

From OpenStreetMap Wiki
Jump to navigation Jump to search

{ "id": "velocidad", "title": { "es": "Velocidad" }, "description": { "es": "Completar propiedades de velocidad" }, "language": [ "es" ], "maintainer": "", "icon": "https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_R301.png", "version": "0", "startLat": 0, "startLon": 0, "startZoom": 1, "widenFactor": 0.05, "socialImage": "", "layers": [ { "id": "velocidad", "name": { "es": "Velocidad-" }, "minzoom": 16, "overpassTags": { "and": [ "highway~residential|living_street|tertiary|service|unclassified|secondary|primary|trunk|motorway|tertiary_link|secondary_link|primary_link|trunk_link|motorway_link" ] }, "title": { "render": { "es": "Nombre: {name}" }, "mappings": [ { "if": { "and": [ "name=*" ] }, "then": { "es": "Nombre {name}" } }, { "if": { "and": [ "name!~*" ] }, "then": { "es": "No tiene nombre" } } ] }, "description": { "es": "Completar las propiedades que faltan sobre velocidad" }, "tagRenderings": [ { "render": { "es": "Velocidad: {maxspeed}" }, "question": { "es": "Qué velocidad tiene" }, "freeform": { "key": "maxspeed" } }, { "render": { "es": "Sentido único: {oneway}" }, "question": { "es": "¿La vía es de sentido único?" }, "freeform": { "key": "oneway" }, "mappings": [ { "if": { "and": [ "oneway=yes" ] }, "then": { "es": "Sí" } }, { "if": { "and": [ "oneway=no" ] }, "then": { "es": "No" } } ] } ], "icon": { "render": { "es": "https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_R301_120.png" }, "mappings": [ { "if": { "and": [ "maxspeed!~*" ] }, "then": { "es": "https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_R301_130.png" } }, { "if": { "and": [ "maxspeed=20" ] }, "then": { "es": "https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_R301_20.png" } }, { "if": { "and": [ "maxspeed=30" ] }, "then": { "es": "https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_R301_30.png" } }, { "if": { "and": [ "maxspeed=50" ] }, "then": { "es": "https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_R301_50.png" } }, { "if": { "and": [ "oneway=yes" ] }, "then": { "es": "https://raw.githubusercontent.com/yopaseopor/beta_preset_josm/master/ES/traffic_signs/ES/ES_P25.png" } } ] }, "size": { "render": { "es": "8" }, "mappings": [ { "if": { "and": [ "maxspeed=20" ] }, "then": { "es": "2" } }, { "if": { "and": [ "maxspeed=30" ] }, "then": { "es": "10" } }, { "if": { "and": [ "maxspeed=50" ] }, "then": { "es": "35" } }, { "if": { "and": [ "maxspeed=70" ] }, "then": { "es": "150" } } ] }, "color": { "render": { "es": "#000000" }, "mappings": [ { "if": { "and": [ "maxspeed=30" ] }, "then": { "es": "#33caff " } }, { "if": { "and": [ "maxspeed=50" ] }, "then": { "es": "#c733ff" } }, { "if": { "and": [ "maxspeed!~*" ] }, "then": { "es": "#ff0000" } }, { "if": { "and": [ "maxspeed=20" ] }, "then": { "es": "#6b8942" } }, { "if": { "and": [ "oneway=yes" ] }, "then": { "es": "#89426e" } } ] }, "stroke": { "render": { "es": "3" }, "mappings": [] }, "presets": [], "wayHandling": 2, "iconSize": { "render":"40,40,center" }, "width": { "render":"8" } } ], "roamingRenderings": [] }