NetexConfig Data Type

Properties
name data type description
netexFeedId string This field is used to identify the specific NeTEx feed. It is used instead of the feed_id field in GTFS file feed_info.txt.
ignoreFilePattern Pattern This field is used to exclude matching files in the module file(zip file entries). The ignored files are not loaded.

Default value is '$^' which matches empty stings (not a valid file name).

sharedFilePattern Pattern This field is used to match shared files(zip file entries) in the module file. Shared files are loaded first. Then the rest of the files are grouped and loaded.

The pattern 'shared-data\.xml' matches 'shared-data.xml'

File names are matched in the following order - and treated accordingly to the first match:

  1. ignoreFilePattern
  2. Shared file pattern (this)
  3. sharedGroupFilePattern.
  4. groupFilePattern.

Default value is 'shared-data\.xml'

sharedGroupFilePattern Pattern This field is used to match shared group files in the module file(zip file entries). Typically this is used to group all files from one agency together.

Shared group files are loaded after shared files, but before the matching group files. Each group of files are loaded as a unit, followed by next group.

Files are grouped together by the first group pattern in the regular expression.

The pattern '(\w{3})-.*-shared\.xml' matches 'RUT-shared.xml' with group 'RUT'.

Default value is '(\w{3})-.*-shared\.xml'

groupFilePattern Pattern This field is used to match group files in the module file(zip file entries). group files are loaded right the after shared group files are loaded.

Files are grouped together by the first group pattern in the regular expression.

The pattern '(\w{3})-.*\.xml' matches 'RUT-Line-208-Hagalia-Nevlunghavn.xml' with group 'RUT'.

Default value is '(\w{3})-.*\.xml'

ferryIdsNotAllowedForBicycle array of string Bicycles are allowed on most ferries however Nordic profile doesn't contain a place where bicycle conveyance can be defined.

For this reason we allow bicycles on ferries by default and allow to override the rare case where this is not the case.

Example

{
  "netexFeedId" : "...",
  "ignoreFilePattern" : { },
  "sharedFilePattern" : { },
  "sharedGroupFilePattern" : { },
  "groupFilePattern" : { },
  "ferryIdsNotAllowedForBicycle" : [ "...", "..." ]
}