Closed derhuerst closed 2 years ago
I think the expected behavior is actually that the OSM file is completely filtered, that is if no GTFS feed is provided, the input feed is filtered to the bounding box of the input feed. I am actually surprised that this is not the current behavior. Will fix this.
Took a bit longer than expected, but filtering XML files without specifying a GTFS input feed should work as expected now.
We're currently trying to use the
-X
OSM filtering feature forgtfs.mfdz.de
.We first ran with
pfaedle -x DE-BW-buffered.osm.xml -X DE-BW-buffered.filtered.osm.xml
, but noticed that the OSM filtering actually uses a bounding box computed from the passed GTFS feeds. We didn't pass any GTFS feeds and ended up with this bogus filtered OSM file:What do you think about letting pfaedle fail if 0 GTFS feeds have been provided?