[R-sig-Geo] Exporting spatstat 'pixel image' to Arcview 9.x as an e00 or ascii

Rolf Turner r.turner at auckland.ac.nz
Tue Jul 12 08:08:33 CEST 2011


On 12/07/11 15:40, Michael Sumner wrote:
> Another way is to use the coercion methods in maptools (these are
> considered additional to the basics provided by sp, since they
> provider converters between classes in other packages):
>
> library(maptools)
> as(Im, "SpatialGridDataFrame")
>
> In terms of the data the result is identical to Rolf's method, though
> various attributes will not be.

Ahhh!  I tried as(Im,"SpatialGridDataFrame") --- to no avail --- but
with only ***sp*** loaded.  I forgot that ***maptools*** was the key
ingredient.  Duhhhhhhhh!

     cheers,

             Rolf Turner



More information about the R-sig-Geo mailing list