itinero / GTFS

.NET implementation of a General Transit Feed Specification (GTFS) feed parser.
http://www.itinero.tech
MIT License
69 stars 45 forks source link

Do not panic on missing lat & lon #51

Closed hypervtechnics closed 5 years ago

hypervtechnics commented 5 years ago

Sadly, the library crashed due to some missing lat and lon values. Meaning that the method in charge returned null (double?) which was not handled correctly. I tried to parse this GTFS feed by a german provider: https://openvrr.de/dataset/gtfs

xivk commented 5 years ago

Thanks! Weird though that there are feeds out there without even a lat/lons. This format keeps surprising me.