proj=longlat +datum=WGS84 +no_defs is not a valid PROJ.4 CRS string

Hi everybody.
I am working with SDM and I am trying to import some raster (bioclim). When I import them R write that
In .newCRS(value) :
** +proj=longlat +datum=WGS84 +no_defs is not a valid PROJ.4 CRS string**

When I try to give the projection to my dataframe this is what Rtudio write
In .newCRS(value) :
** +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 is not a valid PROJ.4 CRS string**

You can image that if I do not solve hose problems I cannot obtain my models.

Can someone help me, please?
All the best

Hi @varano, it works for me with

sf::st_crs("+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0")
#> Coordinate Reference System:
#>   User input: +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 
#>   wkt:
#>  [...]
#>           GEOS           GDAL         proj.4 GDAL_with_GEOS     USE_PROJ_H 
#>        "3.8.0"        "3.0.4"        "7.0.0"         "true"         "true" 

You should probably update your proj version.

1 Like

dear collegue thanks a lot!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.