A Feature Collection is a primary feature that does not contain a graphic element but instead serves as a container for multiple graphic components that represent a single feature.
To create Feature Collection:
1. Right-click the Features node and select Add > Primary Feature.
The Add Primary Feature dialog opens.
2. Type a name for the feature and select its geometry type and category.
3. Turn on Create Feature Collection
4. Click OK.
5. Expand the Features node and then expand the feature created.
6. Enter the feature information in the Feature Definition editor.
7. Click Apply to accept the changes.
A Collection Name refers to the name of the feature collection and is set for the root feature definition. Collection definitions are described as:
1. Root feature “Name”: River_Collection
2. Root feature “Collection Name”: River
3. Collection primary geometry sub-feature “Name”: River
4. Collection primary geometry sub-feature “Collection Name”: River_Component
Additional notes:
- The root collection name is used as the key to an index of collection feature definitions by collection name. The index is used by functions like xfmFeatureDef_createUsingFeatureOrCollectionName.
- Map relies on this convention to infer collection feature definitions from instance data when a schema defined feature definition is not available.
- Map Interoperability uses the collection name as the class name for ECInstances built from XFM collection feature instances.
- Typically, collection name is blank for non-collection feature/sub-feature definitions and non-collection primary geometry sub-feature definitions in collection definitions. If a Display Name is not set for a feature definition, then the Collection Name is used.
- The OpenCities Map XFM Programmers Reference Guide has a code example for creating feature definitions for a collection feature class. Refer to .../Documentation/xft.chm in the installation folder.
communities.bentley.com/.../0576.Feature-Collection-and-Collection-Name-Property.pdf