Maptitude GISDK Help |
Returns the length of the feature in current map units.
Added to Version 2018.
area = GetFeatureLength(integer area_id)
Argument |
Contents |
line_id |
The ID of the line feature |
A real number with the length of the feature in current map units.
GetFeatureLength() works only when the current layer is a line layer.
rh = GetFirstRecord(,)
id = rh2id(rh)
length = GetFeatureLength(id)
ShowMessage("Line ID=" + rh + " is " + r2s(length ) + " " + GetMapUnits())
Function |
Summary |
Gets the coordinates that describe an area feature |
|
Computes the area of a closed polygon |
|
Returns the area of the feature in current map units |
©2025 Caliper Corporation | www.caliper.com |