Description Usage Arguments Value Examples
area_calc
Generates lines and polygons for area calculation of nonlinear plots.
1 2 |
data_in |
Data.frame with bearings and distances. See |
faixa_dist |
Distances to calculate area. |
faixa_lado |
Distances to calculate area, seperately to the left and right of the central line |
area_epsg |
EPSG for projection. This gives coordinate reference system used when calculating area. |
List of data and spatial (lines and polygons).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
# Example with required data format
data(br319)
dados_in <- br319
# Generate lines and polygons for specified widths
list_res <- parcelareadev::area_calc(
data_in = dados_in,
faixa_dist = c(0.5, 1, 3,12, 10, 20, 21, 22),
faixa_lado = c(0.5, 1, 3,12, 10, 20, 21, 22),
area_epsg = 3395)
# Calculate area and export results
df.resumo <- parcelareadev::area_results(results_list = list_res,
make_shape = FALSE)
# Now shift central line to geographic coordinates
# and export as shapefiles and KML for visualization and checking
data("br319coords")
pc <- br319coords
parcelareadev::exp_results(results_list = list_res,
pcoords = pc, exp_KML = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.