spatial_sync_vector: Matches a vector's projection to another vector or raster...

Description Usage Arguments Author(s) Examples

Description

Matches a vector's projection to another vector or raster object's projection.

Usage

1
spatial_sync_vector(unsynced, reference, verbose = TRUE)

Arguments

unsynced

The vector to be projected.

reference

A raster or vector object who's projection the unsynced will be matched to.

verbose

Logical. Verbose logging?

Author(s)

Jonathan A. Greenberg (spatial.tools@estarcion.net)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
tahoe_highrez_training_points_utm <- readOGR(
	dsn=system.file("external", package="spatial.tools"),
	layer="tahoe_highrez_training_points_utm")
print(projection(tahoe_highrez_training_points_utm))
tahoe_lidar_bareearth <-
	raster(system.file("external/tahoe_lidar_bareearth.tif", package="spatial.tools"))
print(projection(tahoe_lidar_bareearth))
tahoe_highrez_training_points_utm_synced <-
	spatial_sync_vector(tahoe_highrez_training_points_utm,tahoe_lidar_bareearth)
print(projection(tahoe_highrez_training_points_utm_synced))

azvoleff/spatial.tools documentation built on May 11, 2019, 5:18 p.m.