Skip to content

Commit

Permalink
Remove filtering of flex patterns in NeTEX import
Browse files Browse the repository at this point in the history
Support and change in GTFS behaviour were in opentripplanner#3757
  • Loading branch information
hannesj committed Oct 3, 2022
1 parent 4f2325f commit 41e6a57
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,6 @@ TripPatternMapperResult mapTripPattern(JourneyPattern journeyPattern) {
return result;
}

// TODO OTP2 - Trips containing AreaStops are not added to StopPatterns until support
// - for this is added.
if (
result.tripStopTimes
.get(trips.get(0))
.stream()
.anyMatch(t -> t.getStop() instanceof AreaStop || t.getStop() instanceof GroupStop)
) {
return result;
}

// Create StopPattern from any trip (since they are part of the same JourneyPattern)
StopPattern stopPattern = deduplicator.deduplicateObject(
StopPattern.class,
Expand Down

0 comments on commit 41e6a57

Please sign in to comment.