AtlasOfLivingAustralia / ecodata

Data capture webservices supporting Biocollect and other apps
https://ecodata.ala.org.au/documentation/index
8 stars 15 forks source link

Handle site data with unrelated points better #973

Open chrisala opened 4 months ago

chrisala commented 4 months ago

See: https://fieldcapture-test.ala.org.au/dataSet/edit/7da85db3-b9e4-4647-a880-48f948f7c725?dataSetId=7a8c671f-e0a1-4ca4-a642-428d1b071d95

Error on sync: 2024-06-06 14:53:50.457 DEBUG --- [pool-1-thread-8] au.org.ala.ecodata.SiteService : Duplicate points identified - [149.0652, -35.2592] 2024-06-06 14:53:50.486 ERROR --- [pool-1-thread-8] au.org.ala.ecodata.SiteService : Error creating site Fauna Ground Counts Transects site - 06/06/2024 14:51:32 +1000 AEST - Invalid number of points in LinearRing (found 3 - must be 0 or >= 4)

java.lang.IllegalArgumentException: Invalid number of points in LinearRing (found 3 - must be 0 or >= 4)