raster_to_GLT: Creates a geometry lookup (GLT) file from a raster

Description Usage Arguments Details Author(s) See Also Examples

View source: R/raster_to_GLT.R

Description

Creates a geometry lookup (GLT) file from a raster

Usage

1

Arguments

x

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

Details

This function produces a two-band brick where the pixel values for the first band are the column numbers, and the pixel values for the second band are the row numbers of the corresponding pixels in the input Raster* file.

Author(s)

Jonathan A. Greenberg

See Also

rowColFromCell, cellFromRow

Examples

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

azvoleff/spatial.tools documentation built on June 4, 2017, 12:08 a.m.