Package org.esa.snap.core.datamodel
Class GeometryDescriptor
java.lang.Object
org.esa.snap.core.datamodel.AbstractPlacemarkDescriptor
org.esa.snap.core.datamodel.GeometryDescriptor
- All Implemented Interfaces:
PlacemarkDescriptor
A
PlacemarkDescriptor that is used to create placemarks that
are actually plain geometries.- Since:
- BEAM 4.10
-
Field Summary
Fields inherited from class org.esa.snap.core.datamodel.AbstractPlacemarkDescriptor
PROPERTY_NAME_DEFAULT_GEOMETRY, PROPERTY_NAME_PLACEMARK_DESCRIPTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.feature.simple.SimpleFeatureTypeGets the feature type that provides the minimum set of attributes required for this placemark descriptor.getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType) Gets the compatibility for the givenfeatureTypewith respect to the placemarks created by this descriptor.Deprecated.Deprecated.Methods inherited from class org.esa.snap.core.datamodel.AbstractPlacemarkDescriptor
createPlacemark, getCursorHotSpot, getCursorImage, getPlacemarkGroup, getShowLayerCommandId, setUserDataOf, updateGeoPos, updatePixelPos
-
Constructor Details
-
GeometryDescriptor
public GeometryDescriptor()
-
-
Method Details
-
getCompatibilityFor
public DecodeQualification getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType) Description copied from interface:PlacemarkDescriptorGets the compatibility for the givenfeatureTypewith respect to the placemarks created by this descriptor.The method shall only return
DecodeQualification.INTENDED, if the descriptor was designed for interpreting the given feature type, e.g. by inspecting thefeatureType's user data which may be set byPlacemarkDescriptor.setUserDataOf(org.opengis.feature.simple.SimpleFeatureType).The method may return
DecodeQualification.SUITABLE, if thePlacemarkDescriptor.createPlacemark(org.opengis.feature.simple.SimpleFeature)method can successfully create a new placemark from a feature having the compatiblefeatureType.- Specified by:
getCompatibilityForin interfacePlacemarkDescriptor- Overrides:
getCompatibilityForin classAbstractPlacemarkDescriptor- Parameters:
featureType- The feature type to be tested.- Returns:
true, if thefeatureTypeis compatible.
-
getBaseFeatureType
public org.opengis.feature.simple.SimpleFeatureType getBaseFeatureType()Description copied from interface:PlacemarkDescriptorGets the feature type that provides the minimum set of attributes required for this placemark descriptor.- Returns:
- The base feature type.
-
getRoleName
Deprecated. -
getRoleLabel
Deprecated.
-