Hexagon Geospatial
MENU

Shared Samples

GeoMedia, a comprehensive and dynamic GIS, extracts compelling intelligence from geospatial data and integrates it to present actionable information. Please note a HGDN subscription is required to download code samples
Showing results for 
Search instead for 
Do you mean 

AREA Example (Functional Attributes)

by Technical Evangelist ‎07-18-2017 01:17 AM - edited ‎07-18-2017 01:30 AM (318 Views)

Code Example

 

Format: AREA(Geometry,MeasType,AreaUnit)

AREA is used to calculate the area of an area and valid area compound geometries.

This example calculates the number of acres of the feature where Geometry1 is the name of the geometry column.

AREA(Input.Geometry1,TrueMeas,Acre)

Note: MeasType and AreaUnit can be selected from the category Constants. The MeasType is always either TrueMeas or ProjectedMeas.

Comments
by Dd
‎10-28-2018 07:52 PM - edited ‎10-28-2018 08:08 PM

AREA(Input.Geometry1,TrueMeas,Acre)

 

Can anybody provide example value for Input.Geometry1? And how to use it in POrtal SDK?

Overview
Contributors