In order to get polyline area and/or perimeter use render/calculate_polyline:
svc=render/calculate_polyline¶ms={"p":[ { "x":<double>, "y":<double> }, ... ], "flags":<uint>, "w":<uint>}
Param | Description |
---|---|
p | polyline points coordinates array |
x | longitude |
y | latitude |
flags | display flags: 0x1 - show area; 0x2 - show parameter; 0x3 - show both params |
w | line width, metres |
{ "area":<double>, /* area */ "perimeter":<double> /* perimeter */ }