public class DefaultImageDatum extends AbstractDatum implements ImageDatum
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORSINGLE_LINEANCHOR_POINT_KEY, DOMAIN_OF_VALIDITY_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEYALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Constructor and Description |
|---|
DefaultImageDatum(ImageDatum datum)
Constructs a new datum with the same values than the specified one.
|
DefaultImageDatum(Map<String,?> properties,
PixelInCell pixelInCell)
Constructs an image datum from a set of properties.
|
DefaultImageDatum(String name,
PixelInCell pixelInCell)
Constructs an image datum from a name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compare this datum with the specified object for equality.
|
protected String |
formatWKT(Formatter formatter)
Format the inner part of a Well
Known Text (WKT) element.
|
PixelInCell |
getPixelInCell()
Specification of the way the image grid is associated with the image data attributes.
|
int |
hashCode()
Returns a hash value for this image datum.
|
getAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScope, getValidAreaasSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatchescleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTgetAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScopegetAlias, getIdentifiers, getName, getRemarks, toWKTpublic DefaultImageDatum(ImageDatum datum)
datum - The datum to copy.public DefaultImageDatum(String name, PixelInCell pixelInCell)
name - The datum name.pixelInCell - the way the image grid is associated with the image data attributes.public DefaultImageDatum(Map<String,?> properties, PixelInCell pixelInCell)
properties - Set of properties. Should contains at least "name".pixelInCell - the way the image grid is associated with the image data attributes.public PixelInCell getPixelInCell()
getPixelInCell in interface ImageDatumpublic boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
equals in class AbstractDatumobject - The object to compare to this.compareMetadata - true for performing a strict comparaison, or false for
comparing only properties relevant to transformations.true if both objects are equal.public int hashCode()
equals(AbstractIdentifiedObject, false).hashCode in class AbstractIdentifiedObjectprotected String formatWKT(Formatter formatter)
Note: WKT of image datum is not yet part of OGC specification.
formatWKT in class AbstractDatumformatter - The formatter to use.Formattable.toWKT(),
Formattable.toString()Copyright © 1996–2019 Geotools. All rights reserved.