Revision 556c782...

Go back to digest for 18th September 2011

Features in Utilities

Friedrich Karl Tilman Pülz committed changes in [publictransport/GeneralTransitFeed] /:

Improve error handling, progress reporting, non-blocking import

- Report progress/errors of importing/downloading GTFS feeds through
the data engine to visualizations
- Add optional <timeZone>-tag to accessor XMLs, can be used to define
a timezone to use, if none is given otherwise. Used by GTFS accessors
if the imported feed doesn't include timezone information in
agency.txt (although required for valid GTFS).
- Create new class GeneralTransitFeedDatabase, which manages GTFS
- Do importing of GTFS feeds in a separate thread to not block the
whole data engine and thus whole plasma
- Check required files in GTFS feeds before importing them
- Check minimum records for GTFS feed files (eg. at least one stop)

File Changes

Added 2 files
  •   engine/generaltransitfeed_database.cpp
  •   engine/generaltransitfeed_database.h
Modified 10 files
  •   engine/accessorinfoxmlreader.cpp
  •   engine/CMakeLists.txt
  •   engine/generaltransitfeed_importer.cpp
  •   engine/generaltransitfeed_importer.h
  •   engine/publictransportdataengine.cpp
  •   engine/publictransportdataengine.h
  •   engine/timetableaccessor.h
  •   engine/timetableaccessor_generaltransitfeed.cpp
  •   engine/timetableaccessor_generaltransitfeed.h
  •   engine/timetableaccessor_info.h
12 files changed in total