-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Comments
See the linked dup issue for some additional info |
As you mentioned in duplicate issue,
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. What are your opinion? @spwoodcock , @ramyaragupathy |
I don't think this feature should touch the backend in any way & shouldn't need configuration. Its just a helpful warning / indicator to the user in the field. Adding a dialog to say 'are you sure you wish to proceed' isn't blocking - its just a warning. The reason we need this and not just a toast warning notification is that clicking to create a new feature currently opens ODK Collect immediately, so the user will not see any warning |
Talked to tokha team, If we don't wanna implement it in FMTM, we can only build this feature for tokha using 100 meter threshold for now. |
Seems like they are really keen to have this & If it's something that they need, perhaps others will need it in future too. I think we should solve this like:
I can add these fields on the db / backend today to faciliate. What do you think @manjitapandey @NSUWAL123 ? |
I will do the db edits alongside requirements for #1979 |
Yeah, this sounds good and will surely be a great feature too. We are integrating this into project creation, right? If then in which step shall we incorporate this? |
Done the backend part 👍 All projects default to have Eventually, a config option during project creation would be nice. But not essential for now. We can just tweak the project in the DB if needed. |
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.
The text was updated successfully, but these errors were encountered: