[tlocoh-info] Function lxy.gridanv.add

Horst Reinecke hreinec at gwdg.de
Wed Feb 1 15:05:29 CET 2017


Hi all,

Iäm working with with 3.3.2 and tlocoh 1.40 and 14.04.1-Ubuntu. Trying 
to add an  ancillary variable to a lxy-object I get following error: 
Error in (function (classes, fdef, mtable)  :
   unable to find an inherited method for function ‘overlay’ for 
signature ‘"SpatialGridDataFrame", "SpatialPointsDataFrame"’
My command: test_anc <- lxy.gridanv.add(c15792_1.lxy[[2]], band = 1, fn 
= 'tiffs/class_seg.tif', anv.name = 'use_class')

c15792_1.lxy[[2]] is of class locohlxy and 'tiffs/class_seg.tif' is a 
geotiff readable by rGDAL.
Are there any suggestions?

Best,
Horst

-- 
Horst Reinecke
Büsgen-Institut
Abteilung Wildtierwissenschaften
Georg-August-Universität Göttingen
Büsgenweg 3
37077 Göttingen

Büsgen-Institute
Department of Wildlife Sciences
+49 (0)551-3933629
+49 (0)551-3933628 Fax
+49 (0)178-2307897 Mobil



More information about the Tlocoh-info mailing list