Re: [R-sig-Geo] Coercing character to image

2008-06-24 Thread Roger Bivand
On Tue, 24 Jun 2008, Honey Giroday wrote: Thank you for your response and assisting me with clarifying my question. Here is a portion of the code I am using: xxx04 <- ppp(x=mpb04$Easting, y=mpb04$Northing, window=tpi1.win) dens2004<-density(xxx04) save(dens2004, file="dens2003.Rdata" dens200

Re: [R-sig-Geo] Coercing character to image

2008-06-24 Thread Honey Giroday
Thank you for your response and assisting me with clarifying my question. Here is a portion of the code I am using: xxx04 <- ppp(x=mpb04$Easting, y=mpb04$Northing, window=tpi1.win) dens2004<-density(xxx04) save(dens2004, file="dens2003.Rdata" dens2004.load<-load("dens2004.Rdata") dens2004.im<-a

[R-sig-Geo] Guide to plotting R spatial objects

2008-06-24 Thread Agustin Lobo
Hi! Is there a guide for plotting R spatial objects, best dealing with all (at least several) of the different spatial packages (sp, PBSmapping, maptools etc)? Thanks -- Dr. Agustin Lobo Institut de Ciencies de la Terra "Jaume Almera" (CSIC) LLuis Sole Sabaris s/n 08028 Barcelona Spain Tel. 34

Re: [R-sig-Geo] extracting oceanographic data

2008-06-24 Thread Michael Sumner
Hello, I've worked a lot on problems of this type - here's some quick thoughts, not really directly addressing your questions. HDF and netCDF can be difficult - you need to compile rgdal from against FWTools, or from source to have those work with readGDAL. I would just use gdal_translate to

[R-sig-Geo] extracting oceanographic data

2008-06-24 Thread LOUZAO
Dear list, I'm trying to extract different oceanographic data (chlorophyll, sea surface temperature, etc.) for doing habitat modelling. The input data are locations (lat, lon) of tracking data of marine top predators and I would like to extract oceanographic data from a given area around each

Re: [R-sig-Geo] Coercing character to image

2008-06-24 Thread Roger Bivand
On Tue, 24 Jun 2008, Honey Giroday wrote: Hi, I'm currently trying to use save() on a density plot (i.e. an image) that takes a long time to generate (using density(x)). I want to be able to use the saved dataset as a covariate in ppm. However, once my image is saved and loaded back in i