Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content

Table of Contents

Additional information on Network or Line

Branding is a generic NeTEx element which can be applied to elements in the NeTEx structure for adding or overriding name and URL. In the Nordic profile, the usage is limited to adding additional names and URL to the Network and Line elements.

  • Branding per Network

    • Used when certain lines in the dataset have a common denominator, i.e. Network.

    • Examples of this can be a cluster of city buses, a string of Lines which form a coherent service, or a sales related brand name.

    • The Network may have a different URL from the authority.

  • Branding per Line

    • Used when a Line has a commonly used or publicly marketed name which a customer may relate to in addition to the Lines' publicCode.

    • An example of this can be e.g. "Bergensbanen" for railway service journeys between Oslo and Bergen.

    • The Line may have a different URL from the authority.

Info

For multiple Networks in one dataset, additionalNetwork must be used.

Note that each additionalNetwork may have its own Authority, and must be used if necessary to have multiple Authorities within the same dataset.

...

The Branding elements may be added to the commons file of the dataset (for reduced redundancy) and is referred to from Network or Line with the use of a BrandingRef.

Gliffy
imageAttachmentIdatt728596642
macroIdf018d4b8-bc3b-4641-a0db-1e32be2bf385
baseUrlhttps://enturas.atlassian.net/wiki

...

namecodespace-authority-branding-operator
migration1
diagramAttachmentIdatt728596646
containerId728727682
timestamp1566906621697

Please note that the concept of GroupOfLines is not a part of the hierarchy and does necessarily have to include the same lines as the Network.

The entire XML sample file is files are located in the GitHub repository: 

Elements

ValueSet

Each instance of Branding is defined under ResourceFrame (as a TypeOfValue), specified with Name value. 

...

The reference element BrandingRef must be specified for the object where a name, (and if applicable, other fields) is to be replaced.

Branding on a Line

(simplified example)

Code Block
languagexml
<Line version="1" id="UNI:Line:1">
	<BrandingRef version="1" ref="UNI:Branding:1"/>
	<Name>Oslo-Kristiansand-Stavanger</Name>
	<TransportMode>bus</TransportMode>
	<TransportSubmode>
		<BusSubmode>localBus</BusSubmode>
	</TransportSubmode>
</Line>

...