R.J.GRAY ECOLOGY
  • Home
  • Services
  • About
  • Resources
  • Blog
  • Contact
  • R Courses

Research blog

Fastest Distance Raster Method in R

4/2/2021

0 Comments

 
Picture
By: Russell J Gray

Like most people, I have traditionally used the raster package function rasterize() and distance() to generate distance rasters (for example distance to river rasters). However, both of these functions take an incredibly long time, especially when dealing with large, high-resolution data. So here I present a workflow that will take seconds, rather than hours by creating a distance to river raster layer for the entire country of Pakistan as an example:


Read More
0 Comments

    Author

    Russell J. Gray

    Archives

    April 2021
    October 2020
    May 2020
    February 2020
    January 2020
    December 2019
    October 2019
    September 2019
    July 2019

    Categories

    All

    RSS Feed

    On Sale

    On Sale

    Fungi of Belize (ebook)

    $29.99 $9.99
    Shop
Powered by Create your own unique website with customizable templates.
  • Home
  • Services
  • About
  • Resources
  • Blog
  • Contact
  • R Courses