getSpatial: Generic function to derive BEC, TSA and FIZ for given...

Description Usage Arguments Value Author(s)

View source: R/getSpatial.R

Description

This function is to derive BEC, TSA or FIZ based on an UTM location and BEC map.

Usage

1
2
3
getSpatial(pointID, zone, northing, easting, spatialAttribute = "all",
  mapPath = as.character(NA), mapName = as.character(NA),
  mapFormat = "gdb")

Arguments

pointID

character, Data point ID.

zone

integer, UTM zone.

northing

integer, UTM northing.

easting

integer, UTM easting.

spatialAttribute

character, specifies which spatial attribute to be obtained. Must be one of "BEC", "TSA" or "FIZ". The spatial attribute BEC and TSA are available at bec and tsa. Therefore, for these attributes, mapPath, mapName and mapFormat should not be specified. Since FIZ map is not available neither online nor from any R package. The below arguements must be specified.

mapPath

character, Path to map, must be specified when deriving FIZ.

mapName

character, Map name of fiz, must be specified when deriving FIZ.

mapFormat

character, Map format of fiz, either shp or gdb, must be specified when deriving FIZ.

Value

Depends on what spatial attribute a function derives. For BEC, a table that contains:

For TSA, a table that contains:

For FIZ, a table that contains:

Author(s)

Yong Luo


bcgov/BCForestGroundSample documentation built on May 25, 2019, 3:21 p.m.