CalculateSpatialAttributes

Titleā€ƒ CalculateSpatialAttributes

Summary

Calculates spatial attributes for the specified features.


Usage

Syntax

Parameter Explanation
managed_layer

The managed layer in which the features exist. Allowable values are: ManagedArea, Site, SourceFeaturePolygon, SourceFeatureLine, SourceFeaturePoint, and EoRep.

feature_ids

The feature IDs to process.

calculations

An array of the calculations to perform, defined in a JSON structure of the form [{"name": "County", "layer: "COUNTY", "calculation":"Intersect","distance":null,"fields":["D_COUNTY_ID", "countycode"],"join":{"joinField":"COUNTY_CD","joinTable":"D_COUNTY_VW","sourceField":"countycode}}]

Allowable values for calculation are: Intersect, Dominant, IsContainedIn, IsCenterContainedIn, IsWithin, Acres, Hectares, Area, Centroid, or Length.

Code Samples

Tags

biotics

Credits

Use limitations