Skip to content

Scripts to compare official DELFi zHV or NVBW stops with OSM stops

License

Notifications You must be signed in to change notification settings

juliuste/nvbw-osm-stop-comparison

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTFS/NVBW OSM Stop Comparison

This project provides some scripts to compare officially provided stops from Nahverkerkehrsgesellschaft Baden-Württemberg (NVBW) or DELFI e.V. with stops extracted from OpenStreetMap.

Note: Theses scripts currently rely on the specific file format of the NVBW or zHV Haltestellen file but might one day be generalized to a further input sources, e.g. GTFS-feeds.

Prerequisites

To compare transit stops with osm data, you need

How to run

> pip install -r requirements.txt
> python3 compare_stops.py  -o <path to baden-wuerttemberg-latest.osm.pbf> -s <nvbw stopsfile>

Compare DELFI eV stops to OSM

> pip install -r requirements.txt
> python3 compare_stops.py  -o <path to germany-latest.osm.pbf> -s <zVV stopsfile> -p DELFI

This script will create a spatialite database, import the official stops and the osm stops, calculate probable match candidates and finally pick the most probable matches.

About

Scripts to compare official DELFi zHV or NVBW stops with OSM stops

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%