search for: geotiff

Displaying 20 results from an estimated 23 matches for "geotiff".

2007 Nov 14
2
geotiff calculations
Dear list, I have to compare two digital elevation models in raster format (geotiff). I then have to calculate the differences in altitude for each cell and make some statistics (basic as mean, median, std, range but also more "advanced" as RMSE) on that. I do not know very much how to proceed: 1) is it possible to import the geotiff in R? If so with which package? if no...
2012 Oct 18
2
Re-projecting geotiff
Dear R users, I'm currently trying to re-project a geotiff in another coordinate system. For instance, I have a tif image in UTM 19 zone which I would like to reproject into UTM 18. I was wondering if it was possible in R. Furthermore, I looked into 'rgdal' package, but I can't really find out if I'm doing the right thing. So far, here is...
2007 Sep 06
1
write geotiff with projection - RGDAL package
Hi, Doing more search i've discovered package RGDAL that can write a geotiff file with projection. I saved a geotiff file in UTM projection and if i read the file back in R and check the projection seems that everything is OK. But if i load the file in ArcGIS (ESRI product) i get the warning that the file is missing spatial reference so it cannot be projected, but it is dis...
2018 Mar 28
2
Fwd: netCDF to GeoTIFF by layer in r
Hi I have a netCDF file of volumetric soil water content at four different soil layers and want to convert each soil layer in the netCDF file to a GeoTIFF layer. This code converts the netCDF file to one GeoTIFF layer, i.e. unclear which soil depth. file.nc <- "C:/Soil_Weather_data/Agro/VMC21/VMC21.nc" file.tiff <- "C:/Soil_Weather_data/Agro /VMC21/VMC21" importnetcdf <- raster(file.nc) > importnetcdf class :...
2007 Sep 05
1
geotiff or tiff files with world files
Hi, I have a matrix of data which i can vizualize as an image - for example. I would like to save this image as a geotiff file or at a tiff file with a world file which holds the projection of my data (ultimately the data represent a map of some sort). I know i can save the data as an ESRI grid, but i am not interested in that. I wonder if anybody knows about any code which will help me do that. Thanks in advance,...
2018 Mar 28
0
netCDF to GeoTIFF by layer in r
...ots of info about the file. Ben > On Mar 28, 2018, at 10:37 AM, Ahmed Attia <ahmedatia80 at gmail.com> wrote: > > Hi > > I have a netCDF file of volumetric soil water content at four > different soil layers and want to convert each soil layer in the > netCDF file to a GeoTIFF layer. This code converts the netCDF file to > one GeoTIFF layer, i.e. unclear which soil depth. > > file.nc <- "C:/Soil_Weather_data/Agro/VMC21/VMC21.nc" > > file.tiff <- "C:/Soil_Weather_data/Agro /VMC21/VMC21" > > importnetcdf <- raster(file.n...
2008 Jul 09
1
netCDF to TIFF
Greetings R users! I am working with the ENSEMBLE climate data (10 min resolution daily temperatures images for all of Europe 1950-2006). The data comes packaged in a single netCDF file. I would like to read the data in and export a subset (2002-2006) as geotiffs (one image per day). So far, I can successfully read in the data and view the images within an R display window. However, I have yet to figure out how to export the images as tiffs or geotiffs. Does anyone out there have experience converting netCDF grids to TIFFs? After reading the data into R,...
2007 Sep 20
2
Superimposing vector polygons over raster grid in a plot
Hello: I would like to superimpose vector polygons (state outlines) from a Shape file on top of a satellite image, imported into a SpatialGridDataFrame from GEOTIFF via gdal_translate and readGDAL. When I plot polygon and point shape files in R, into SpatialPointDataFrame and SpatialPolygonDataFrame, the two feature sets line up geographically, so it seems logical that a SpatialGridDataFrame should behave in the same way. From my initial research, the sp...
2002 Nov 09
1
MFWorks and R
I know there is some integration between Grass and R available, but has anyone produced a link between R and MFWorks. I am considering Buying MFWorks (Windows) and it would be useful to know if anyone has written such a link. Many thanks, Graham S -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2004 Nov 17
2
R/S-related projects on Sourceforge? Trove Categorization - GDAL
GDAL Package for R http://sourceforge.net/projects/rgdal The R GDAL package is an interface for accessing Frank Warmerdam's Geographic Data Abstraction Library from within R. GDAL is capable of reading and writing a wide range of geographic data formats including ESRI grid format and geotiff. On Wed, 2004-11-17 at 09:09, Witold Eryk Wolski wrote: > <SNIP> > SourceForge.net will consider the inclusion of a programming > language within the Trove system when we host at least 5 > projects based on that language. Please advise: Do you know > of 5 projects hosted on S...
2013 May 03
1
untar() error
Dear List, I have a list of 600+ *.gz files that I would like to extract and read the geotiffs contained within them. I tried using the untar() function to simplify this task but I am stumped by an error. I've combed the Internet for a solution without luck. The details are below, and any help in solving this matter is appreciated. > files = list.files(path = "J:/GIMMS/NDVI&quo...
2011 May 06
1
Installing rgdal in R: correct -configure flags for GDAL install on Linux Redhat
...ce of information for the correct configuration settings when installing GDAL. My error from the R install.packages("rgdal") is below. Can someone point me to a good source to tell me how to set after ./configure when installing GDAL? I'd like to be able to work with raster images, geotiffs, netCDF files, and other raster-based image processing in R. Right now I'm running ./configure for GDAL as follows: ./configure --prefix=$HOME/local/gdal/gdal-1.8.0 --with jasper=$HOME/local/jasper/jasper-1.900.1.uuid/src/libjasper Any insight would be greatly appreciated! Thank you. Error...
2008 Aug 10
0
possible problem with rgdal
...GDAL Error 5: Access window out of range in RasterIO(). Requested (0,0) of size 420x660 on raster of 660x420. Also, it appears that the lower left coordinates given by calling GDALinfo are actually the upper left coordinates. from command line GDAL: sardinha$ gdalinfo dummy.tif Driver: GTiff/GeoTIFF Files: dummy.tif Size is 660, 420 Coordinate System is: GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.2572235630016, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRI...
2009 Mar 08
0
image2GRID
Hi all, i have a SpatialPixelsDataFrame object, which is a result of kriging in R. What i would like to do is to convert this object to image (geoTiff) so that i could use it in Gis application. I have tried using this image2Grid function but it doesen't work. Here is the code : im<-image(pCir) #pCir is the SpatialPixelsDataFrame object which is the result of kriging, with var1.pred the attribute th...
2011 Jul 11
0
Help with project function in rgdal library
...olygons in a shapefile, so I need to transform the coordinates to the same projection. I'm currently using the project function in the rgdal library, but I can't seem to figure out how to format the proj string argument correctly. (I made a couple attempts using http://www.remotesensing.org/geotiff/proj_list/ as a reference.) I've never done worked with geographical data in R before so I thought I'd see if someone more experienced could help. The text of the .prj file is included below. Thanks! Patrick PROJCS["NAD_1983_StatePlane_New_York_Long_Island_FIPS_3104_Feet", GEOG...
2012 Jul 17
0
Arcgis in R
...oding? Or do I somehow need to set up something in Arcgis which allows it to recognise the arcgisscripting command in R? *This is the code I have used below:* My.dir<- setwd("C:/RTest_NDVIc") require(rgdal) nat <- readGDAL("16-150406_ndvic.img") # Write the raster as a geotiff # Give an output name My.ras.dir <- paste(My.dir,"my_test_raster3.tif") # Write #writeRaster(nat,paste(My.ras.dir)) ####E ####S Part 2 do some analysis in ArcGIS-first connect to Python ###S Require necessary package require(RPyGeo) ###S Configu...
2012 Sep 10
0
How to calculate the number of points that fall inside each cell of a given raster using R
...ummary of what I am trying to do. Please take a look and let me know how can i complete this below mentioned objective using R for a large dataset. ** - *Objective:* - To calculate the number of points that fall inside each cell of a given raster - *Inputs:* - Raster data – Geotiff, approximate size: 4000 rows x 4000 columns - Points data – Shapefile - *Ouptut:* - A table with the following fields: - Cell ID - X-Coord (Longitude of the centroid of each raster cell) - Y-Coord (Latitude of the centroid of each raster cell) - Co...
2014 Sep 27
2
r-cran-rgdal: dependency on libgdal1 unsatisfied in ubuntu 12.04?
Hi I am trying to install the rgdal package through r-cran-rgdal (I had added the ppa), and run into an error in Ubuntu 12.04: r-cran-rgdal : D?pend: libgdal1 (>= 1.9.0) mais il n'est pas installable in English, libgdal1 1.9 does not seem available in Ubuntu 12.04 (I think version 1.7) comes. And indeed, a: $sudo apt-get install libgdal1 Gives also an error message, saying libgdal1
2012 Oct 29
3
How can I map numbers to colours with raster?
This code will read binary file and display it as a map. may problem is that this code is using a continuous colour scheme, even though I have discrete data (which is a classification scheme). How can I map numbers to colours with raster? Please require(raster) conne <- file("C:\\lai.bin", "rb") sd<- readBin(conne, integer(), size=1, n=360*720, signed=F)
2008 Jul 01
2
Are centre coordinates or upper left corners used of x, y for SpatialPixels?
Dear all, I'm working with satellite images in R and plotting them via the code below. I was wondering whether coordinates (spatial["x"], spatial["y"]) are used as centre coordinates of the pixels in the GRID? In this script; spatial["x"] & spatial["y"] are the centre coordinates of the satellite image pixels. I'm asking this because some