public class TLcdGDFDefaultFeatureThemeMap extends Object implements ILcdGDFFeatureThemeMap
ILcdGDFFeatureThemeMap
.
Features are mapped to themes based on their GDF feature class code,
as specified in the GDF documentation.
Feature Class Code Range | Feature Theme |
---|---|
1100 - 1200 |
|
3100 - 3200 |
|
4100 - 4200 |
|
4200 - 4300 |
|
4300 - 4400 |
|
4900 - 5000 |
|
5000 - 5100 |
|
7100 - 7200 |
|
7200 - 7300 |
|
7300 - 7400 |
|
7500 - 7600 |
|
8000 - 8100 |
|
all other ranges |
|
Modifier and Type | Field and Description |
---|---|
static TLcdGDFFeatureTheme |
USER_DEFINED_FEATURES
Feature theme that contains all user defined features, i.e. all features that are not
in the predefined feature list.
|
Constructor and Description |
---|
TLcdGDFDefaultFeatureThemeMap() |
Modifier and Type | Method and Description |
---|---|
TLcdGDFFeatureTheme |
getFeatureTheme(int aIndex)
Returns the feature theme at the given index.
|
TLcdGDFFeatureTheme |
getFeatureTheme(TLcdGDFFeatureClass aFeatureClass)
Returns the feature theme to which the given feature belongs.
|
int |
getFeatureThemeCount()
Returns the number of feature themes present in this map.
|
public static final TLcdGDFFeatureTheme USER_DEFINED_FEATURES
public TLcdGDFFeatureTheme getFeatureTheme(int aIndex)
ILcdGDFFeatureThemeMap
getFeatureTheme
in interface ILcdGDFFeatureThemeMap
aIndex
- the index of the feature theme to be returned.public int getFeatureThemeCount()
ILcdGDFFeatureThemeMap
getFeatureThemeCount
in interface ILcdGDFFeatureThemeMap
public TLcdGDFFeatureTheme getFeatureTheme(TLcdGDFFeatureClass aFeatureClass)
ILcdGDFFeatureThemeMap
getFeatureTheme
in interface ILcdGDFFeatureThemeMap
aFeatureClass
- the feature class whose feature theme is to be
returned.