[R-sig-Geo] problems with plotting STFDF

Edzer Pebesma edzer.pebesma at uni-muenster.de
Sun Dec 29 16:55:56 CET 2013



On 12/28/2013 10:02 AM, Barry Rowlingson wrote:
> On Sat, Dec 28, 2013 at 2:57 AM, Hodgess, Erin <HodgessE at uhd.edu> wrote:
>> Hello everyone!
>>
>> Hope you're enjoying some holiday time!
>>
>> I'm running into a little snag here.  I'm working through the example on krigeST, which produces an STFDF object.  Fine so far.
>>
>> However, I would like to produce a Google Earth object from that.
>>
>> When I use plotKML, I get:
>>
>>> plotKML(DE_kriged,"var1.pred")
>> Error in (function (classes, fdef, mtable)  :
>>   unable to find an inherited method  for function ‘plotKML’ for signature ‘"STFDF"’
>>>
>>
>> Or when I use kml, I get:
>>
>>> kml(DE_kriged,"var1.pred")
>> Error in (function (classes, fdef, mtable)  :
>>   unable to find an inherited method for function ‘kml’ for signature ‘"STFDF"’
>>>
>>
>> What should I be doing, please?
> 
>  The functions are essentially saying "I don't know what to do with an
> STFDF object". Is there any documentation that says these functions
> can do something sensible with STFDF data? Maybe the code is yet to be
> written...
> 
> Barry
>  

library(plotKML)
showMethods("plotKML")

and also ?plotKML confirm what Barry just suggested.
-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany. Phone: +49 251
83 33081 http://ifgi.uni-muenster.de GPG key ID 0xAC227795

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20131229/f95543ea/attachment.bin>


More information about the R-sig-Geo mailing list