Maptitude GISDK Help |
Gets the coordinates that describe an area feature.
a = GetArea(integer id)
Argument |
Contents |
id |
The ID of the area feature |
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 |
The current layer must be an area layer.
The first coordinate of each polygon is repeated at the end of the polygon.
Function |
Summary |
Adds an area feature to an area layer |
|
Deletes an area feature from an area layer |
|
Returns the area of the feature in current map units |
|
Gets the coordinates that describe the location of a line feature |
|
Gets the number of polygons in an area feature |
|
Gets the location of a point feature with a specified ID |
©2025 Caliper Corporation | www.caliper.com |