[R-sig-Geo] spatstat objects and sp: distmap result to sp

Agustin Lobo Agustin.Lobo at ija.csic.es
Thu Jul 5 14:37:06 CEST 2007


Dear Siggeos,

I'm having a hard time at converting
objects to use spatial functions in different
packages. With a lot of help from the list
I've been able to calculate a distmap (package spatstat).
Now I would like to export using rgdal, but
cannot figure out how to convert the object
resulting from distmap (class "im") to an
sp object. I've unsuccessfully tried  as.image.SpatialGridDataFrame.
Any ideas?

Thanks,

Agus

-- 
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster




More information about the R-sig-Geo mailing list