| 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 |
|---|---|
| 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 |