Versions Compared

Key

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

Vi kommer använda Samtrafikens säljbara rikshållplatser och de kommer länkas från den här platsen.

Rikshållplatserna i OSDM ser ut enligt detta exempel In the Samtrafiken ACCESS API, the codelist for stops will contain all Samtrafiken’s sellable national stop IDs (known as “rikshållplatser”). The stop IDs contain 9 digits and they will be used according to the codelist urn:x_swe:stn:nnnnnnnnn, where nnnnnnnnn is the stop ID.

Example: urn:x_swe:stn:740000001 där 74: är countrycode och 0000001: är station code., where 74 is the country code and 0000001: is the stop code.

Below is a NeTEx _stops.xml file from the Samtrafiken Sales NeTEx dataset, with all national stops as of
2023-11-07. The format is described here: NeTEx format adjustments - Samtrafiken sales export.

The value “sellable” will be true if the StopPlace is sellable through Samtrafiken systems, and false if not.

A new version of the Samtrafiken Sales NeTEx dataset is published on Samtrafikens FTP server every day, so in a production environment the latest version of the file should be used.

NeTEx _stop.xml file from Samtrafiken Sales NeTEx dataset 2023-11-07

View file
namestops_samtrafikensales_20231107_225423.zip