Transport icon indicating copy to clipboard operation
Transport copied to clipboard

Country Identification in locations resource

Open dmpour23 opened this issue 12 years ago • 1 comments

Regarding the locations response the id of a location is returned. From this could one extract the UIC code?

For example: 008500010 for Basel SBB "85" being UIC code for Switzerland.

However there are cases were location id does not follow this pattern such as: 000000168 for Basel.

Could country code be considered in the response or an option specified in the request to return only locations of specific country?

Thanks in advance

dmpour23 avatar Oct 23 '13 12:10 dmpour23

Unfortunately there's no filter or field available on fahrplan.sbb.ch that I'm aware of which would cover this.

fabian avatar Jul 01 '16 16:07 fabian