hafas-client icon indicating copy to clipboard operation
hafas-client copied to clipboard

HVV AKN categorized as product "regional-train".

Open fxb opened this issue 3 years ago • 2 comments

It looks like AKN trips are always returned with product regional-train instead of akn.

The same applies when requesting it via the product request parameters:

  • https://v5.hvv.transport.rest/stops/2342/departures?akn=true&regional-train=false does wrongly NOT return AKN trips.
  • https://v5.hvv.transport.rest/stops/2342/departures?akn=false&regional-train=true does wrongly return AKN trips.

fxb avatar Feb 23 '22 13:02 fxb

I believe the same has happened with express-bus. All the X<number> buses are categorized just as bus. Probably since HVV got rid of their SchnellBus and replaced it will XpressBus

fxb avatar Feb 23 '22 13:02 fxb

This might be due to

  • the HVV products' bitmasks not being correct/up-to-date
  • a wrongly configured HAFAS server

Can you try to check if all AKN trips that you can find are labeled as regional-train? Check other stops for example.

derhuerst avatar Feb 23 '22 15:02 derhuerst