Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement PDF/DOCX timetable generator #140

Open
wingsofovnia opened this issue Jun 15, 2017 · 1 comment
Open

Implement PDF/DOCX timetable generator #140

wingsofovnia opened this issue Jun 15, 2017 · 1 comment
Assignees
Milestone

Comments

@wingsofovnia
Copy link
Member

wingsofovnia commented Jun 15, 2017

The main export format of hermes will be a GTFS format. All other exports will be based on the transformation of exported GTFS package then.

The most important automation in Hermes is schedule tables export. That means we need to implement a mechanism of creating schedules tables from GTFS. These reports are published on bus stops in a paper form then.

Some basic requirements:

  • Input: gtfs zipped package
  • Output: pdf or any editable open doc format (docx / odt etc.)
  • Schedule templates must be separatable from generation code, i.e. when a new schedule design comes, we will be able to update generator will minimal effort
  • Ideally - have such templating mechanism they can handle by their own, i.e. they will be able to edit templates and import them to the generator.
    I heard about JasperReports from Java world. It even has IDE for creating reports incl document templates. There is a python binding https://github.com/jadsonbr/pyreport. Im not sure if it's a right tool for this task, research needed.
  • REST API

Some milestones:

  • Get to know with GTFS (required files only) https://developers.google.com/transit/gtfs/reference/
  • Search for available GTFS parsers and processors. Choose one or implement own.
  • Search for available pdf/docx tools with templating. Choose one.
  • HelloWorld with schedule template
  • Initial implementation, demo
@wingsofovnia wingsofovnia changed the title Implement GTFS to Schedule tables generator Implement Schedule timetable tables generator (2pdf/docx) Oct 27, 2017
@wingsofovnia wingsofovnia changed the title Implement Schedule timetable tables generator (2pdf/docx) Implement Schedule timetable tables generator Oct 27, 2017
@wingsofovnia
Copy link
Member Author

To simplify and speed-up dev, we will use direct schedule 2 pdf generation. At least for the first iteration.

@wingsofovnia wingsofovnia assigned glasierr and unassigned yasotnik Oct 27, 2017
@wingsofovnia wingsofovnia changed the title Implement Schedule timetable tables generator Implement PDF/DOCX timetable generator Oct 27, 2017
@wingsofovnia wingsofovnia added this to the Version 3.0 milestone Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants