Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: location generation improvements #600

Open
hongyeehh opened this issue Jan 15, 2024 · 0 comments
Open

ENH: location generation improvements #600

hongyeehh opened this issue Jan 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hongyeehh
Copy link
Member

Our location_generation relies on the DBSCAN algorithm and enables the generation of user- and dataset-level locations. Locations are generated from core points from the DBSCAN results. When the input epsilon is small and locations only consist of 1 or 2 staypoints, we create a buffer with epsilon distance around the original point or line geometry to create valid polygon geometry for the column extent. This creates inconsistencies in the location results. For example, we create the following locations using epsilon=20 and num_samples=2:

  • a. locations created from multiple sps are directly connected
  • b. locations created from 2 sps are buffered

I suggest also buffering case a geometry to ensure consistency.

In addition, we occasionally observe huge locations created in dense sp regions, which overlap with many other locations (case c in the figure). We would need to check how these locations are generated and propose solutions to split/avoid them

pic

@hongyeehh hongyeehh added the enhancement New feature or request label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant