Skip to content

[Docs] Possibly outdated documentation #218

Open

Description

@jpherrerap

Hello,

The match_trace_batch method was removed from lcss.py on a2fbb89. However, the documentation for LCSSMatcher still lists it.

Anyways, thanks a lot for your work!

Activity

  1. nreinicke commented on Feb 26, 2026

    @nreinicke
    Collaborator

    Thanks for flagging! I've updated the API docs in #219 that should remove this.

  2. jpherrerap commented on Feb 27, 2026

    @jpherrerap
    Author

    Thanks! Any reason for removing match_trace_batch ? I've been using it on my project and it is a lot faster.

  3. nreinicke commented on Feb 27, 2026

    @nreinicke
    Collaborator

    We found some issues with pickling/unpickling the RTree during multiprocessing that was causing incorrect results and so we ended up pulling the method out to prevent confusion. We've moved to a new RTree data structure and so could investigate reintroducing the method with new checks around the safety of serializing the RTree.

  4. nreinicke commented on Feb 27, 2026

    @nreinicke
    Collaborator

    As a sidebar, we've also just introduced map matching into our RouteE Compass application. That application is written in Rust and natively supports parallelism over batches. Since we just introduced it we don't have much documentation but it could be a good solution if you need higher performance over a large number of traces.

  5. jpherrerap commented on Feb 27, 2026

    @jpherrerap
    Author

    Thanks I lot!
    In case it is useful, I meant that even with a single process I'm getting faster results (3-4x). I'm batching ~15 traces at a time and using the same matcher (before, I was initializing one geofence and matcher per trace), and this method is handy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions