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

Addition of distance constraints between user's geolocation and feature selected for mapping #1985

Open
manjitapandey opened this issue Dec 12, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request frontend Related to frontend code priority:high Should be addressed as a priority

Comments

@manjitapandey
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, user can select the feature far away from their current location. This causes enumerators to share incorrect data sometimes.

Describe the solution you'd like
Restrict the user to select the feature that are far away from their current location. For that we need to necessarily ask for geolocation on mapper's page and if users click on feature far away and click on map on odk. The error message saying the feature you are trying to map is xx km away from your current location.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Requirement for tokha field survey.

@spwoodcock
Copy link
Member

See the linked dup issue for some additional info

@manjitapandey manjitapandey added frontend Related to frontend code priority:high Should be addressed as a priority labels Dec 16, 2024
@manjitapandey
Copy link
Contributor Author

As you mentioned in duplicate issue,

Instead open a confirmation dialog / modal: 'The created geometry is far away from your current location. Are you sure you wish to proceed?'

Are you suggesting just the warning message or complete blocking to submission?

Showing the warning is good but I think we should make the feature a bit dynamic my adding the feature of whether project creator wants to add restriction or not.
During project creation, we can ask project creator if they want to restrict the selection of feature away from their current location. If project creator ticks on the restriction, they can add their own proximity distance as well.
We can cover more use cases this way for both open projects and strictly monitored projects.

What are your opinion? @spwoodcock , @ramyaragupathy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Related to frontend code priority:high Should be addressed as a priority
Projects
None yet
Development

No branches or pull requests

4 participants