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.

...

  • You can resquest at NeTEx import to synchronize models strictly with NeTEx resources (if a NeTEx attribute is not defined, the model attribute will be reset).

  • You can set a line provider that you want to attache to the lines of your import file.

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.

...