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
public class GeometryDescriptor extends AbstractPlacemarkDescriptor
APlacemarkDescriptorthat 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 Constructor Description GeometryDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.opengis.feature.simple.SimpleFeatureTypegetBaseFeatureType()Gets the feature type that provides the minimum set of attributes required for this placemark descriptor.DecodeQualificationgetCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType)Gets the compatibility for the givenfeatureTypewith respect to the placemarks created by this descriptor.StringgetRoleLabel()Deprecated.StringgetRoleName()Deprecated.-
Methods inherited from class org.esa.snap.core.datamodel.AbstractPlacemarkDescriptor
createPlacemark, getCursorHotSpot, getCursorImage, getPlacemarkGroup, getShowLayerCommandId, setUserDataOf, updateGeoPos, updatePixelPos
-
-
-
-
Method Detail
-
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 public String getRoleName()
Deprecated.
-
getRoleLabel
@Deprecated public String getRoleLabel()
Deprecated.
-
-