Displaying 20 results from an estimated 200 matches similar to: "rgdal and spgrass6"
2008 Dec 10
2
exporting rast from R to GRASS
Hi, everybody!
i created a imagem by kriging using geoR package. I imported points
from GRASS("zn", after converted to geodata "zn_geo"), the border
"zn_border" and a raster mask. Then i interpolated the points by
kriging and created a raster image. Now, i need export this image back
to GRASS to use it in the module r.mapcalc. I can't do it. I tried use
2007 Jun 06
1
spgrass6 and aggregation (bis)
Dear all,
I have some additionale question concerning the spgrass6 package.
* When you set a region in GRASS, does the readGRASS6 function in R only
load data contained in the zoomed region or the whole map ?
* When you have a MASK map in grass, does the readGRASS6 function in R only
load data contained inside the MASK area ?
Could this be the problem ?
Thanks,
Jessica
2010 Sep 30
2
Installing sp and rgdal libraries
Hi,
I am still a bit of a beginner with R but I had it all working spgrass6,
RMySQL, sp, etc...
Then I wanted to install spatstat, this required updating R, all was going
fine until I tried to connect to grass gis using spgrass6 library, it
wouldn't let be install the package due to a dependency with rgdal. rgdal
will not install as the sp package is 1:0.9-56-2 and sp requires a higher
2010 Oct 17
1
rgdal package (Matteo Toro)
>Hi everybody,
>
>I'm trying to install the "rgdal" package in R, but it seems not possible...
>
>i'm typing
>
>> install.packages("rgdal")
>Warning in install.packages("rgdal") :
> argument 'lib' is missing: using '/home/toro/R/i486-pc-linux-gnu-library/2.
>9'
>--- Please select a CRAN mirror for use in
2010 Jan 29
0
Problems with readVECT6 in spgrass6 package: A possible solution.
Hi
I am working with spgrass6 package and GRASS v.6.2. Everything was
fine until I tryed to read a vector file with readVECT6 (and other
related vector commands, like vInfo). When I ran these commands, the
problem immediately appeared (" Sorry, is not a valid flag" ).
Ok, the solution is easy:
- You have to download the spgrass package within a folder, in order
to install
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:
2007 Jun 13
1
installing GRASS-R packages
Hi,
I tried to install R packages required for the GRASS-R interface by
using the following command (copied from
http://www.geog.uni-hannover.de/grass/statsgrass/grass6_r_install.html):
/install.packages (c("sp", "spgrass6","rgdal","maptools"), dependencies
=TRUE)/
rgdal package was installed successfully;
There were problems to find 'sp' and
2011 Jan 03
1
Modules for using geostatistics for image classification
Hello everyone!
I am using GRASS with spgrass6 for my work. I will be using variograms in
the process of landsat image classification. I am quite ok with GRASS but am
finding R really tough. I understand that spgrass6 is a link between GRASS
and R which can read and write raster/vector layers. Out of really many
packages in R, for generating variograms out of landsat images which
packages of R
2012 Feb 20
1
readVECT6 and readRAST6 fails with R and GRASS 7 ???
Hello all,
I'm having troubles getting R to load data from GRASS 7. I suspect I have
installed something 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
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
2013 Oct 03
1
check warning with .onLoad() and setClass()
Hi
I am writing a package in which I define a new class in the .onLoad()
hook:
,----
| .onLoad <- function(libname, pkgname) {
| setClass(
| "inDrak",
| representation(
| init = "SpatialGridDataFrame"
| ),
| contains = "simObj"
| )
| }
`----
The class "simObj" is defined in the package, which
2006 Dec 01
1
memeory problem?!
hi,
i'm trying to perform a clustering on a big dataframe the code is this:
print("load required R packages")
require(spgrass6)
require(cluster)
gmeta6 <- gmeta6()
print("read in our 7 raster files from GRASS")
x <- readFLOAT6sp(c
("er","crosc","longc","slope","profc","minic","maxic"))
2008 Aug 19
1
address (nil), cause 'memory not mapped'
Dear users,
I got this problem and i don't have a clue of what it could be happening...
The context: i'm running a loop in which i extract information from a raster
map (I work with GRASS and R, using spgrass6 package), and rearrange it to
create a matrix. I've tried it with small maps and it works smoothly, but in
large maps I have to resort to saving data in the hard disk regularly
2008 Feb 27
2
Plan to build Package to use GRASS from R
Hi
Sorry for crossposting, but I think this can be of interest for GRASS and R
users.
I am planning to write a package to make the use of GRASS from R easier. The
idea is to wrap the system call to execute the GRASS command into an R
command of the same name.
e.g:
r.to.vect <- function(..., intern=TRUE, ignore.stderr=FALSE)
{
comm <- paste( "r.to.vect ", ...,
2006 Dec 01
1
memory problem
hi to all,
frustated for this error, to day i buy a 1 GB memory
slot for my laptop
now it have 1,28GB instead the old 512, but i've the
same error :-(
damn!damn!....how can i do?
repeat for a little area (about 20X20 km and res=20m)
it work fine!
have you any suggestion?
is ther a method for look if this error depend from my
ram or other....?
thanks foe any suggestion!
i need your help.
2009 Aug 24
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
Updated packages
----------------
New reviews
-----------
This email provided as a service for the R community by
http://crantastic.org.
Like it? Hate it? Please let us know: cranatic at gmail.com.
2012 Feb 21
0
R-SIG-Debian Digest, Vol 78, Issue 3
Hi,
Does anyone use spgrass6 with GRASS 7 and R?
The documentation for spgrass6 states it is for GRASS6+, and if I recall
correctly I saw Dr. Bivand mention that it works well with GRASS7. (There
were some threads from 2009 where spgrass6 wasn't working with GRASS7 yet,
but I assumed that information was out of date.)
So I figured I was doing something wrong with the library and package
2010 Apr 16
0
generating a SpatialLinesDataFrame (rgdal)
Could somebody give me a pointer on how to generate a SpatialLinesDataFrame
from a dataframe, that contains lat,long coordinates as separate variables.
At the moment the data looks like this:
lat long
[1] 53.xxxx 1.xxxx
where as the SpatialLinesDataFrame consists of
Coordinates
[1] (53.xxx, 1.xxx)
This is probably a trival issue, but I'm a relatively new user and
2011 Jun 23
1
Help: how to install "rgdal package" on Ubuntu desktop?
Dear groups:
I have tried to install rgdal in my Ubuntu, but it is not as straight
as installing "sp". It demand the pre-installed GDAL and proj.4.
I searched the source code in http://trac.osgeo.org/proj/ and
http://trac.osgeo.org/gdal/wiki/DownloadSource. but don't know how to
compile them.
Who will give me a hint?
Thanks a lot.
Ethan Chang
Centers for Disease Control &
2014 Oct 24
1
rgdal: Convert ESRI ArcGis geo database (gdb directory) to geojson, or shapefile map
Hello,
I have an ESRI ArGis geo database directory which I would like to convert
to geojson or a shape file (or anything else that I can read into R).
Unfortunately that does not work out of the box with rgdal, because it does
not come with the fileGDB or openfileGDB driver.
I could successfully install gdal and the fileGDB driver/extension, but it
seems that i can use gdal only to convert the