-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Requirement] Get features within a bounding box #68
Conversation
merging new changes from main into get-features-in-bbox
For the files,
I believe this is good to be merged. |
mapillary/utils/filter.py
Outdated
|
||
|
||
def haversine_dist(data: dict, radius: float, coords: list, unit: str ="m") -> dict: | ||
def existed_at(data: list, existed_at: float) -> list: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
existed_at is a good idea, I did not think of it, but I like this. If we want data that is newer than the last check we did, let us say on June 15th, then we find data where existed_at(June 15th) is false, and it will return all data from June16 or after. This is useful. Essentially the user is looking for first_seen_at > June 15th, result being new data since that time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I rename this to be existed_after
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this is great
Approval from my side. 👍 |
Merging to use utils on my current PR |
Req no.8 Implementation: Get filtered features within a bbox
Purpose and Proposed Changes:
Feedback required over
What kind of feedback do you require from this PR, if any? For example,
Feedback required when
Whenever possible 😄
Mentions
@Rubix982, @gmelodie , and @cbeddow. Would love to discuss your thoughts and feedback!
References (OPTIONAL)
Mapillary API V4