write_geo_tiff: Functions to export raster objects.

View source: R/write_geo_tiff.R

write_geo_tiffR Documentation

Functions to export raster objects.

Description

Functions to export raster objects.

Usage

write_geo_tiff(ra, file)

write_esri_grid_ascii(ra, file, projection_file = FALSE)

Arguments

ra

Raster object to export.

file

File to export raster object too.

projection_file

Should the projection string also be written?

Value

Invisible, raster object.

Author(s)

Stuart K. Grange

Examples

## Not run: 

# Export raster object as geo tiff 
write_geo_tiff(raster_temperature, "temperature_raster_object.tif")

# Or text file
write_esri_grid_ascii(raster_temperature, "temperature_raster_object.grd")


## End(Not run)


skgrange/gissr documentation built on Feb. 24, 2024, 2:55 p.m.