Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

240 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 {
              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"
          }
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

About

Ljubljana LPP bus routes in OpenStreetMap

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages