[R-sig-Geo] Error in Moran.test: In sqrt(VI) : NaNs

2012-04-04 Thread Fabricio Vasselai
Dear list, Maybe someone can shed some light on this error. I have a dataset with thousands of candidates with electoral support per city. I wrote a R script to calculate both Moran.test and Moran.MC (9 iterations), and also Geary C test. The script run very fine, but at the end I have noticed

[R-sig-Geo] (no subject)

2012-04-04 Thread fernando del bon
http://barbandjeff.ca/packages/example_faq/single_pages/fjgvkd.html";> http://barbandjeff.ca/packages/example_faq/single_pages/fjgvkd.html [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.

[R-sig-Geo] Simple 2 layer feature space

2012-04-04 Thread La Puma, Inga
I'm new to R. I'm trying to emulate what one would see in ERDAS feature space with two raster layers containing different attribute data on different scales. x = layer 1, y = layer 2; and the number of pixels (there are 3881020 total, not all with data, what are the limits in R?) that fall within

Re: [R-sig-Geo] problem when cropping soil layers

2012-04-04 Thread Agus Camacho
Thanks Sarah and Robert, The hint from Sarah worked fine, but im also going to upgrade. Cheers Agus El 4 de abril de 2012 15:27, Robert J. Hijmans escribió: > Agus, > > I think you can ignore this warning, but better still would be to run > > update.packages() > > or at least update the raster

Re: [R-sig-Geo] problem when cropping soil layers

2012-04-04 Thread Robert J. Hijmans
Agus, I think you can ignore this warning, but better still would be to run update.packages() or at least update the raster package, as I think the warning goes away after you do that. Robert On Wed, Apr 4, 2012 at 9:51 AM, Agus Camacho wrote: > Dear list, > > For first time after using it

Re: [R-sig-Geo] problem when cropping soil layers

2012-04-04 Thread Sarah Goslee
I think that should be: On Wed, Apr 4, 2012 at 12:51 PM, Agus Camacho wrote: > Dear list, > > For first time after using it several times, I had warnings using the crop > function with a raster stack from soil layers in format geotiiff derived > from the HWSD. > http://spatial-analyst.net/wiki/in

Re: [R-sig-Geo] error calling gstat::idw.locations

2012-04-04 Thread Anthony Fischbach
Thank you! That solved it. > loc.idw <- idw(value~1, NARR, loc, idp = 1.0, debug.level = 1) [inverse distance weighted interpolation] > > loc.idw coordinates var1.pred var1.var 1 (-170.27, 70.6) 1.268308 NA - Tony Fischbach, Wildlife Biologist Walrus Research Program Alaska Sc

[R-sig-Geo] problem when cropping soil layers

2012-04-04 Thread Agus Camacho
Dear list, For first time after using it several times, I had warnings using the crop function with a raster stack from soil layers in format geotiiff derived from the HWSD. http://spatial-analyst.net/wiki/index.php?title=Global_datasets#Soil.2Fgeology_maps specifically, when: soil=crop(soil, ex

Re: [R-sig-Geo] error calling gstat::idw.locations

2012-04-04 Thread Edzer Pebesma
That is probably because idw.locations is not exported in the package NAMESPACE. I would try instead: loc.idw <- idw(value~1, NARR, loc, idp = 1.0, debug.level = 1) On 04/04/2012 05:10 PM, Anthony Fischbach wrote: > I receive the following error after issuing the function call below with the > fo

[R-sig-Geo] error calling gstat::idw.locations

2012-04-04 Thread Anthony Fischbach
I receive the following error after issuing the function call below with the following objects. Please advise. Objects ## ## NARR a SpatialPointsDataFrame containing values to be interpolated coordinatesvalue 1(-170.312, 70.5) 1.141060 2(-170.125, 70.5) 1.128586 3 (-170.

Re: [R-sig-Geo] Image Classification - Wish List?

2012-04-04 Thread Ned Horning
Eric, I strongly recommend "image segmentation algorithms and tools" even if it's not necessarily a classification algorithm. Image segmentation and tools to derive features from the segments are, for the most part, lacking in open source software. There are some segmentation tools out there

Re: [R-sig-Geo] Transform decimal degrees units in km - ReadOGR & owin{spatstat}

2012-04-04 Thread Aurelie C.Godin
Thanks for the hint Tom, I did came across this post previously: http://r-sig-geo.2731867.n2.nabble.com/readOGR-default-unit-td7337370.html http://r-sig-geo.2731867.n2.nabble.com/readOGR-default-unit-td7337370.html This is what I've done so far, but I don't understand why/if I need to do so. Do

Re: [R-sig-Geo] Image Classification - Wish List?

2012-04-04 Thread Eric Momsen
> > On Wed, Apr 4, 2012 at 7:27 AM, Rainer M Krug wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 04/04/12 14:16, Eric Momsen wrote: > > > > > An interface like this would help your work tremendously, as it would > make the linking much > > easier. Nevertheless, I have no i

Re: [R-sig-Geo] read shapefile into R larger than 2GB

2012-04-04 Thread Roger Bivand
On Wed, 4 Apr 2012, Carlos Valenzuela wrote: Thank you all for your replies. Rainer - In regards to the size of the .shp, it is due to the .dbf file. There are over 500,000 cases (for the entire city). Now the kicker is that we also want to include more data in the future. But, it seems like th

Re: [R-sig-Geo] read shapefile into R larger than 2GB

2012-04-04 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/04/12 14:49, Carlos Valenzuela wrote: > Thank you all for your replies. > > Rainer - In regards to the size of the .shp, it is due to the .dbf file. > There are over 500,000 > cases (for the entire city). Now the kicker is that we also want to

Re: [R-sig-Geo] read shapefile into R larger than 2GB

2012-04-04 Thread Carlos Valenzuela
Thank you all for your replies. Rainer - In regards to the size of the .shp, it is due to the .dbf file. There are over 500,000 cases (for the entire city). Now the kicker is that we also want to include more data in the future. But, it seems like that we would be even more difficult as all of you

Re: [R-sig-Geo] Image Classification - Wish List?

2012-04-04 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/04/12 14:16, Eric Momsen wrote: > Hello all, > > I'm looking for some feedback and ideas regarding the need to improve image > classification > abilities in GRASS GIS. My understanding is that since the required > classification techniques

[R-sig-Geo] Image Classification - Wish List?

2012-04-04 Thread Eric Momsen
Hello all, I'm looking for some feedback and ideas regarding the need to improve image classification abilities in GRASS GIS.  My understanding is that since the required classification techniques aren't available in GRASS, the researchers doing that work are found elsewhere.  Hopefully this is a

Re: [R-sig-Geo] read shapefile into R larger than 2GB

2012-04-04 Thread Roger Bivand
On Wed, 4 Apr 2012, Rainer M Krug wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/04/12 20:44, Carlos Valenzuela wrote: Hello all, I was hoping someone may be able to help me with this problem. I am trying to read a shapefile into R that is larger than 2GB. I?ve tried In my opini

Re: [R-sig-Geo] read shapefile into R larger than 2GB

2012-04-04 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/04/12 20:44, Carlos Valenzuela wrote: > Hello all, I was hoping someone may be able to help me with this problem. I > am trying to read a > shapefile into R that is larger than 2GB. I?ve tried In my opinion, a 2GB shape file is insane Is t