Issue 15361

On country lookup from coord add logic to try a 5km radius if first attempt fails

15361
Reporter: omeyn
Assignee: fmendez
Type: Improvement
Summary: On country lookup from coord add logic to try a 5km radius if first attempt fails
Description: Right now it starts as a precise query of the given lat lng. If that returns null it's either ocean or a hole in our layers (e.g. at the coastline where country shape ends and leaves a gap before EEZ starts). In the null case try a new query including a 5km radius around the lat lng. If an eez and country hit both match the same country, use that country to compare with the country on the record.
Priority: Critical
Resolution: Fixed
Status: Resolved
Created: 2014-03-14 09:12:17.556
Updated: 2014-03-18 16:34:55.778
Resolved: 2014-03-18 16:34:55.746


Author: fmendez@gbif.org
Comment: geocode service was improved by searching locations in a radius of 5km around the requested coordinate
Created: 2014-03-18 16:34:55.776
Updated: 2014-03-18 16:34:55.776