xy2FIApoly: convert xy coordinates to fia plots

View source: R/xy2FIApoly.R

xy2FIApolyR Documentation

convert xy coordinates to fia plots

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

This program is free software but it is provided WITHOUT WARRANTY and with ABSOLUTELY NO GUARANTEE of fitness or functionality for any purpose; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Usage

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


   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/RSForInvt documentation built on April 18, 2022, 11:03 p.m.