[R-sig-Geo] problem with sp.layout in latest version of sp

Tim Appelhans tim.appelhans at gmail.com
Mon May 18 16:54:37 CEST 2015


Thank you very much Edzer! All solved :-)

On 18.05.2015 15:36, Edzer Pebesma wrote:
> Thanks; this should now be fixed in sp on r-forge (rev 1646).
>
> On 05/18/2015 02:24 PM, Tim Appelhans wrote:
>> Dear list,
>> a while ago I implemented a function (rgb2spLayout) to convert an RGB
>> RasterBrick/*Stack to a list which can then be used with spplot via the
>> sp.layout argument in order to e.g. plot points on a Bing/Google Earth
>> image. The code for the function is based on this blogpost:
>>
>> https://procomun.wordpress.com/2013/04/24/stamen-maps-with-spplot/
>>
>> and the function is part of a package called "Rsenal" and can be found
>> here:
>>
>> https://github.com/environmentalinformatics-marburg/Rsenal/blob/master/R/rgb2spLayout.R
>>
>>
>> This has been working like a charm until the latest update of sp from
>> 1.0-17 to 1.1-0. According to the change log (and the comparison of the
>> spplot.R sources for the two versions), there have been some changes to
>> spplot, including changes to sp.layout. The spicific error message I now
>> get when I run the example from ?rgb2spLayout is
>>
>> "Error using packet 1 unused argument (first = FALSE)"
>>
>> I cannot figure out why things go haywire now, so any hints regarding a
>> fix for this would be much appreciated.
>>
>> Best
>> Tim
>>
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
#####################################
Tim Appelhans
Department of Geography
Environmental Informatics
Philipps Universität Marburg
Deutschhausstraße 12
35032 Marburg (Paketpost: 35037 Marburg)
Germany

Tel +49 (0) 6421 28-25957

http://environmentalinformatics-marburg.de/


	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list