xy2FIApoly | R Documentation |
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.
xy2FIApoly(idxy, names = c(plot = "plot", x = "x", y = "y"), create_polys = T)
idxy |
dataframe with id, x, y columns available |
names |
link dataframe columns to variable names used by funciton |
create_polys |
TRUE / FALSE |
<Delete and Replace>
Revision History
1.0 | date and revisions.. |
<Delete and Replace>
Jacob Strunk <Jstrunk@fs.fed.us>
bbox2polys
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.