Fetches the data from LPP bus schedule and saves it into data/lpp:
erDiagram
lines ||--o{ lines_stops : "has stops"
lines {
string id PK "Bus line ID (composite of line number and lineExtra)"
string line "Line number on buses"
string lineExtra "Extra line descriptor (seasonal, temporary)"
string nameFrom "Start stop name"
string nameTo "End stop name"
}
stops ||--o{ lines_stops : "for lines"
stops {
int id PK "6-digit bus stop ID"
string name "Bus stop name"
}
lines_stops {
string lineId FK "Bus line ID (composite of line number and lineExtra)"
int direction "1=forward, 2=backwards"
int sequence "Stop number in the given direction"
int stopId FK "6-digit bus stop ID"
}
Fetches data from Marprom WEBMap and saves it into data/marprom:
python3 -m venv venvorvirtualenv -p python3 venvsource venv/bin/activatepip install -r requirements.txtpython update.py