-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Data audit: Removing erroneous project geometries #1470
Comments
Cross posting from #1460 Got to dig the project deletion behaviour further. Recording my observations:
I feel items 1,4 and 5 behaviour should be fine tuned:
Either the deletion should be restricted to only admins or the project author. I'd recommend allowing just project authors to delete, so that there is no additional layer of communication with the admin to delete a project
This fails due to a foreign key constraint:
Should
If tasks mapped & validated counts are set to zero on hard reset, then the bad imagery counter should be set to nil as well. Because per current task status after the reset all images are in On the previous question of fixing invalid geometries,
Agree that we should fix the AOI, but let's try that manually on a case by case basis to ensure none of the project history is affected. If you'd like to understand the entire DB level update, you can go through this doc where I have logged the table level changes for project creation/deletion and task splitting. cc @xamanu @ethan-nelson @smit1678 |
This has been done some months ago and was confirmed. Closing here. |
As flagged in #1460, we have some (at least one) project that has project AOI geometries that are in meters. This is an issue from previous versions of TM where it did not prevent uploading incorrect geometries. Since we store and process all geometries in geographic coordinates, these projects that have geometries in meters raise errors, especially for stats work looking at calculating area.
Potential solution
We should drop/remove these projects from the database. We will most likely need to write a query that checks for coordinates that are beyond WGS84 Bounds: -180.0000, -90.0000, 180.0000, 90.0000.
The text was updated successfully, but these errors were encountered: