Zuletzt angesehen:

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
maplibre [2026/04/03 16:46]
admin [OEPNV]
maplibre [2026/04/05 05:11] (aktuell)
jango
Zeile 1: Zeile 1:
 +MapLibre GL ist ein Open-Source Fork von MapBox GL.
 +
 =====Minimalbeispiel===== =====Minimalbeispiel=====
  
Zeile 318: Zeile 320:
  
 ====V1==== ====V1====
 +===Data Export===
 <code bash> <code bash>
 osmium tags-filter wien.osm.pbf \ osmium tags-filter wien.osm.pbf \
Zeile 346: Zeile 349:
 </code> </code>
  
 +===Python script===
 <code python> <code python>
 #!/usr/bin/env python3 #!/usr/bin/env python3
Zeile 681: Zeile 685:
 </code> </code>
  
 +===Datenaufbereitung===
 <code bash> <code bash>
 python3 osm_pt_data_to_geojson.py bus-relevant.osm.pbf bus-stops.geojson bus-routes.geojson bus python3 osm_pt_data_to_geojson.py bus-relevant.osm.pbf bus-stops.geojson bus-routes.geojson bus
Zeile 688: Zeile 693:
 </code> </code>
  
 +===Anzeigen===
 <code html> <code html>
 <!doctype html> <!doctype html>
Zeile 1409: Zeile 1415:
 Öffi Router Öffi Router
  
-Data Export+===Data Export===
 <code bash> <code bash>
 osmium tags-filter wien.osm.pbf r/route=bus -o bus-routes-only.osm.pbf -O osmium tags-filter wien.osm.pbf r/route=bus -o bus-routes-only.osm.pbf -O
Zeile 1428: Zeile 1434:
 </code> </code>
  
 +===Python script===
 <code python> <code python>
 #!/usr/bin/env python3 #!/usr/bin/env python3
Zeile 1876: Zeile 1883:
 </code> </code>
  
 +===Datenaufbereitung===
 <code> <code>
 python3 osm_route_relations_to_station_graph.py bus-complete.osm.pbf bus-station-graph.json bus --transfer=120 python3 osm_route_relations_to_station_graph.py bus-complete.osm.pbf bus-station-graph.json bus --transfer=120
Zeile 1889: Zeile 1897:
 </code> </code>
  
 +===Test===
 <code> <code>
 python3 route_station_transit.py \ python3 route_station_transit.py \
Zeile 1896: Zeile 1905:
   route-result.json   route-result.json
 </code> </code>
 +
 +=====Links=====
 +
 +  * [[https://dev.to/geoapify-maps-api/how-to-visualize-and-style-routes-on-a-maplibre-gl-map-416g|Visual and style routes on a map]]