Package com.luciad.format.gdf
Class TLcdGDFDefaultFeatureThemeMap
java.lang.Object
com.luciad.format.gdf.TLcdGDFDefaultFeatureThemeMap
- All Implemented Interfaces:
ILcdGDFFeatureThemeMap
Default implementation of 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 | TLcdGDFFeatureTheme.ADMINISTRATIVE_AREAS |
3100 - 3200 | TLcdGDFFeatureTheme.NAMED_AREAS |
4100 - 4200 | TLcdGDFFeatureTheme.ROADS_AND_FERRIES |
4200 - 4300 | TLcdGDFFeatureTheme.RAILWAYS |
4300 - 4400 | TLcdGDFFeatureTheme.WATERWAYS |
4900 - 5000 | TLcdGDFFeatureTheme.CHAINAGE_REFERENCING_FEATURES |
5000 - 5100 | TLcdGDFFeatureTheme.PUBLIC_TRANSPORT |
7100 - 7200 | TLcdGDFFeatureTheme.LAND_COVER_AND_USE |
7200 - 7300 | TLcdGDFFeatureTheme.ROAD_FURNITURE |
7300 - 7400 | TLcdGDFFeatureTheme.SERVICES |
7500 - 7600 | TLcdGDFFeatureTheme.STRUCTURES |
8000 - 8100 | TLcdGDFFeatureTheme.GENERAL_FEATURES |
all other ranges | USER_DEFINED_FEATURES |
- Since:
- 5.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdGDFFeatureTheme
Feature theme that contains all user defined features, i.e. all features that are not in the predefined feature list. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFeatureTheme
(int aIndex) Returns the feature theme at the given index.getFeatureTheme
(TLcdGDFFeatureClass aFeatureClass) Returns the feature theme to which the given feature belongs.int
Returns the number of feature themes present in this map.
-
Field Details
-
USER_DEFINED_FEATURES
Feature theme that contains all user defined features, i.e. all features that are not in the predefined feature list.
-
-
Constructor Details
-
TLcdGDFDefaultFeatureThemeMap
public TLcdGDFDefaultFeatureThemeMap()
-
-
Method Details
-
getFeatureTheme
Description copied from interface:ILcdGDFFeatureThemeMap
Returns the feature theme at the given index.- Specified by:
getFeatureTheme
in interfaceILcdGDFFeatureThemeMap
- Parameters:
aIndex
- the index of the feature theme to be returned.- Returns:
- the feature theme at the given index.
-
getFeatureThemeCount
public int getFeatureThemeCount()Description copied from interface:ILcdGDFFeatureThemeMap
Returns the number of feature themes present in this map.- Specified by:
getFeatureThemeCount
in interfaceILcdGDFFeatureThemeMap
- Returns:
- the number of feature themes present in this map.
-
getFeatureTheme
Description copied from interface:ILcdGDFFeatureThemeMap
Returns the feature theme to which the given feature belongs.- Specified by:
getFeatureTheme
in interfaceILcdGDFFeatureThemeMap
- Parameters:
aFeatureClass
- the feature class whose feature theme is to be returned.- Returns:
- the feature theme that corresponds to the given feature.
-