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 8: Riadok 8:
     (
     (
     // get cycle route relatoins
     // get cycle route relatoins
     //relation[route=bicycle]({{bbox}});
     //relation[route=bicycle](<nowiki>{{bbox}}</nowiki>);
     // get cycleways
     // get cycleways
     way[cycleway]({{bbox}});
     way[cycleway](<nowiki>{{bbox}}</nowiki>);
     way["cycleway:left"]({{bbox}});
     way["cycleway:left"](<nowiki>{{bbox}}</nowiki>);
     way["cycleway:right"]({{bbox}});
     way["cycleway:right"](<nowiki>{{bbox}}</nowiki>);
     way[highway=pedestrian]({{bbox}});
     way[highway=pedestrian](<nowiki>{{bbox}}</nowiki>);
     way[highway=cycleway]({{bbox}});
     way[highway=cycleway](<nowiki>{{bbox}}</nowiki>);
     way[bicycle=designated]({{bbox}});
     way[bicycle=designated](<nowiki>{{bbox}}</nowiki>);
<nowiki> </nowiki> );
  );
<nowiki> </nowiki>  <nowiki>{{style: /*
  <nowiki>{{style: /*
     way {
     way {
     text: name;
     text: name;
Riadok 33: Riadok 33:
     way[bicycle=designated] { 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; }
     way[highway=pedestrian] { width:2; color: blue; opacity: 0.5; dashes:1,8; }
     node, area { color: transparent, fill-color: transparent; } }}</nowiki>
     node, area { color: transparent, fill-color: transparent; } }}
<nowiki> </nowiki>  out body; >; out skel qt;
    out body; >; out skel qt;
</nowiki>

Verzia z 16:07, 23. február 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;
    }
    */
    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][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;