similar to: Import multiple tif raster

Displaying 20 results from an estimated 300 matches similar to: "Import multiple tif raster"

2024 Apr 18
2
Import multiple tif raster
Dear community Dear Ivan Thanks a lot. The code works now. Solution: direct and full path to the .tif files. I confused back and forward slash #first import all files in a single folder as a list rastlist <- list.files(path = "C:/Users/Sibylle St?ckli/Desktop/NCCS_Impacts_Lot2_2022/InVEST/Species_Input/valpar_bee_presence", pattern='.tif$', all.files= T, full.names= T) At
2024 Apr 18
1
Import multiple tif raster
Dear Ivan Thanks a lot. I tried now to provide the full path. However probably the "?" in the path produces the error, would that be possible? > #first import all files in a single folder as a list > rastlist <- list.files(path = "C:\Users\Sibylle St?ckli\Desktop\NCCS_Impacts_Lot2_2022\InVEST\Species_Input\valpar_bee_presence", pattern='.tif$', all.files=
2024 Apr 18
1
Import multiple tif raster
? Thu, 18 Apr 2024 11:08:33 +0200 SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????: > > #to check the index numbers of all imported raster list elements > > allrasters > list() > > > > #call single raster element > > allrasters[[1]] > Error in allrasters[[1]] : subscript out of bounds `allrasters` is an empty list, so it doesn't have a
2024 Aug 23
1
paired raster boxplots
? Fri, 23 Aug 2024 10:15:55 +0200 <sibylle.stoeckli at gmx.ch> ?????: > > s<-sf$Unterregio > > r<-allrasters_pres[[1]] > > > > > > rs <- stack(r, s) > > names(rs) <- c('r', 's') > Error in `names<-`(`*tmp*`, value = c("r", "s")) : > incorrect number of layer names It looks like at least one
2024 Aug 24
1
paired raster boxplots
Dear Ivan Dear community Quite nice book recommendation. Yes indeed my raster "s" (the shape file for the boxplot classes) has several layers. That's way I tried to select a layer by " s<-sf$Unterregio". > sf <- read_sf("C:/Users/....._BiogeoRegion.shp") > names(sf) > names(sf) [1] "RegionNumm" "RegionName"
2024 Aug 23
1
paired raster boxplots
Dear Ivan Many thanks. Using my own dataset, my "s" is a layer shape file. Somewhere I need to define : snew<-s$Unterregio I tried it to do it before stack(), but it seems to be the wrong way. Do you have any suggestion? Code: > #first import all files in a single folder as a list > rastlist_pres <- list.files(path ="C:/Users/....._bee_presence",
2024 Aug 22
1
paired raster boxplots
? Thu, 22 Aug 2024 08:46:03 +0200 SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????: > rr2s <- stack(r, r2,s) > > names(rs) <- c('r', 's', 'r2') > > Error in `names<-`(`*tmp*`, value = c("r", "s", "r2")) : > > incorrect number of layer names The error must be happening because the variable
2024 Aug 22
1
paired raster boxplots
Dear community I have two raster files (here r and r2: y-axis) and an equal x-axis (here s, 4 classes). Instead of plotting two boxplots I would like to plot paired boxplots: for each class the boxplots from r and r2 paired). I tried to adapt the code, but I am struggling around with the error: > names(rs) <- c('r', 's', 'r2') Error in `names<-`(`*tmp*`,
2011 Apr 26
1
cups drivers for printing pdf and tif
List, I updated a gateway/router computer with Centos 5.6 and lost the ability to print pdf and tif files with the command "lp -d printer img.tif" This new unit replaced a Fedora 5 system that had been working well, and is still able to print pdf and tif files withing the same network. I have other Centos 5.6 gateway's at different facilities that print the pdf and tif files
2010 Mar 30
1
Image viewer refuses to print TIF graphics
I'm not sure if it's just the TIFs or if that related at all, since I have had some luck in printing these before, but recently the image viewer (eog - the Eye of GNOME, v 2.16.0.1) has responded to a print command on certain TIFs with nothing. Nothing shows up in the spool queue for the printer, and, although the printer (a Brother 2140 laser printer) heats up, it doesn't print
2006 Jan 25
0
Received fax "offset" in tif file?
Hi, all -- some (but not all) of the faxes I receive on my Sangoma card have an "offset," where the right 3/4 of the fax are shifted left, and the remaining portion is "pasted" on to the right edge; see jots.org/~ken/fax.jpg for an example. Anyone have any ideas on how to get this working? Since I'm using a Sangoma T1 card, I tried out using ztdummy as a timing source (as
2006 May 31
0
Fax to Email issue with Spandsp tif not correctly sized
Hello, I've google to trouble shoot my issue but i was not able to find a solution, I've install asterisk all the libraries to receive faxes: Spandsp 0.0.2 pre 25 tiff lib. I'make it work i can receive faxes on an extension but the issue is that i m in France an we are sending faxes in A4 format so i set that up in the perl script /var/lib/asterisk/bin/fax-process.pl by passing the
2009 Feb 18
1
bitmap .tif in colors
Hello, How to produce .tif graphic in colors using bitmap function? e.g this produces figure in grayscale bitmap(file="volc.tif", type = "tifflzw", res = 300) image(t(volcano)[ncol(volcano):1,]) dev.off() I'm using Windows XP and ghostscript. > R.Version() $platform [1] "i386-pc-mingw32" $arch [1] "i386" $os [1] "mingw32" $system [1]
2010 Nov 19
3
FFA (Fax For Asterisk) tif file (size) problem
Hello, We succeed to send faxes using FFA, when the files are converted to tif from PDF using gs, but it doesn't work with tif files we copy/upload directly from our PCs. We saw in the manual that the size is important, since we got the error "FAX handle 0: failed to queue document 'filename.tif'", so we set it to 1680x2285, but it's still rejected. Is there a way
2010 Oct 19
2
Tif image to 8bit colour matrix.
Dear listers, I have a collection of tif images that I would like to convert, in R, to a matrix containing the values of the 8bit colour. Ideally, I would like a matrix for each of the colour channels (red, blue and green). I have 'googled' and searched the help list but have yet to find a solution and hope that someone can point me in the right direction. I currently use
2004 Apr 20
2
[OT] Using GS to create .tif files
I've managed to use GhoustScript (gs) to take a postscript file and convert it to tiffg3, but I CANNOT seem to make it merge multiple files. Here is the output from tiffinfo on the file that SG generates: fteTYGeh2v.tif: TIFF Directory at offset 0x8 Subfile Type: multi-page document (2 = 0x2) Image Width: 1728 Image Length: 1056 Resolution: 204, 96 pixels/inch Bits/Sample: 1
2005 Feb 25
5
[Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH
Hi Community, here is the problem, Linux problem (reported to work on Windows). I need to generate graphical output in any of bitmap format under the 'R CMD BATCH'. Whereas the script generating png-s works perfectly in the R session, such things as X11, png and jpeg are not usable in BATCH (they cannot be switched on by --gui-X11 etc) and X11 is prompted to be required for png. At
2005 Feb 25
5
[Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH
Hi Community, here is the problem, Linux problem (reported to work on Windows). I need to generate graphical output in any of bitmap format under the 'R CMD BATCH'. Whereas the script generating png-s works perfectly in the R session, such things as X11, png and jpeg are not usable in BATCH (they cannot be switched on by --gui-X11 etc) and X11 is prompted to be required for png. At
2009 Feb 21
1
Extracting xy from raster based on raster value
I have a raster (which I called glc), which I read into R as a raster with "raster.create.from.file" from the raster package (R-forge). Values in glc range between 1 and 27 (whole numbers only). I'd like to extract all cells with a value of 1 to create a new raster with only the cells that have a value of 1, or to extract the xy values of all raster cells with a value of 1. Could you
2013 Feb 14
0
How write raster files after manipulation?
I have 12 binary (raster) files https://echange-fichiers.inra.fr/get?k=k3M2jatJyHy65Cs99G4 . I would like to calculate the moving average for the 12 values for each pixel in the 12 files. For a simple vector we can get a moving average by using this : x <- c(1,2,3,NA,NA,4,6,5,6,4,2,5) movingmean <- rollapply(x, 3, FUN = mean, na.rm = T) now I want