Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.82 KB

README.md

File metadata and controls

48 lines (38 loc) · 1.82 KB

Slovenia - bus routes in OpenStreetMap

Update

Ljubljana - Ljubljanski Potniški Promet (LPP)

Fetches the data from LPP bus schedule and saves it into data/lpp:

erDiagram
          lines ||--o{ lines_stops : "has stops"
          lines {
              int id PK "3-4-digit bus line ID"
              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 {
              int lineId FK "3-4-digit bus line ID"
              int direction "1=forward, 2=backwards"
              int sequence "Stop number in the given direction"
              int stopId FK "6-digit bus stop ID"
          }
Loading

Maribor - Marprom

Fetches data from Marprom WEBMap and saves it into data/marprom:

Development

  1. python3 -m venv venv or virtualenv -p python3 venv
  2. source venv/bin/activate
  3. pip install -r requirements.txt
  4. python update.py