Closed ue71603 closed 2 months ago
@ue71603 implement probing with chardet
will do.
The problem is different. With the Swiss data set stop_areas remains empty, this results in a problem in line 853 of GtfsNeTEx.py.
scheduled_stop_points = self.getScheduledStopPoints(stop_areas, {'query': """select distinct stops.* from trips join stop_times using (trip_id) join stops using (stop_id) where location_type = 0 or location_type is null and route_id = ? order by stop_id;""", 'parameters': (line.private_code.value,)})
can you have a look. From afar it is unclear to me, where STOP AREAs have any existence in GTFS. I see those as a STOP PLACE hierarchy anyhow.
I'll take a look.
you need to do it on the branch, as it needs: https://github.com/skinkie/reference/pull/10/commits/32192362513854f23d02d256f65f47fd5ec549d0
Please check master.
works with master
Imported data and started processing (with NeTEx from the repo as is, no new generation)