Open derhuerst opened 1 year ago
We use a custom combination of both. We map for example the NeTEx vehicle mode "lift" to "telecabin service" (1300, TPEG-PTI), and the NeTEx vehicle mode "other" to "miscellaneous Service" (1700, Google)
I think it would be great do document the ID scheme you're using! Entur seems to be a significant player in the GTFS-* and open mobility space, so having this written down as an extension, with Entur's name behind it, would help others not to make up (more) ad-hoc ID schemes, but just re-use Entur's.
Or, a more ambitious path forward might be to agree on an ID scheme that combines Google's IDs with the TPEG-PTI ones. 🚀
A first step would be to document here the mapping we use, to make it more visible. It is currently buried deep in the code: https://github.com/entur/netex-gtfs-converter-java/blob/2ae22f219290acab48d58643a80d929074afea94/src/main/java/org/entur/netex/gtfs/export/util/TransportModeUtil.java#L123
Thanks, that already helps a lot!
As I explained, this depends on how much you want (and have time) to contribute to the GTFS ecosystem, but having this as a linkable extension, maybe a separate README.md
or a separate repo would also other GTFS/NeTex users to says they're using it too.
When attempting to import Entur's Norway-wide GTFS feed into a DB using
gtfs-via-postgres
, I noticed that it usesroute_type
values specified neither a) in the core GTFS spec (both Google's and MobilityData's version) and b) not in Google's extended GTFS route types extension.For example, it contains this this route:
agency_id
route_id
route_short_name
route_long_name
route_type
route_desc
|
ATB:Line:2_800|
800|
Trondheim - Brekstad - Kristiansund|
1014`When talking to @hannesj and searching for
1014
, I came across a proposal from 2008 to adopt the TPEG-PTI values.The two ID schemes differ in some aspects:
route_type
1300
: "Telecabin Service" in the TPEG-PTI proposal, "Aerial Lift ServiceRoosevelt Island Tramway (US)" in Google' s scheme.Which scheme does Entur intend to use? The TPEG-PTI one, the Google one, or a custom combination of both?