Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Adapps lango switcher macro
Table of Contents

Description

Import allows to save a data set in database, within chosen format, to avoid the manual input of all the data. The validation tests are applied before the import to the database.

Consult the Imports

You can see the imports done by your organization in “Workbench” - “Imports”.

...

  • import name

  • the list of referenced lines from file

  • the period covering from the first to the last day of calendars present in file

Start an import

To import the data into Chouette, you need to click on “New import”, fill in the template and choose a file to import.

...

...

Chouette offers you the following options:

  • Choice of notification recipients

  • Automatic merge. You can request at import that the created data sets are merged automatically in case of success.

Info

This automatic launch is not performed if the import fails (due to problems in reading data or errors in automatic validation).

  • Automatic archive. You can

...

  • request at import to archive the created dataset if the import ends in failure. Thus the dataset will not block a new import of a corrected file that covers the same periods and lines.

  • Urgent data. You can request at import to flag your offer as urgent, so that it can be processed as a priority in the rest of the chain.

  • You can

...

  • allow the import to make changes to Workbenches resources.

  • You can request at import to store the original XML resources.

  • You can request at import to deactivate all stops and lines that were previously imported and are no longer present in the current import file.

Info

Attention, depending on the import data, this option can carry out a massive deactivation on the line and stop referentials. To reactivate stops and lines back, they will have to be reimported into Chouette, or manually reactivated one by one.

The import type is automatic by default to manage files in GTFS or Neptune formats.

...

Note

The data set wont be created if the import data has a conflict with the existing data set “In edition”.

GTFS

“GTFS file” is a ZIP file containing the CSV files (a file by data type: stop areas, calendars, passing times etc).

...

Info

If one of CSV files of GTFS is absent or doesn’t answer the official formats, the import will fail.

NEPTUNE

Each NEPTUNE file answers to description of a line of transport network.

...

Chouette treats the set of xml files located in the root of ZIP file chosen by the user, and validates them one by one.

Shapes

To import a .ZIP file that groups the geometries of the shapes, you must define the import type as “Shape file”.

...

Info

If any geometry of the shape file is missing or does not match official formats, the import will fail.

NeTEx Generic

To import an .xml file in generic NeTEx format with stops, lines, carriers, networks, etc., the type of import must be defined as “generic Netex”.

...

Info

If a xml file of NeTEx file does not match the official formats, the import will fail.

Automatic purge of old imports

Chouette conserves the file of each import.

...