public interface PlacemarkDescriptor
Placemark
s.
New placemark descriptors can be added by using the Service Provider Interface
META-INF/services/PlacemarkDescriptor
.
Since this interface is likely to change, clients should not directly implement it.
Instead they should derive their implementation from AbstractPlacemarkDescriptor
.
Modifier and Type | Method and Description |
---|---|
Placemark |
createPlacemark(org.opengis.feature.simple.SimpleFeature feature)
Creates a new placemark by wrapping the given feature.
|
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. |
Point |
getCursorHotSpot()
Deprecated.
|
Image |
getCursorImage()
Deprecated.
|
PlacemarkGroup |
getPlacemarkGroup(Product product)
Deprecated.
|
String |
getRoleLabel()
Deprecated.
|
String |
getRoleName()
Deprecated.
|
String |
getShowLayerCommandId()
Deprecated.
|
void |
setUserDataOf(org.opengis.feature.simple.SimpleFeatureType compatibleFeatureType)
Asks the descriptor to set any application specific information in the feature type's user data.
|
GeoPos |
updateGeoPos(GeoCoding geoCoding,
PixelPos pixelPos,
GeoPos geoPos)
Deprecated.
|
PixelPos |
updatePixelPos(GeoCoding geoCoding,
GeoPos geoPos,
PixelPos pixelPos)
Deprecated.
|
Placemark createPlacemark(org.opengis.feature.simple.SimpleFeature feature)
feature
- The feature to be wrapped.void setUserDataOf(org.opengis.feature.simple.SimpleFeatureType compatibleFeatureType)
DecodeQualification.INTENDED
or
DecodeQualification.SUITABLE
by consulting the method getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType)
.
Implementors of this method may consider setting specific user data that allows getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType)
to return DecodeQualification.INTENDED
after e.g. data has been deserialized from a persistent data store.
compatibleFeatureType
- A compatible feature type whose user data may or may not be altered.DecodeQualification getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType)
featureType
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
setUserDataOf(org.opengis.feature.simple.SimpleFeatureType)
.
The method may return DecodeQualification.SUITABLE
, if the
createPlacemark(org.opengis.feature.simple.SimpleFeature)
method can successfully create a new placemark from a feature having the compatible featureType
.
featureType
- The feature type to be tested.true
, if the featureType
is compatible.org.opengis.feature.simple.SimpleFeatureType getBaseFeatureType()
@Deprecated String getRoleName()
@Deprecated String getRoleLabel()
@Deprecated PlacemarkGroup getPlacemarkGroup(Product product)
@Deprecated PixelPos updatePixelPos(GeoCoding geoCoding, GeoPos geoPos, PixelPos pixelPos)
@Deprecated GeoPos updateGeoPos(GeoCoding geoCoding, PixelPos pixelPos, GeoPos geoPos)
@Deprecated String getShowLayerCommandId()
@Deprecated Image getCursorImage()
@Deprecated Point getCursorHotSpot()
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.