kartoza / sawps

SANBI WPS
https://kartoza.github.io/sawps/
GNU Affero General Public License v3.0
0 stars 6 forks source link

Create table to store overlaps on admin site #1922

Open LunaAsefaw opened 7 months ago

LunaAsefaw commented 7 months ago

We need a table to store all the overlapping properties which includes information on the two overlapping properties. This should be a background job that runs periodically to check for overlaps.

LunaAsefaw commented 6 months ago

@danangmassandy I have these two that overlap image

However, they are not returned on the backend image

LunaAsefaw commented 6 months ago

I am not sure if you used centroids instead for it, so I checked on an additional polygon whose centroids overlap and same issue image

danangmassandy commented 6 months ago

@LunaAsefaw there is a bug from storing the overlapping geom. I have fixed it in PR #1967

danangmassandy commented 6 months ago

@LunaAsefaw @amyburness there is another case, the overlapping area size is 40sqm, like below screenshot: image

I've extracted the geojson from both properties Test4 and Test 5. But I am unable to run overlaps check using QGIS geometry checker plugin because both geometries are invalid. Could you please help to identify the overlapping area from this?

matt_overlaps.zip