Re: [R-sig-Geo] Spatial points to lines/polygons

2013-03-04 Thread Mathieu Rajerison
Hi, You could create the spatialpolygons from scratch using this example: http://hosho.ees.hokudai.ac.jp/~kubo/Rdoc/library/sp/html/SpatialPolygons-class.html I noticed you tried to create an alphahull object. Maybe you should have a look at this code published by Barry Rowlingson:

Re: [R-sig-Geo] Antw: project google map to Sinusoidal

2013-03-04 Thread Ross Ahmed
So I intend to take measurements, not make maps, using Google maps. Is this still against their policy? If this is still a problem, are there alternatives to google maps that can be used in R or a GIS? Thanks Ross On 1 Mar 2013, at 18:07, Barry Rowlingson b.rowling...@lancaster.ac.uk wrote:

Re: [R-sig-Geo] Antw: project google map to Sinusoidal

2013-03-04 Thread Barry Rowlingson
On Mon, Mar 4, 2013 at 2:09 PM, Ross Ahmed rossah...@googlemail.com wrote: So I intend to take measurements, not make maps, using Google maps. Is this still against their policy? If this is still a problem, are there alternatives to google maps that can be used in R or a GIS? That could

[R-sig-Geo] Aggregate within another grid extent

2013-03-04 Thread ppanday
Hello I have a rasterbrick with MODIS 1km pixels for an study region. How do I aggregate all the MODIS pixels that fall within another raster layer with 0.5 degree resolution and take the average time series? There are not necessarily the same number of MODIS pixels within the 0.5 grid. Thanks,

Re: [R-sig-Geo] Aggregate within another grid extent

2013-03-04 Thread Robert J. Hijmans
You can spatially aggregate to get a brick with approximately the same cell size (0.5 degrees ~ 50 km; depending where your study area is). After that, use projectRaster to get from meters to degrees. RH On Mon, Mar 4, 2013 at 11:12 AM, ppanday ppan...@clarku.edu wrote: Hello I have a

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

2013-03-04 Thread Josh O'Brien
Hi all, The raster package function crop() can fail for certain sufficiently large cropping extents (in terms of number of rows and columns needing to be extracted). The raster I'd like to crop is stored on the disk (i.e. fromDisk(r) -- TRUE) and I'm writing the results to a file: the problem

[R-sig-Geo] Kcross and envelope

2013-03-04 Thread Brigitte Hogan
Hi All, I have run into an unexpected outcome using Kcross() and envelope() that I hope someone can explain. My question is, why does envelope() produce different curves when no edge correction is specified and when correction is set as none? I would expect these curves to be closely the same,

[R-sig-Geo] stplot question

2013-03-04 Thread Hodgess, Erin
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 fine. It puts all of the plots on one page. My question: is there a way to have each of the stplots on separate pages, please?