Displaying 9 results from an estimated 9 matches for "readrast6".
2008 Aug 01
1
bug in readRAST6 function in package spgrass6
Hi
if I try to import a raster layer which consists only of NULL values
from grass by using the readRAST6, I get an error message:
> readRAST6("HSericea_seedsDisperse_2007")
ERROR: Invalid value for null (integers only)
Error in readBinGrid(rtmpfl11, colname = vname[i], proj4string = p4,
integer = to_int) :
no such file:
/home/rkrug/Documents/Projects/AlienSpread/R/../grass/simulation/...
2012 Feb 20
1
readVECT6 and readRAST6 fails with R and GRASS 7 ???
...wrong, but can't figure out what. Any suggestions for
what I could look for or how to trouble shoot this? Thanks in advance for
any help!
After having other issues last week, we have upgraded Debian to the testing
version. The other problems are solved, but now I can't get readVECT6 and
readRAST6 to work.
I have followed the instructions at http://grass.osgeo.org/wiki/R_statistics -
first under the Debian instructions to use apt-get to install some of the
packages and others via R. After that didn't work, I tried the ctv
package to install the Spatial view (Core only). The results a...
2007 Jun 06
1
spgrass6 and aggregation (bis)
...Thanks,
Jessica
########################################################################3
Dear all,
I am exporting grass map into R thanks to the very useful spgrass6 package.
library(spgrass6)
# I have 3 map I am working with a MASK map of a specific area.
# 1) a landuse map
landuse<-readRAST6("landuse_mapname_in_grass")
# 2) a catchment map which divide the area in several catchements
catchment<-readRAST6("catchement_mapname_in_grass")
# 3) a precipitation map
precipitation<-readRAST6("precipitation_mapname_in_grass")
# then I would like to sum th...
2007 Jul 06
0
import DTM with readRAST6()
...rentino_100m" and is like this:
north:5158000.0
south:5058500.0
east:1729700.0
west:1611600.0
rows:995
cols:1181
-9999.0 -9999.0 -9999.0 370.84381103515625 372.55120849609375
373.13128662109375 .....
I have opened R inside the Grass location, and imported the DTM:
> trentino.grid<-readRAST6("DTM_trentino_100m")
Creating BIL support files ...
Header File = /Users/Matteo/Documents/DataGrass/GBovest/
Permafrost/.tmp/nilo.local/DTM_trentino_100m.hdr
World File = /Users/Matteo/Documents/DataGrass/GBovest/
Permafrost/.tmp/nilo.local/DTM_trentino_100m.wld
Exporting Raster as doub...
2012 Feb 21
0
R-SIG-Debian Digest, Vol 78, Issue 3
...Geo if that is a better place to discuss this.
Thanks,
Eric
> ------------------------------
>
> Message: 3
> Date: Mon, 20 Feb 2012 18:59:54 +0100
> From: Tom Gottfried <tomgottfried@web.de>
> To: r-sig-debian@r-project.org
> Subject: Re: [R-sig-Debian] readVECT6 and readRAST6 fails with R and
> GRASS 7 ???
> Message-ID: <4F428A1A.20703@web.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> spgrass6, readRAST6 and readVECT6 have a "6" in their name that refers
> to GRASS 6. GRASS 7 seems to be quit...
2009 Jun 11
1
GRASS raster data processing
Hi,
I just imported two raster maps into R using the SPGRASS6 package, one
containing elevation data and the other containing an erosion index:
Kar_inc <-readRAST6("Incis_Kar", plugin=FALSE)
Kar_dem <- readRAST6("DEM_Kar", plugin=FALSE)
I just wanted to make a xy plot of erosion parameter vs elevation. How does
this work? I don't get how to handle SpatialGridDataFrames...
Thanks a lot
Maarten
--
View this message in context: http:...
2012 Feb 14
1
svm with GRASS GIS
...SS.
Basically I have a raster with "areas training" and other three raster (each
represents a band of ASTER satellite image).
My goal is to classify, according to training areas, the 3 raster.
Trying to replicate the guides found on the net, I did the following:
# load raster
Training<-readRAST6("Training")
AST_L1B_1<-readRAST6("AST_L1B_1")
AST_L1B_2<-readRAST6("AST_L1B_2")
AST_L1B_3N<-readRAST6("AST_L1B_3N")
#and then
model_ASTER <-
svm(Training_2006,AST_L1B_1,AST_L1B_2,AST_L1B_3N,type='C',kernel='linear')
#but
Errore in...
2011 Sep 15
1
Creando scrips en R
...decir realizarla (la #Operación general) a cada uno de los 18 mapas. El asunto está en hacer esas operaciones creando un scrip, para no tener que teclear esas operaciones a cada Mapa y por ende prolongar la vida de mi precioso teclado con valor de 50 pesos mexicanos
#Operación general
Mapa1 <- readRAST6 ('Mapa1') ###Para importar un raster de GRASS-GIS a R
Mapa1.v <- as.vector(Mapa1.m <- as.matrix(Mapa1)) ###Convierto a matris y después a vector
Mapa1.vn <- Mapa.v[!is.na(Mapa.v)] ### Elimino datos nulos del vector
SP1 <- sample(Mapa.vn, 50) ### Extraigo una muestra de 50 datos...
2008 Aug 19
1
address (nil), cause 'memory not mapped'
....stderr)
2: ifelse(.Platform$OS.type == "windows", projstr <- system("g.proj -j
-f", intern = TRUE), projstr <- system("g.proj -j -f", intern =
TRUE, ignore.stderr = ignore.stderr))
3: getLocationProj()
4: nchar(projargs)
5: CRS(getLocationProj())
6: readRAST6("nombre")
7: dist.grass(matrizPaisaje.riosypondas3000, "riosypondas3000", direct
= "/home/mastermind/r/distancias", division = 17)
8: eval(expr, envir, enclos)
9: eval(parse(text = sprintf("dist.%s <<- dist.grass(matrizPaisaje.%s,
'%s', direct...