Maptitude GISDK Help

GetArea()

Summary

Gets the coordinates that describe an area feature.

 

Syntax

a = GetArea(integer id)

 

Argument Contents
id The ID of the area feature

 

Returns

A three-element array, as indicated below:

 

Element Type Contents
n_polygons Integer Number of polygons that describe the area
n_points Array The number of points in each polygon
coords Array The complete array of coordinates that define the area

 

Notes

See Also

Function Summary
AddArea() Adds an area feature to an area layer
DeleteArea() Deletes an area feature from an area layer
GetFeatureArea() Returns the area of the feature in current map units
GetLine() Gets the coordinates that describe the location of a line feature
GetNumberOfPolygons() Gets the number of polygons in an area feature
GetPoint() Gets the location of a point feature with a specified ID

 

 

©2025 Caliper Corporation www.caliper.com