Skip to content

de-stops/mansfeld-suedharz-stops

Repository files navigation

mansfeld-suedharz-stops

This is a simple script to download all Mansfeld-Südharz stops as GTFS-compatible CSV.

The script uses the following endpoint:

https://reiseauskunft.insa.de/bin/query.exe/dny?performLocating=2&tpl=stop2json&look_stopclass=2147483647&look_minx={minx}&look_miny={miny}&look_maxx={maxx}&look_maxy={maxy}

It starts from bounding box (5, 47, 15, 56) and works down to smaller quadrants.

The script produces CSV output in the following format:

stop_id,stop_name,stop_lon,stop_lat,stop_code
"10001","Röblingen am See, EKZ",11.67074,51.451954,""

Prerequisites

These scrips use PostGIS to filter stops belonging to administrative regions covered by the transport company.
See this project for a simple way to create a PostGIS database with administrative regions.

Usage

Windows

npm install
00-export-unfiltered-stops
01-filter-stops

Disclaimer

Usage of this script may or may not be legal, use on your own risk.
This repository provides only source code, no data.

License

Source code is licensed under BSD 2-clause license. No license and no guarantees implied on the produced data, produce and use on your own risk.

About

Retrieves Mansfeld-Südharz stops as GTFS-compatible CSV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published