-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the BetaX router wiki!
The initial aim of this repository was to build a router that can identify bus lines from point A to point B using GIS data.
Currently, it has 4 executables that are described below:
overpass-api
Get bus line data from OpenStreetMap using OverPass API.
You can specify the latitude, and longitude boundaries for the area to download and the file's name to output the result.
eg. ./overpass-api -b -19.0790 -a 47.2402 -d -18.7464 -c 47.7569 -f antananarivo.xml
to download data for the bus lines of the urban area of Antananarivo, the capital of Madagascar Island.
list-bus-stop
It's listing the bus lines with their associated data and create a text file with the list of bus stops for each bus line.
parse-xml
Parse the XML file provided as an argument and write a HTML showing the line in a map.
test-json
When an XML file name is given as an argument, it will be outputted in JSON format through the standard output.
eg. ./test-json antananarivo.xml > antananarivo.json