latlongfromraster | R Documentation |
latlongfromraster
is used to calculate the latitude and longitude of
the centre of a raster object.
latlongfromraster(r)
r |
a SpatRaster object with the coordinate reference system defined by |
a data.frame with the latitude and longitude of the centre of the raster
latlongfromraster(rast(dtm1m))
latlongfromraster(rast(dtm100m))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.