Skip to content

Geometries are lost when TripPatterns are updated #2987

@gmellemstrand

Description

@gmellemstrand

When a realtime realtime update is processes, the TripPatternCache.getOrCreateTripPattern method is called (or SiriTripPatternCache.getOrCreateTripPattern). If the TripPattern is not found in the cache, a new TripPattern will be created and all the times in the old TripPattern will be set to -1 (cancelling the trips).

The updates do not contain geometries, and geometries from the TripPattern that is replaced is not used either. The old TripPattern can contain another stop sequence (for example in the case of platform changes for trains). In this case we could either use a straight-line distance for the affected hops or keep a cache of hop geometries between pairs of stops.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnturOn Entur Roadmap

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions