New release of Entur GTFS feed

Entur plans to roll out an updated version of their GTFS feed on April 30th 2020.

This is a technical update aimed at improving the speed of the export process and reducing resource consumption on Entur's system.

The data scope and semantic is unchanged. Two minor changes in the data format are detailed below. They are not expected to impact data consumers.


1. Latitude/Longitude format

The latitudes and longitudes used to be formatted with 6 decimal digits padded with 0. In the coming release, the non-significant zero digits are dropped. Example:

Current algorithm:

shape_pt_lat
58.202710

New algorithm:
shape_pt_lat
58.20271

2. Point sequences in shape data.

According to the GTFS specification, point sequence values "must increase along the trip but do not need to be consecutive" With the existing algorithm, this was achieved by incrementing a sequence number unique across the dataset. The new algorithm resets the sequence for each shape object. Example:

Current algorithm:

shape_pt_sequence
1630
1631
1632

New algorithm:
shape_pt_sequence
0
1
2

Complete example showing changes 1. and 2.

In shapes.txt:

Current algorithm:

shape_id,shape_pt_sequence,shape_pt_lat,shape_pt_lon,shape_dist_traveled
AFE:JourneyPattern:1_0_0,1630,58.202710,8.074250,0.0
AFE:JourneyPattern:1_0_0,1631,58.202780,8.074340,12.692375
AFE:JourneyPattern:1_0_0,1632,58.202860,8.074440,26.948225

New algorithm:
shape_id,shape_pt_sequence,shape_pt_lat,shape_pt_lon,shape_dist_traveled
AFE:JourneyPattern:1_0_0,0,58.20271,8.07425,0.0
AFE:JourneyPattern:1_0_0,1,58.20278,8.07434,12.692375
AFE:JourneyPattern:1_0_0,2,58.20286,8.07444,26.948225