raster_to_IGM: Creates an input geometry (IGM) file from a raster

Description Usage Arguments Details Author(s) See Also Examples

View source: R/raster_to_IGM.R

Description

Creates an input geometry (IGM) file from a raster

Usage

1

Arguments

x

Raster* The raster containing the geographic information to be used as the basis for the IGM.

Details

This function produces a two-band brick where the pixel values for the first band are the geographic x-coordinates, and the pixel values for the second band are the geographic y-coordinates of the corresponding pixels in the input Raster* file.

Author(s)

Jonathan A. Greenberg

See Also

xyFromCell, cellFromRow

Examples

1
2
3
4
5
6
library("raster")
tahoe_lidar_highesthit <- 
	raster(system.file("external/tahoe_lidar_highesthit.tif", package="spatial.tools"))
tahoe_lidar_highesthit_igm <- raster_to_IGM(tahoe_lidar_highesthit)
plot(tahoe_lidar_highesthit_igm)
setMinMax(tahoe_lidar_highesthit_igm)

gearslaboratory/spatial.tools documentation built on Feb. 14, 2020, 12:36 a.m.