Description Usage Arguments Details Value See Also Examples

Computes the sky view factor (fraction of sky not obstructed by terrain within a hemisphere), within a maximum search distance, for each pixel in a digital elevation model raster object.

1 2 |

`x` |
RasterLayer object |

`nAngles` |
integer. Discrete number of angles used to calculate sky view factor. |

`maxDist` |
integer. Maximum search distance in meters. |

`ll` |
logical. If TRUE, coordinates should be in degrees; else planar. |

`filename` |
character. Output raster filename. Optional. |

`blockSize` |
integer>0. Number of raster rows processed simultaneously. Default is the number of rows in the input raster divided by 10. |

`verbose` |
logical. If TRUE, progress messages are displayed. |

The sky view factor is estimated by calculating and averaging the horizon elevation angle and sky view factor for a discrete number of azimuth angles. Increasing this discreet number of angles 'nAngles' will provide a better estimate of the actual sky view factor, at the expense of longer processing time.

The 'maxDist' parameter determines the maximum search radius for determining the horizon angle. Increasing the value of 'maxDist' will provide a better estimate of the actual sky view factor, at the expense of longer processing time.

The 'blockSize' parameter may be reduced to avoid memory errors when processing large input RasterLayer objects.

RasterLayer object. Values between 0 and 1.

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.