exp_results: exp_results

Description Usage Arguments Value Examples

Description

exp_results Exports central line shifted to geographic coordinates.

Usage

1
exp_results(results_list, pcoords, exp_KML = TRUE)

Arguments

results_list

List of results from area_calc.

pcoords

Data.frame, with geographic coordinates of plot start points.

exp_KML

Logical. Export as KML.

Value

Exports shapefiles and kml of central line shifted to geographic coordinates.

Examples

 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)

darrennorris/parcelareadev documentation built on May 14, 2019, 6:11 p.m.