Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C chouette-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • chouette-core
  • Wiki
  • GTFS Import

GTFS Import · Changes

Page history
Updated GTFS Import (markdown) authored Oct 15, 2018 by emaffert's avatar emaffert
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 2 deletions
+2 -2
  • GTFS-Import.md GTFS-Import.md +2 -2
  • No files found.
GTFS-Import.md
View page @ 0d5c96e2
...@@ -186,11 +186,11 @@ A GTFS Trip is converted in a combination of a Chouette Route, JourneyPattern, a ...@@ -186,11 +186,11 @@ A GTFS Trip is converted in a combination of a Chouette Route, JourneyPattern, a
If the direction_id GTFS attribute is "1" then the Chouette Route wayback attribute will be "outbound", otherwise wayback will be "outbound". If the direction_id GTFS attribute is "1" then the Chouette Route wayback attribute will be "outbound", otherwise wayback will be "outbound".
The Chouette Route published_name and name attributes will be equal to the trip_short_name GTFS attribute if it's present, else to the trip_headsign attribute if it's present, or else to "OUTBOUND" or "INBOUND" depending on the direction_id GTFS attribute. The Chouette Route published_name and name attributes will be equal to the trip_headsign GTFS attribute if it's present, else to the trip_short_name attribute if it's present, or else to "OUTBOUND" or "INBOUND" depending on the direction_id GTFS attribute.
The Chouette JourneyPattern name attribute is equal to the Chouette Route name. The Chouette JourneyPattern name attribute is equal to the Chouette Route name.
The Chouette VehicleJourney published_journey_name attribute is will be equal to the trip_headsign GTFS attribute if it exists, or else to the trip_id GTFS attribute. The Chouette VehicleJourney published_journey_name attribute is will be equal to the trip_short_name GTFS attribute if it exists, or else to the trip_id GTFS attribute.
We use the GTFS attribute route_id to find and associate the Line to the Chouette objects. We use the GTFS attribute route_id to find and associate the Line to the Chouette objects.
......
Clone repository

Architecture

  • Data Models
  • Class Diagram

Install and configure

  • installation manual
  • Optional Feature flags
  • Policy management (TODO)

Best practices in code

Rails code rules

  • Writing a migration
  • Writing a model
  • Writing a controller
  • Writing a view
  • Writing a policy (TODO)
  • Writing a feature (TODO)
  • I18n

Test code rules

  • Writing a spec
  • Writing a javascript test

Exchange format

Neptune

  • Import TODO
  • Export TODO

GTFS

  • Import
  • Export

Netex

  • Import TODO
  • Export TODO