Returns the area of a given GeoPolygon attribute or variable.
GeoPolygonAttOrVar.Area()
Where:
GeoPolygonAttOrVar
Must be an attribute or variable based on the GeoPolygon data type.
Type Returned:
Numeric
Generators: Apple, Android
Level: Attribute, Variable (GeoPolygon data type)
Returns the area of a polygon in square meters (m2).
The calculation is solved in the language of the current environment or in the database management system (DBMS), for example, by invoking it from the Where clause of a For Each command.
&zonePlace.FromWkt('POLYGON((-122.358 47.653 , -122.348 47.649, -122.348 47.658, -122.358 47.658, -122.358 47.653))')
&areavalue = &zonePlace.Area()
The &zonePlace variable (based on the GeoPolygon data type) is initialized with a polygon, from a WKT (or a GeoJSON).
When applying the Area method to the &zonePlace variable, its numerical value in square meters is returned (and assigned to the &areavalue Numeric variable).
FromWkt method