Feature Object

The Feature object represents a feature reflecting spatial attributes of a map entity. The main property of a feature is its spatial category (see the "Feature spatial categories" table). A feature may be a point, polyline, polygon (with inner boundaries), image or text depending on its spatial category. Features are stored in map layers. To create a feature, use the GDBEngine::CreateFeature method. To access features, create a featureset (the Featureset object) by the Map::OpenFeatureset, Layer::OpenFeatureset, FeatureType::OpenFeatureset or Recordset::OpenFeatureset method. Further, you should move the current position to a required feature by positioning methods and get the feature by the Featureset::Feature property. This property is also used to add a feature to a featureset and to a corresponding map layer.