Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 (more details in case of Neptune )

Consult the Imports

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

For each import, Status, Beginning, Name, Creator, are displayed.

You can filter the imports by:

  • their name

  • status

  • beginning

For each import the star wheel of every import allows to launch the accessible actions (see, download original file).

You can make an import of Neptune or GTFS file. Chouette recognize automatically the type of file.

The file data is stocked:

  • in the referential of lines and stops

  • in the data set created by the import

The data set is created with:

  • 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.

You can ask to the import to merge its data sets automatically in case of success.

You can see the informations of the import on its page.

The import can have the following status:

  • successful

  • warning

  • failed

  • pending

To be successful, import must contain the data able to pass through the validation.

During the import following tests are applied:

  • on format respect (syntactic and semantics)

  • on completeness and consistency of relations present in exchange format

  • optionally on the quality of data in sight of its exploitation

If a stop place, company or a network are defined several times in imported data, it is the last version seen by Chouette that will be included.

When the import is finished you receive a notification by email.

If the import is failed, on the import page you can see the files containing the errors that produced the failure.

Attention

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).

At the GTFS import Chouette will treat in order the following CSV files:

  • agencies.txt

  • stops.txt

  • routes.txt

  • calendars.txt

  • calendar_dates.txt

  • trips.txt

  • stop_times.txt

Each CSV file must contain a certain number of attributes, that have to be completed according to the official format.

Attention

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. Generally a transport network, characterised by several transport lines, represents a collection of files .xml grouped in .ZIP. Chouette treats the set of xml files located in the root of ZIP file chosen by the user, and validates them one by one.

Delete un import

Chouette conserves the file of each import. This conservation is limited in time. After a definable period the imports stay accessible in interface but their file is not available.

This cleaning is made after each import on the imports of the same workbench.

  • No labels