Giter VIP home page Giter VIP logo

gtfs's People

Contributors

osm-tonie avatar strubbl avatar

Watchers

 avatar

Forkers

strubbl

gtfs's Issues

wrongly identified a trip as sub-route of another trip

trips are identical w.r.t. name of stops.

trips end at same stop_area but at different platforms

  1. trip ends at: de:12:98:1

  2. trip ends at: de:12:98:14

so 1. trip is wrongly identified as a sub-route of the sedond one.

Error in finding unique trip_ids

When searching unique trip_ids, identical stop_list-strings of trips of different route_ids (of same route_short_name?) where mixed, so that it can happen that all trip_ids of a route_id are considered as similar and thus the route_id vanishes.

Calculate number of trips per trip-variant

Roughly: number of days where service is provides multiplied by number of departures per day

ptna_trips has "list_service_ids" which includes a list of service_ids (corresponds to each departure time in list_departures)

  • calendar: for each relevant service_id find the number of service days (end_date - start_date) * (week_days with '1') / 7

  • calendar_dates: for each relevant service_id add the number of "exception_type == 1" and subtract the number of "exception_type == 2"

  • store the number of service days for each service in an extra sql table

  • ptna_trips: for this trip_id take the service_ids and their individual number out of "list_service_ids" and multiply those numbers with the individual number of service days per service_id

check for GTFS update automatically

This is linked to issue #3 in 'gtfs-feed' repository

Create a script which uses the feed specific scripts

  • get_release_date.sh

  • get_release_url.sh

  • cleanup.sh

to do the necessary stuff.

list_departures and list_durations in ptna_trips should be sorted correctly

ptna-www repo shows the "Service Times"

  • departure times sorted by time
  • as is for the durations

--> departure times and durations do not fit together when departure times were unsorted and # of durations times > 1

Fix this in this repo rather than in ptna-www

ptna-www will rely on those lists being sorted and well aligned - well not sort again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.