I am working with
ArcObjects SDK 10 for .NET. There is already a geospatial database at my disposal. So I am trying to map its spatial context to ArcObjects context.
We have objects like state, country, city, etc. Each object has one or more geometry definitions that are not necessarily the same type. For example, a state object for California contains the polygon for state shape and additionally a point for the state's center point (centroid).
After reading this article, what I understand is that a
FeatureLayer is a UI concept to display layers of
Features on ArcMap and
FeatureClasses are a way to group same geometry type
Features. In addition, there is a one-to-one mapping between a
FeatureLayer and a
So I have two questions:
- There is no way a
Featureswith different types, right?
- It is impossible for me to create one layer per my object on ArcMap, because my object has multiple geometry types. Is that right?
Then, how could I come up with a layer definition that lets me select and operate on same object at the same time (such as select cities, select countries)?