Skip to content

tsequenceset_make_gaps is not implemented #50

Description

@satriabw

In MobilityDB 1.1, function ttypeSequenceSetGaps is used to define a gaps in the trajectory dataset and can be useful for data cleaning or defining trajectory. However, the implementation is missing from PyMEOS. Ideally PyMeos implements TSequenceSetGap and call tsequenceset_make_gaps to implement this functionality.

Activity

  1. changed the title [-]*tsequenceset_make_gaps* is not implemented[/-] [+]tsequenceset_make_gaps is not implemented[/+] on Apr 16, 2024
  2. Diviloper commented on Apr 21, 2024

    @Diviloper
    Member

    Indeed, creating TSequenceSets from instants using the gaps functionality is not available in pymeos. Since the function is exposed by the pymeos_cffi library, adding it to pymeos should be straightforward (adding the method to the class and adding the proper tests).
    If you are down to make a PR, I'll be more than happy to review it and merge it. Otherwise, I'll try to do it when I have a bit of time.
    On the meanwhile though, note that you could still use this functionality, since you can call the pymeos_cffi function with the MEOS instant objects (_inner member of any PyMEOS object) and then passing the result MEOS object to the PyMEOS class constructor (_inner parameter)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions