Skip to content

Standardize input processing in TripExtractor #32

@mar3021

Description

@mar3021

TripExtractor() creates a TrajectoryCollection with min_length and min_duration when receiving a GeoDataFrame as input. However, when the input is already a TrajectoryCollection or a Dataset, then the min_length and min_duration parameters go unnoticed. This should be unified, so that a TrajectoryCollection or Dataset input is processed in the same way as a GeoDataFrame or at least a user warning should be displayed.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions