Description Usage Arguments Details See Also Examples
Calculates the area of an enclosed polyline.
1 | PolylineArea(polyline)
|
polyline |
an encoded polyline |
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.
encode_pl, decode_pl
1 2 3 4 5 6 7 | ## Not run:
sdt <- copy(sdt_melbourne)
sdt[, area := PolylineArea(polyline)]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.