latlongfromraster: Derives latitude and longitude of centre of raster object

latlongfromrasterR Documentation

Derives latitude and longitude of centre of raster object

Description

latlongfromraster is used to calculate the latitude and longitude of the centre of a raster object.

Usage

latlongfromraster(r)

Arguments

r

a raster object with the coordinate reference system defined by crs()

Value

a data.frame with the latitude and longitude of the centre of the raster

Examples

latlongfromraster(dtm1m)
latlongfromraster(dtm100m)

ilyamaclean/microclima documentation built on Oct. 31, 2023, 11:41 p.m.