issue in rasterize
spedygiorgio opened this issue · comments
I was trying to rasterize a SpatialPolygonDataFrame but it seems to throw an error. A similar issue has been posted in SO http://gis.stackexchange.com/questions/64343/r-raster-package-rasterize-failingno-slots. dataset attached.
geodata.zip
Code that throws an error below:
grandine.raster<-rasterize(x=grandineMap,y=fulminazione,grandineMap$GRIDCODE,fun=mean,na.rm=TRUE)
@spedygiorgio rasterize
is not a function from package sp
, but is a function from package raster
.
Right sorry for the error
Il gio 12 gen 2017, 14:26 Jakub Nowosad <notifications@github.com> ha
scritto:
… @spedygiorgio <https://github.com/spedygiorgio> rasterize is not a
function from package sp, but is a function from package raster.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAyWxpMeXHn6Jrd8TMSNGEfzYPwl5jEnks5rRin1gaJpZM4LhuSS>
.
Answer is on SO.