Re: [R-sig-Geo] speed problem with %over% function

2012-02-27 Thread Edzer Pebesma
Dear Bastien, the %over% method was primary written to work, and it seems that it did. It is hard to tell why ArcGIS is so much faster without access to its source code, and your data. Chances are that it uses a spatial index, and R does not. Talking about spatial indexes, you might want to try

[R-sig-Geo] problem with rgdal library

2012-02-27 Thread Paul.Rustomji
Hello List, I am having trouble getting rgdal to load, and was hoping you could assist. When I execute the following library() command: >library("rgdal", character.only=TRUE) I get a windows pop up message saying: Rgui.exe - Unable To Locate Component This application has failed to start becau

Re: [R-sig-Geo] writeGDAL: pseudocolor image?

2012-02-27 Thread Agustin Lobo
You are right, I've download it and gdalinfo indicates a jpeg. It's weird because the file I upload is a real tif, could it be that it gets automatically modified? Anyway, I attach the tif to another message for you. The original file is jpeg. Then I use imageJ to change it to "8 bit color" (this

Re: [R-sig-Geo] rsaga multi.local.function

2012-02-27 Thread Alexander Brenning
Hi Chuck, the error message suggests that the function unsuccessfully tries to write a character string into the output file. Are you applying randomforest to a classification problem or a regression problem? If classification, are you predicting probabilities of class membership, or classes

Re: [R-sig-Geo] Problems with function gplot from rasterVis

2012-02-27 Thread Manuel Spínola
Thank you very much Oscar. That works. Manuel 2012/2/27 Oscar Perpiñán Lamigueiro > Manuel Spínola writes: > > > >> library(raster)> library(rasterVis)> r = raster(jabali$map)> p = > gplot(r) + geom_tile(aes(fill = value)) + geom_point(loc, aes(X,Y))Error: > ggplot2 doesn't know how to deal w

Re: [R-sig-Geo] Data point coordinates from kernel home range estimation

2012-02-27 Thread Anthony Fischbach
Despina, Please see http://cran.r-project.org/web/packages/adehabitatHR/index.html There you will find a rich set of tools that may address your problem and that may be readily referenced in a methods section. Best Wishes- - Tony Fischbach, Wildlife Biologist Walrus Research Program Alaska

Re: [R-sig-Geo] Problems with function gplot from rasterVis

2012-02-27 Thread Oscar Perpiñán Lamigueiro
Manuel Spínola writes: >> library(raster)> library(rasterVis)> r = raster(jabali$map)> p = gplot(r) + >> geom_tile(aes(fill = value)) + geom_point(loc, aes(X,Y))Error: ggplot2 >> doesn't know how to deal with data of class uneval > > I can plot the map, but I can get to plot the points on the

[R-sig-Geo] speed problem with %over% function

2012-02-27 Thread Bastien.Ferland-Raymond
Dear geo-list, I'm just starting using R and the rgdal package to manage and create some shapes and I am hitting some speed issues while using the %over% function. R is significantly slower than ArcGIS. Here is what I'm doing (I've shorten the code to make it easier to follow, I don't expect i

Re: [R-sig-Geo] installing rgdal on linux without root access

2012-02-27 Thread Paul Hiemstra
On 02/27/2012 11:32 AM, gregor.hochsch...@gmx.de wrote: > Hi, I am trying to install rgdal on a server without root access. I managed > to compile proj.4 and gdal from source placing them in ~/libs using DESTDIR > in make install. I am unable, however, to install rgdal using this command: > > R C

[R-sig-Geo] Filled polygon borders.

2012-02-27 Thread Christian Jansson
Hi, I have a few thousand polygons I need to plot on a map (with different colors). It is the colored areas of the polygons that matter, not the border lines. However, as most polygons are quite small, the black borders dominate the plots and hide the colors of the areas. I use RGoogleMaps like t

Re: [R-sig-Geo] writeGDAL: pseudocolor image?

2012-02-27 Thread Barry Rowlingson
On Mon, Feb 27, 2012 at 11:49 AM, Agustin Lobo wrote: > Thanks Vikram, > > But that would be a multiband image, not a pseucolor image. I need > a single layer image including its colortable in the same file (i.e. a > temperature field > represented in color such as > https://sites.google.com/site/

Re: [R-sig-Geo] writeGDAL: pseudocolor image?

2012-02-27 Thread Agustin Lobo
Thanks Vikram, But that would be a multiband image, not a pseucolor image. I need a single layer image including its colortable in the same file (i.e. a temperature field represented in color such as https://sites.google.com/site/filestemp2/home/pseudocolorv2.tif ). Regards, Agus El día 27 de f

[R-sig-Geo] installing rgdal on linux without root access

2012-02-27 Thread gregor . hochschild
Hi, I am trying to install rgdal on a server without root access. I managed to compile proj.4 and gdal from source placing them in ~/libs using DESTDIR in make install. I am unable, however, to install rgdal using this command: R CMD INSTALL --configure-args=' --with-gdal-config=~/libs/gdal/usr/

Re: [R-sig-Geo] writeGDAL: pseudocolor image?

2012-02-27 Thread Vikram Ranga
Hello Agus, Have you tried writeRaster() command from raster package? I have tried it and it works wonderfully. I have tried it like this octstack<-stack(croctb1,croctb2,croctb3,croctb4,croctb5,croctb7) writeRaster(octstack,"H:/../map_oct.tif", overwrite=T) you can also write *.img and a numbe

[R-sig-Geo] Data point coordinates from kernel home range estimation

2012-02-27 Thread despina_tg
Hello, I'm very new in working on R and maybe that's a simple thing I'm trying to do, but I am really stuck. I have a data point set of animal tracking coordinates and I have implemented a kernel utilization distribution analysis in order to find the home range for 95% of the relocation data.

Re: [R-sig-Geo] an ArcGIS question

2012-02-27 Thread Paul Hiemstra
On 02/27/2012 10:22 AM, Paul Hiemstra wrote: > On 02/26/2012 08:24 PM, Hodgess, Erin wrote: >> Hi R Sig Geo People: >> >> May I ask an ArcGIS question here, or should I try to find an ArcGIS group, >> please? >> >> >> >> Erin M. Hodgess, PhD >> Associate Professor >> Department of Computer and Mat

Re: [R-sig-Geo] fortify.SpatialPolygonsDataFrame error

2012-02-27 Thread Paul Hiemstra
On 02/23/2012 04:48 PM, marion le texier wrote: > Hi everyone, > > I would like to know if someone of you has already got troubles when trying > to use ggplot2 with a shape file? > Here is what I've done: > > NUTS1<-readShapeSpatial("nuts1_2003", > proj4string=CRS(projargs=("+init=epsg:3035")),I

Re: [R-sig-Geo] an ArcGIS question

2012-02-27 Thread Paul Hiemstra
On 02/26/2012 08:24 PM, Hodgess, Erin wrote: > Hi R Sig Geo People: > > May I ask an ArcGIS question here, or should I try to find an ArcGIS group, > please? > > > > Erin M. Hodgess, PhD > Associate Professor > Department of Computer and Mathematical Sciences > University of Houston - Downtown > m

Re: [R-sig-Geo] spanish environmental variables map and krige

2012-02-27 Thread Josep M Serra diaz
Dear Toni & Tomislav and listers, You can find downscaled high resolution climatic variables from Spain and Portugal (Iberian Peninsula) 200m with 50 year controled quality stations. Find more information on methods and maps server @ http://opengis.uab.es/wms/iberia/en_index.htm. Climatic data can

Re: [R-sig-Geo] Reading *.LAS format of LiDAR data In R

2012-02-27 Thread Hans Gardfjell
Hi, At our department we are using LiDAR data for many different purposes. To simplify import into R one of my colleagues are working on a R package that allows the use of the C++ libLas library from within R. It is still under (early) development, but it compiles under Linux and MacOS and allo

Re: [R-sig-Geo] spanish environmental variables map and krige

2012-02-27 Thread TM
DearTomislav, Thank you very much for your help. Toni - Original Message - From: "Tomislav Hengl" To: Sent: Sunday, February 26, 2012 3:40 PM Subject: Re: [R-sig-Geo] spanish environmental variables map and krige On 25/02/2012 01:11, Toni Monleon wrote: Hi All, I' d like to