Feature

class caris.Feature

The feature.

definition

FeatureDefinition – The definition of the Feature

geometry

Geometry – The geometry of the Feature

crs

CoordinateReferenceSystem – The coordinate reference system of the Feature

dataset

Dataset – The Dataset containing this Feature

attributes

AttributeDictionary – The metadata of this Feature

related_features

list of Feature – A list of related features

Adds a related Feature to this Feature’s relationships.

Parameters:feature (Feature) – The related feature to add.
delete((Feature)self) → None :

Deletes the feature.

Returns related features of the given feature code.

Parameters:feature_code (str) – The feature code of the related features
Returns:A list of features of the given code that are related.
Return type:list(Feature)

Removes a related Feature from this Feature's relationships.

Parameters:feature (Feature) – The related feature to remove.
restore((Feature)self) → None :

Restores the feature if it’s been deleted.