Issue 18210

coordinateUncertaintyInMeters not taken into account when flagging as COUNTRY_COORDINATE_MISMATCH

18210
Reporter: peterdesmet
Assignee: cgendreau
Type: Bug
Summary: coordinateUncertaintyInMeters not taken into account when flagging as COUNTRY_COORDINATE_MISMATCH
Priority: Major
Status: Open
Created: 2016-02-04 13:28:36.652
Updated: 2016-02-05 11:04:39.743
        
Description: The issue is described in https://github.com/LifeWatchINBO/data-publication/issues/100. We use the centroid of the original 5x5km UTM square to populate {{decimalLatitude}} {{decimalLongitude}}. We also add a {{coordinateUncertaintyInMeters}} that encompasses the whole square.

Centroid coordinates that fall outside country borders however, are flagged as {{COUNTRY_COORDINATE_MISMATCH}} by the occurrence processing and are not included in records considered georeferenced. This processing should take into account the {{coordinateUncertaintyInMeters}} when assessing if the occurrence falls within the borders of a country, and only raise an issue when it is truly incorrect, allowing the publisher to focus on fixing those.]]>