gbif / portal-feedback

User feedback for the GBIF API, website and published data. You can ask questions here. 🗨❓
29 stars 16 forks source link

Wrong flag assigned: Country coordinate mismatch #3463

Open MortenHofft opened 3 years ago

MortenHofft commented 3 years ago

@MortenHofft @MattBlissett we've just had an error reported in one of the country boundaries. This point https://www.gbif.org/occurrence/1702169082 is highlighted as having a country-coordinate mismatch error, but actually the country is correct. Interestingly, google maps makes the same error: https://goo.gl/maps/EjsrdxJes18D27Ux whereas open street maps does not https://nominatim.openstreetmap.org/ui/search.html?q=59.6997%2C11.9452

Might be worth not applying this error highlight if a point falls very close to a border if one of the two countries is correct? Or otherwise I guess finding an updated Norway-Sweden border somewhere. ~Shall I make a separate issue for this?~

Originally posted by @rukayaj in https://github.com/gbif/portal-feedback/issues/1275#issuecomment-861187835

MattBlissett commented 3 years ago

The geocode-ws already includes a fuzz-factor of 0.5°, but it looks like this isn't enough here -- the approximate Norway polygon is 0.050043° from the point given.

Same underlying cause as https://github.com/gbif/geocode/issues/12