Mapy a mapové výstupy: Rozdiel medzi revíziami

Zo stránky Manuál peších 🚶 a cyklistických 🚲 riešení
Prejsť na navigáciu Prejsť na vyhľadávanie
Bez shrnutí editace
Bez shrnutí editace
Riadok 22: Riadok 22:
     }
     }
     */
     */
    arelation[route=bicycle][state=proposed] { width:4; color: red; opacity: 0.3; }
     way[highway=cycleway] { width:8; color: blue; opacity: 0.7; }
     way[highway=cycleway] { width:8; color: blue; opacity: 0.7; }
     way[highway=cycleway][segregated=yes] { width:8; color: navy; opacity: 1; }
     way[highway=cycleway][segregated=yes] { width:8; color: navy; opacity: 1; }
Riadok 36: Riadok 35:
     out body; >; out skel qt;
     out body; >; out skel qt;
</nowiki>
</nowiki>
Alternatíva:
    relation[network=lcn](<nowiki>{{bbox}}</nowiki>);

Verzia z 10:01, 22. marec 2019

Mapy a mapové výstupy pre cyklistov - obsahujúce cyklotrasy, odpočívadlá a pod. môžete vytvárať z podkladov Open Street Map.

Kód pre Overpass Turbo na vyznačenie cyklotrás:

   /* This shows the cycleway and cycleroute network.
   */
   [out:json];
   (
   // get cycle route relatoins
   //relation[route=bicycle]({{bbox}});
   // get cycleways
   way[cycleway]({{bbox}});
   way["cycleway:left"]({{bbox}});
   way["cycleway:right"]({{bbox}});
   way[highway=pedestrian]({{bbox}});
   way[highway=cycleway]({{bbox}});
   way[bicycle=designated]({{bbox}});
 );
 {{style: /*
    way {
    text: name;
    }
    */
    way[highway=cycleway] { width:8; color: blue; opacity: 0.7; }
    way[highway=cycleway][segregated=yes] { width:8; color: navy; opacity: 1; }
    way[oneway=yes] { width:4; color: blue; opacity: 0.7; }
    way[cycleway:left=lane] { width:4; color: blue; opacity: 0.7; }
    way[cycleway:right=lane] { width:4; color: blue; opacity: 0.7; }
    way[cycleway=shared_lane] { width:2; color: blue; opacity: 0.5; dashes:1,8; }
    way[cycleway:left=shared_lane] { width:2; color: blue; opacity: 0.5; dashes:1,8; }
    way[cycleway:right=shared_lane] { width:2; color: blue; opacity: 0.5; dashes:1,8; }
    way[bicycle=designated] { width:2; color: blue; opacity: 0.5; dashes:1,8; }
    way[highway=pedestrian] { width:2; color: blue; opacity: 0.5; dashes:1,8; }
    node, area { color: transparent, fill-color: transparent; } }}
    out body; >; out skel qt;

Alternatíva:

   relation[network=lcn]({{bbox}});