Class ImageryLayerDataset
- java.lang.Object
-
- com.vividsolutions.jump.workbench.imagery.ImageryLayerDataset
-
public class ImageryLayerDataset extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_ERRORstatic StringATTR_FACTORYstatic StringATTR_GEOMETRYstatic StringATTR_LOADERstatic StringATTR_TYPEstatic StringATTR_URIstatic StringOLD_ATTR_ERRORstatic StringOLD_ATTR_FACTORYstatic StringOLD_ATTR_FILEstatic StringOLD_ATTR_FORMATstatic StringOLD_ATTR_GEOMETRYstatic StringOLD_ATTR_TYPEstatic FeatureSchemaSCHEMA
-
Constructor Summary
Constructors Constructor Description ImageryLayerDataset()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachImage(Feature feature)static voidattachImage(Feature feature, ImageryLayerDataset ils)static ReferencedImageFactorycreateFeatureFactory(Feature feature)create a ReferencedImageFactory from the attributes of the given featurevoiddispose()static FeatureSchemagetSchema()static booleanisImageFeature(Feature f)static booleanisNewImageFeature(Feature f)static booleanisOldImageFeature(Feature f)ReferencedImagereferencedImage(Feature feature)static FeaturesaveFeatureError(Feature feature, Throwable t)static FeaturesaveFeatureImgAttribs(Feature feature, Feature imprint)copy img attributes from an imprint featurestatic FeaturesaveFeatureImgAttribs(Feature feature, ReferencedImageFactory imageFactory)set a features attributes saving the assigned ReferencedImageFactory
-
-
-
Field Detail
-
ATTR_GEOMETRY
public static final String ATTR_GEOMETRY
-
ATTR_URI
public static final String ATTR_URI
-
ATTR_FACTORY
public static final String ATTR_FACTORY
-
ATTR_ERROR
public static final String ATTR_ERROR
-
ATTR_TYPE
public static final String ATTR_TYPE
-
ATTR_LOADER
public static final String ATTR_LOADER
-
OLD_ATTR_GEOMETRY
public static final String OLD_ATTR_GEOMETRY
- See Also:
- Constant Field Values
-
OLD_ATTR_FILE
public static final String OLD_ATTR_FILE
- See Also:
- Constant Field Values
-
OLD_ATTR_FORMAT
public static final String OLD_ATTR_FORMAT
- See Also:
- Constant Field Values
-
OLD_ATTR_ERROR
public static final String OLD_ATTR_ERROR
- See Also:
- Constant Field Values
-
OLD_ATTR_TYPE
public static final String OLD_ATTR_TYPE
- See Also:
- Constant Field Values
-
OLD_ATTR_FACTORY
public static final String OLD_ATTR_FACTORY
- See Also:
- Constant Field Values
-
SCHEMA
public static FeatureSchema SCHEMA
-
-
Method Detail
-
getSchema
public static FeatureSchema getSchema()
-
referencedImage
public ReferencedImage referencedImage(Feature feature) throws Exception
- Throws:
Exception
-
attachImage
public static void attachImage(Feature feature, ImageryLayerDataset ils) throws Exception
- Throws:
Exception
-
dispose
public void dispose()
-
saveFeatureImgAttribs
public static Feature saveFeatureImgAttribs(Feature feature, ReferencedImageFactory imageFactory)
set a features attributes saving the assigned ReferencedImageFactory- Parameters:
feature- feature wrapping the ImageimageFactory- the ReferencedImageFactory- Returns:
- the feature with ATTR_LOADER attributes set to the image loader name
-
saveFeatureImgAttribs
public static Feature saveFeatureImgAttribs(Feature feature, Feature imprint)
copy img attributes from an imprint feature- Parameters:
feature- feature wrapping the Imageimprint-- Returns:
-
createFeatureFactory
public static ReferencedImageFactory createFeatureFactory(Feature feature) throws ClassNotFoundException, InstantiationException, IllegalAccessException
create a ReferencedImageFactory from the attributes of the given feature- Parameters:
feature-- Returns:
- a ReferencedImageFactory from the attributes of the given feature
- Throws:
ClassNotFoundExceptionInstantiationExceptionIllegalAccessException
-
isImageFeature
public static boolean isImageFeature(Feature f)
-
isNewImageFeature
public static boolean isNewImageFeature(Feature f)
-
isOldImageFeature
public static boolean isOldImageFeature(Feature f)
-
-