ropensci / CoordinateCleaner

Automated flagging of common spatial and temporal errors in biological and palaeontological collection data, for the use in conservation, ecology and palaeontology.
https://docs.ropensci.org/CoordinateCleaner/
79 stars 21 forks source link

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

Closed jamiethompson77 closed 4 years ago

jamiethompson77 commented 4 years ago

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"

azizka commented 4 years ago

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

azizka commented 4 years ago

Closing this now