/
Sprint 107

Sprint 107

All our products have been updated on Mar 18, 2024 with the releases associated to this Sprint 107.

 

Chouette

Accept or not multiple values per model for a same Code Space

The user can define if a Code Space can be used twice for a same model (Stop Area, Vehicle Journey, etc.).

screenshot-chouette-core-test.enroute.mobi-2024.05.22-08_31_56.png

By default, a Code Space can be used several times in a same model.

When a Code Space isn’t allowed to have multiple values per model, the user can’t modify a model where the same Code Space is used twice:

image-20240522-064248.png

This attribute doesn’t define if this Code Space has a unique value between several models. The user can use the dedicated Code Uniqueness Control for this purpose.

Replace Code value in NeTEx import when multiple values are not allowed

When a Code Space doesn’t allow multiple values per model, the NeTEx import should replace the existing value if a NeTEx alternate identifier defined a new value for this code space.

<StopPlace id="42"> <keyList> <KeyValue typeOfKey="ALTERNATE_IDENTIFIER"> <Key>sample</Key> <Value>Other Value</Value> </KeyValue> </keyList> </StopPlace>

This logic applies for models managed by Chouette synchronization (Stop Areas, Lines, Companies, etc.), not for models stored in Datasets (Routes, Vehicle Journeys, …).

Associate documents via a Macro

The user can use an “Associate Documents” to associate models (Stop Area or Line) with documents with the same code:

Control Service Count in given range

The user can ensure that daily Service Counts for each Line are in the given range:

Ara

Codes and Code Spaces

The Ara user interface and API uses now the terms Code and Code Space to designate values associated to each real-time models. It matches the vocabulary used into Chouette for the same mechanism.

It replaces the terms Object ID and Object ID Kind.