Skip to content

de-stops/berchtesgadener-land-stops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

berchtesgadener-land-stops

This is a simple script to download Berchtesgadener Land stops as GTFS-compatible CSV.

The script uses the following endpoint:

http://www.bayern-fahrplan.de/XML_COORD_REQUEST?&jsonp=&boundingBox=&boundingBoxLU={minx}%3A{miny}%3AWGS84%5BDD.DDDDD%5D&boundingBoxRL={maxx}%3A{maxy}%3AWGS84%5BDD.DDDDD%5D&coordOutputFormat=WGS84%5BGGZHTXX%5D&type_1=STOP&outputFormat=json&inclFilter=1

It starts from bounding box (12.6, 47.4, 13.2, 48.1) 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"
"1142276","Stanggaß, Bergsicht",12.973656019600002,47.6375167176,"de:9172:42276"

Usage

npm install
npm run export

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 Berchtesgadener Land stops as GTFS-compatible CSV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published