[R-sig-Geo] R function checking/transforming CRS layer R function

Roger Bivand Roger.Bivand at nhh.no
Mon Jan 30 09:35:17 CET 2017


On Sun, 29 Jan 2017, dave wrote:

> If your original data is not in the desired projection, changing the CRS
> attributes will not do the transformation for you.  In the case of vector
> data, you will need to use spTransform().  For raster data, you might be
> able to use projectRaster() but I would recommend using gdalwarp().

For a properly referenced discussion, see for example "Maps, Coordinate 
Reference Systems and Visualising Geographic Data with mapmisc":

https://journal.r-project.org/archive/2016-1/brown.pdf

Roger

>
> I wrote a brief blog post about this question, here:
>
> https://geoanalytic.github.io/coordinate-reference-systems-in-r/
>

OK, but blog posts have the strength of appearing easy to read, but the 
weakness of being too easy to read ...

Roger

> Regards,
>
> David Currie, P.Eng
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; e-mail: Roger.Bivand at nhh.no
http://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en
http://depsy.org/person/434412



More information about the R-sig-Geo mailing list