xy2FIApoly: convert xy coordinates to fia plots

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/xy2FIApoly.R

Description

supply fia plot centers, and have have Spatial Polygons Dataframe returned, where each record is an FIA plot footprint: 4 fixed area subplots of 24 foot radius, a central subplot and 3 peripheral subplots 120 feet from plot center at 0,120,240 degrees.

Ignores declination - assumes everything faces projected north

Usage

1
2
xy2FIApoly(idxy, names = c(plot = "plot", x = "x", y = "y"),
  create_polys = T)

Arguments

idxy

dataframe with id, x, y columns available

names

link dataframe columns to variable names used by funciton

create_polys

TRUE / FALSE

Details

<Delete and Replace>


Revision History

1.0 date and revisions..

Value

<Delete and Replace>

Author(s)

Jacob Strunk <Jstrunk@fs.fed.us>

See Also

bbox2polys

Examples

1
2
3
   res=xy2FIAplot(data.frame(plot=1:10, x=101:110*10000, y=101:110*10000),create_polys=T)
   spplot(res[1,],zcol=1,aspect=1,scales=list(draw=T),key.space=list(x=0.2,y=0.9,corner=c(0,1)))
   spplot(res)

jstrunk001/lasR documentation built on April 20, 2020, 7:24 a.m.