AtlasOfLivingAustralia / biocache-store

Occurrence processing, indexing and batch processing
Other
7 stars 24 forks source link

Records with swapped latitude/longitude don't have them corrected. #384

Closed charvolant closed 2 years ago

charvolant commented 4 years ago

The code at https://github.com/AtlasOfLivingAustralia/biocache-store/blob/dda875fa44eebadeaf5c9c380778cf3ac8ca2ae3/src/main/scala/au/org/ala/biocache/processor/LocationProcessor.scala#L783-L793 suggests that the lat/long will be swapped back if obviously swapped. However, this doesn't seem to happen.

Instead, a swapped coordinates flag is included but no coordinates out of range flag. test-lat-long.csv.zip

peggynewman commented 2 years ago

Closed as migrated to pipelines.