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

E53_Place - search on latitude and longitude #859

Closed
gythaogg opened this issue May 22, 2024 · 1 comment
Closed

E53_Place - search on latitude and longitude #859

gythaogg opened this issue May 22, 2024 · 1 comment
Assignees

Comments

@gythaogg
Copy link
Contributor

We currently save them as floating point numbers, by default the search form will look for an exact match within a FloatField; so often I get no results if I give the coordinates with 4 decimal points precision.

I'd like to propose a tolerance built into the search query, i.e. return all results that are with in the range of (queried coordinate - tolerance, queried coordinate + tolerance) and set the tolerance to 0.0001.

Should I do this only for the Place in my ontology that inherits from E53_Place or is this of interest to anyone else?

@gythaogg gythaogg added the needs-attention This issue or pull request is in need of discussion, information, assessment by team members label May 22, 2024
@gythaogg gythaogg self-assigned this May 22, 2024
@gythaogg gythaogg removed the needs-attention This issue or pull request is in need of discussion, information, assessment by team members label May 29, 2024
@gythaogg
Copy link
Contributor Author

Removed Lat/Long from search form for Tibschol on request, the issue irrelevant now.

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

No branches or pull requests

1 participant