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

Add bounding box search functionality to vehicles and stations queries #527

Merged
merged 18 commits into from
Sep 10, 2024

Conversation

testower
Copy link
Collaborator

@testower testower commented Aug 28, 2024

Summary

This PR adds bounding box search functionality to vehicles and stations queries.

It should be noted that this method is not quicker than using radius, because the implementation must first do the radius search and do post-filtering. There is also some overhead in calculating the circle.

Closes #525

Unit tests

Added integrationt tests

Documentation

Documentation added to graphql schema. geometric functionality documented in code

@testower testower marked this pull request as ready for review September 6, 2024 06:37
Copy link

sonarcloud bot commented Sep 6, 2024

maximumLongitude
)
) {
var boundingBoxQueryParameters = new BoundingBoxQueryParameters();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider validation

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might deal with it in a follow-up PR

@testower testower merged commit 3866c49 into master Sep 10, 2024
4 checks passed
@testower testower deleted the bbox-query branch September 10, 2024 18:46
github-actions bot pushed a commit that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bounding box query
2 participants