Re: [R-sig-Geo] stplot question

2013-03-05 Thread Edzer Pebesma
Erin, See the help of xyplot in package lattice, in particular argument layout. On 03/05/2013 08:21 AM, Hodgess, Erin wrote: Hello! I have a spatio-temporal data set with 23 cities and 11 years of annual data. I have made it through krigeST without any problem. I use stplot and it works

Re: [R-sig-Geo] stplot question

2013-03-05 Thread Hodgess, Erin
Thank you! I have: stplot(kr3, layout=c(0,11)) Now, of course, one more thing, please: the plots run one after another. Is there a way to do one at a time, please? My ideal is to have 11 png files. Thanks again, Erin From:

Re: [R-sig-Geo] stplot question

2013-03-05 Thread Edzer Pebesma
Erin, if you don't specify the filename argument of the png file but leave it to the default value, you will end up with Rplot001.png Rplot002.png ... Rplot011.png See how the default is constructed to understand how you can modify this to your taste. On 03/05/2013 09:39 AM, Hodgess, Erin

[R-sig-Geo] Transform 2or 3 raster with texture information in soil triangle classes.

2013-03-05 Thread Swen Meyer
Dear All, does anyone maybe know a R script or a software tool that transforms a set of texture rasters (sand , silt , caly) into one classified raster according the German triangle ‘‘Bodenkundliche Kartieranleitung 1994. I know that SAGA GIS does have such a function but I think the results

[R-sig-Geo] Spatial interpolation of rainfall timeseries with e.g. spacetime

2013-03-05 Thread Fabian Ries
Dear all, I work on rainfall-runoff processes in a semi-arid area. I have time series of about 15 rainfall stations within a small area (300 sqkm) and want to perform spatial interpolation (idw or kriging) on a 5min-timestep. Runoff processes respond in my research area often to short peaks of

[R-sig-Geo] Directional correlograms

2013-03-05 Thread Subodh Acharya
Hi everyone, I think this question has been asked previously as well, but I could not find the answer. Can someone show me how I can calculate directional correlograms using any spatial statistics package in R? Thanks in advance for your help. S- [[alternative HTML version deleted]]

[R-sig-Geo] creating a SGDF with transformed coordinates and spatial aggregation

2013-03-05 Thread Swagath Navin
Dear all, I have a large data frame in form of (Lon, Lat, Value) ((coordinates in EPSG:3035). I can convert the data frame into a object of class SGDF using the following commands: coordinates(df)=~x+y proj4string(df)=CRS(+init=epsg:3035) gridded(pts) = TRUE fullgrid(pts)=TRUE

[R-sig-Geo] creating a SGDF with transformed coordinates and spatial aggregation

2013-03-05 Thread Swagath Navin
Sorry..i am resending my mail again ..first mail i sent as HTML format Dear all, I have a large data frame in form of (Lon, Lat, Value) ((coordinates in EPSG:3035). I can convert the data frame into a object of class SGDF using the following commands: coordinates(df)=~x+y

[R-sig-Geo] Topographical Data SOS

2013-03-05 Thread Christine Lynn Mc Lauchlan
Hey R SIG GEO folks, I'm an amateur R user, and have been trying to make a topographical map of Nova Scotia, Canada, on and off for the past month (with little success). I can make a two dimensional map simply using base R, but I'd like to get some sort of heat/contour map with elevation. I'm

Re: [R-sig-Geo] raster::crop() can fail when cropped region is too large to process in memory.

2013-03-05 Thread Josh O'Brien
Robert Hijmans wrote Josh, Thanks for reporting this, I will make 'crop' more conservative. The easiest way to deal with this (I believe rare) problem is to change the default setting of maxmemory: rasterOptions(maxmemory=1e+07) After that, crop(r, E, filename=smallerRast) will

[R-sig-Geo] Re. Topographical Data SOS

2013-03-05 Thread CIO Student
Begin forwarded message: From: Christine Lynn Mc Lauchlan cmclauch...@upei.ca Date: March 5, 2013 7:34:15 PM GMT+01:00 To: CIO Student swagathnavi...@gmail.com Subject: Re: Re. Topographical Data SOS Hi Swagath, THIS IS PERFECT! Oh my, I have been stuggling with this for ages, and all

[R-sig-Geo] question about image function

2013-03-05 Thread Hodgess, Erin
Hello again! I'm running into a problem with the image function within a loop. When I put it to the screen, it works fine, but when I put it to a PNG file, the picture doesn't change. Here is the code: for(i in 1:11) { j1 - (i-1)*n2 + 1 j2 - i*n2 predx -

Re: [R-sig-Geo] question about image function

2013-03-05 Thread Michael Sumner
I don't see filename defined, or any packages required. Is it the png files that are a problem or the 'kmlsetup' output? (whatever that is) See the animation package for extremely simplifed image frame creation btw On Wednesday, March 6, 2013, Hodgess, Erin wrote: Hello again! I'm running

Re: [R-sig-Geo] question about image function

2013-03-05 Thread Clint Bowman
When using png in a loop, especially one where the loop index is an integer, I usually make use of the %02d in the file name, e.g., png(pred_%02d_a.png,...) Clint BowmanINTERNET: cl...@ecy.wa.gov Air Quality Modeler INTERNET: cl...@math.utah.edu

Re: [R-sig-Geo] question about image function

2013-03-05 Thread Hodgess, Erin
It's the png file. It seems to be writing the first data set over and over to the various png files. From: Michael Sumner [mdsum...@gmail.com] Sent: Tuesday, March 05, 2013 2:41 PM To: Hodgess, Erin Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] question

Re: [R-sig-Geo] question about image function

2013-03-05 Thread Hodgess, Erin
That was it...thanks so much! From: Clint Bowman [cl...@ecy.wa.gov] Sent: Tuesday, March 05, 2013 2:46 PM To: Michael Sumner Cc: Hodgess, Erin; r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] question about image function When using png in a loop,

[R-sig-Geo] writeOGR(GeoJSON) to string instead of file

2013-03-05 Thread Philip Greenwood
Hi all, This is a re-post from a few weeks ago. I'm using writeOGR{rgdal} to a create GeoJSON temporary file then reading the file and passing as a string in Java. It would be really nice to avoid writing the temporary file, and have writeOGR return a GeoJSON string. Is this possible? My

[R-sig-Geo] ground overlays in KML

2013-03-05 Thread Hodgess, Erin
Hello again. I'm not sure if I should ask this here, but I thought it might be a place to start: I'm producing PNG files for ground overlays in Google Earth. After some help from you this afternoon, my png files are ready. However, the files do not run in sequence in Google Earth. It shows

Re: [R-sig-Geo] ground overlays in KML

2013-03-05 Thread Chris English
I imagine the final image is the last written.   https://developers.google.com/kml/documentation/time  explores various methods and additional tags employed for rendering sequences and controlling overlays. Hope it is in the right direction. Chris From: hodge...@uhd.edu To:

Re: [R-sig-Geo] ground overlays in KML

2013-03-05 Thread Hodgess, Erin
I had seen this today too...it doesn't seem to work either? Thanks though. Erin From: Chris English [sgl...@hotmail.com] Sent: Tuesday, March 05, 2013 9:11 PM To: Hodgess, Erin; Help R-Sig_Geo Subject: RE: [R-sig-Geo] ground overlays in KML I imagine the