[R-sig-Geo] Compatibility between sf and raster
edzer.pebesma at uni-muenster.de
Tue Aug 29 18:22:20 CEST 2017
Right now you'll have to be satisfied with doing
there is a follow-up project to sf, called stars , which will try to
look beyond raster, rather than redo raster or make raster and sf
compatible. Stars will consider compatibility with raster, but don't
hold your breath.
stars development will start soon.
On 29/08/17 17:03, Manuel Spínola wrote:
> Dear list members,
> Is there any plan to make compatible the sf and the raster packages?
>> nc <- st_read(system.file("shape/nc.shp", package="sf"))
> Reading layer `nc' from data source
> using driver `ESRI Shapefile'
> Simple feature collection with 100 features and 14 fields
> geometry type: MULTIPOLYGON
> dimension: XY
> bbox: xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax:
> epsg (SRID): 4267
> proj4string: +proj=longlat +datum=NAD27 +no_defs
> Error in (function (classes, fdef, mtable) :
> unable to find an inherited method for function ‘raster’ for signature
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081
Journal of Statistical Software: http://www.jstatsoft.org/
Computers & Geosciences: http://elsevier.com/locate/cageo/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the R-sig-Geo