ropensci / CoordinateCleaner

Automated flagging of common spatial and temporal errors in biological and palaeontological collection data, for the use in conservation, ecology and palaeontology.

Home Page:https://docs.ropensci.org/CoordinateCleaner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error "CRS object has comment, which is lost in output"

jamiethompson77 opened this issue · comments

With this code:

"flags = clean_coordinates(x = dat, lon = "decimalLongitude", lat = "decimalLatitude",
countries = "countryCode",
species = "species",
tests = c("capitals", "centroids", "equal","gbif", "institutions",
"zeros", "countries"),
country_ref=world)"

I get this error:

"Testing country identity

Warning messages:
1: In sp::proj4string(ref) :
CRS object has comment, which is lost in output
2: In sp::proj4string(ref) :
CRS object has comment, which is lost in output"

This warning is related to the handling of the spatial projection. If you are only interested in the coordinate cleaning, this should still work

Closing this now