Maptitude GISDK Help

GetFeatureArea()

Summary

Returns the area of the feature in current map units.

 

Changes

Added to Version 2018.

 

Syntax

area = GetFeatureArea(integer area_id)

 

Argument

Contents

area_id

The ID of the area feature

 

Returns

A real number with the area of the feature in current map units.

 

Notes

 

Example

rh = GetFirstRecord(,)

id = rh2id(rh)

area = GetFeatureArea(id)

ShowMessage("Area ID=" + rh + " is " + r2s(area) + " Square " + GetMapUnits())

 

See Also

Function

Summary

GetArea()

Gets the coordinates that describe an area feature

GetFeatureLength()

Returns the length of the feature in current map units

GetPolygonArea()

Computes the area of a closed polygon

 

 

©2025 Caliper Corporation www.caliper.com