I'm currently having some problem while trying to create a GTiFF file.
require(raster) require(sp) require(rgdal) require(gdalUtils) library(rgeos) map <- readOGR ('MyShapefile.shp',layer='MyShapefile') grid <- paste(sortie,"grid.tif",sep="") gdal_grid(src_datasource='MyShapefile.shp',dst_filename=grid,zfield='In_ATMO',a="invdist:power=2.0:smoothing=1.0",of="GTiff",ot="Float32",l=mod,output_Raster=T) sauv<-paste(sortie,"test_In_ATMO.tif",sep="") gdalwarp(srcfile=grid,dstfile=sauv,tr=c(7.0,7.0),of="GTiff",ot="Float32",overwrite=T)
This is the code sample I use to create my GTiFF file, but it really looks like it isn't in an high definition.
My csv data looks like this
long;lat;In_ATMO 55557754;14454489;4 ......
And with this data I create a ShapeFile that I use to create a GTiFF file. if asked, I can share those files to help answering my question..
Is there anyone who knows how can I get a better definition for my Tiff ?