[R-sig-Geo] Export raster from R to Arcgis

Komine momadou at yahoo.fr
Tue Jul 2 19:35:22 CEST 2013


Dear,
My objective is to save a raster created with R and to open it with Arcgis
in maintaining spatial reference.
I used GPS points (XYZ, spatial reference: WGS 84, UTM) with which I created
a raster following this code:

> Image<-read.table("C:\\Users\\Documents\\data.txt",sep="",dec=",",header=TRUE) 
> library(raster)   
> testo<-rasterFromXYZ(Image) 
> map<-plot(testo)

Then, I save the output by clicking < File < save < and to choose format
(.tif).
However, When I open the output with Arcgis, it has not spatial reference. 
How to save the output into .tif in maintaining the spatial reference. 
Thank you in advance 
Komine 



--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Export-raster-from-R-to-Arcgis-tp7583995.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list