public class GeometryDescriptor extends AbstractPlacemarkDescriptor
PlacemarkDescriptor that is used to create placemarks that
are actually plain geometries.PROPERTY_NAME_DEFAULT_GEOMETRY, PROPERTY_NAME_PLACEMARK_DESCRIPTOR| Constructor and Description |
|---|
GeometryDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
org.opengis.feature.simple.SimpleFeatureType |
getBaseFeatureType()
Gets the feature type that provides the minimum set of attributes
required for this placemark descriptor.
|
DecodeQualification |
getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType)
Gets the compatibility for the given
featureType with respect to the placemarks created by this descriptor. |
String |
getRoleLabel()
Deprecated.
|
String |
getRoleName()
Deprecated.
|
createPlacemark, getCursorHotSpot, getCursorImage, getPlacemarkGroup, getShowLayerCommandId, setUserDataOf, updateGeoPos, updatePixelPospublic DecodeQualification getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType)
PlacemarkDescriptorfeatureType with 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 the featureType's
user data which may be set by
PlacemarkDescriptor.setUserDataOf(org.opengis.feature.simple.SimpleFeatureType).
The method may return DecodeQualification.SUITABLE, if the
PlacemarkDescriptor.createPlacemark(org.opengis.feature.simple.SimpleFeature)
method can successfully create a new placemark from a feature having the compatible featureType.
getCompatibilityFor in interface PlacemarkDescriptorgetCompatibilityFor in class AbstractPlacemarkDescriptorfeatureType - The feature type to be tested.true, if the featureType is compatible.public org.opengis.feature.simple.SimpleFeatureType getBaseFeatureType()
PlacemarkDescriptor@Deprecated public String getRoleName()
@Deprecated public String getRoleLabel()
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.