PolylineArea: Polyline Area

Description Usage Arguments Details See Also Examples

Description

Calculates the area of an enclosed polyline.

Usage

1
PolylineArea(polyline)

Arguments

polyline

an encoded polyline

Details

The area 'inside' the polyline is the surface that does not contain the south pole.

Units are the same as the radius squared. The radius is in metres, so the units are metres squared.

See Also

encode_pl, decode_pl

Examples

1
2
3
4
5
6
7
## Not run: 

sdt <- copy(sdt_melbourne)
sdt[, area := PolylineArea(polyline)]


## End(Not run)

SymbolixAU/spatialdatatable documentation built on May 6, 2019, 11:20 a.m.