[tlocoh-info] display tif in background of animation

Andy Lyons lyons.andy at gmail.com
Mon Aug 4 22:56:29 CEST 2014


Hi Anna,

Thanks for your question. The quick answer is that displaying rasters in 
the background is not currently supported in the lxy.exp.mov() function. 
This has been on my to-do list for a while, so I'll go ahead and add it 
and issue a package update later this week.

In the interim, if you are interested in a natural earth backdrop you 
could potentially use lxy.exp.kml() to export a set of time-stamped 
locations for Google Earth, and play an animation with Google Earth's 
animation toolbar (and if desired record it using a screen capture 
program).

Cheers,

Andy



On 8/4/2014 11:17 AM, Anna Schweiger wrote:
>
> Hi T-LoCoH list,
>
> I'm currently trying to create some animations using lxy.exp.mov.
>
> Appendix VI in the tutorial gives very detailed instruction and 
> everything works fine, EXCEPT:  I just can't figure out how to display 
> raster data (in .tif format) in the background. Unfortunately, 
> Appendix IV (Displaying Spatial Data in the Background) could not help 
> me ....
>
> The first step of creating the animation is:
>
> > lxy.exp.mov (all_gams.lxy, id=611, screen.test=TRUE, max.frames=1)
>
> For simple plausibility checks during data analysis the following 
> worked fine:
>
> > N2010 <- raster ("./N_2010.tif")   ### this is the environmental data I want to 
> display in the background of the animation
>
> > plot(all_gams.lxy, id=611)
>
> > plot(N2010, add=T)
>
> Does anybody have an idea? I'm stuck ....
>
> Thank you very much for your help!
>
> Best whishes, Anna
>
> PPlease consider the environment before printing this email.
>
>
>
> _______________________________________________
> Tlocoh-info mailing list
> Tlocoh-info at lists.r-forge.r-project.org
> http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/tlocoh-info/attachments/20140804/f6ee575d/attachment.html>


More information about the Tlocoh-info mailing list