correctSignSwap: Checks if point with lat & long would concure in country...

Description Usage Arguments Value

View source: R/occurence_access.r

Description

Checks if point with lat & long would concure in country shape with country code if lat and long AND the signs of lat and long (* -1) are switched; switched lat/long cannot exceed the dimension of valid lat/long coordinates

Usage

1
correctSignSwap(current_occ_chunk, countries)

Arguments

current_occ_chunk

One data chunk from gbif containing occurences

countries

Dataset of all countries in the world provided by natural earth.

Value

current_occ_chunk_corrected: Corrected or unchanged but flagged occurences


GBIFsiteChecker/GBIFsiteChecker documentation built on May 6, 2019, 5:08 p.m.