Feature#

class caris.Feature#

The feature.

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.

property attributes#

The metadata of this Feature

Type:

AttributeDictionary

property crs#

The coordinate reference system of the Feature

Type:

CoordinateReferenceSystem

property dataset#

The Dataset containing this Feature

Type:

Dataset

property definition#

The definition of the Feature

Type:

FeatureDefinition

property geometry#

The geometry of the Feature

Type:

Geometry

property related_features#

A list of related features

Type:

list of Feature