| java.lang.Object javax.imageio.metadata.IIOMetadataFormatImpl org.geotools.image.io.metadata.GeographicMetadataFormat
GeographicMetadataFormat | public class GeographicMetadataFormat extends IIOMetadataFormatImpl (Code) | | Describes the structure of
.
The following formatting rules apply:
since: 2.4 version: $Id: GeographicMetadataFormat.java 27583 2007-10-23 11:29:26Z desruisseaux $ author: Martin Desruisseaux |
Constructor Summary | |
protected | GeographicMetadataFormat(String rootName, int maximumDimensions, int maximumBands) Creates a metadata format of the given name. |
CRS_TYPES | final static List CRS_TYPES(Code) | | Enumeration of valid coordinate reference system types.
|
CS_TYPES | final static List CS_TYPES(Code) | | Enumeration of valid coordinate system types.
|
DIRECTIONS | final static List DIRECTIONS(Code) | | Enumeration of valid axis directions. We do not declare
String constants for them
since they are already available as
code list.
|
FORMAT_NAME | final public static String FORMAT_NAME(Code) | | The metadata format name.
|
GEOGRAPHIC_3D | final public static String GEOGRAPHIC_3D(Code) | | The geographic
type
with a vertical axis. This is often used together with a three-dimensional
coordinate system type.
If the coordinate reference system has no vertical axis, or has additional axis of
other kind than vertical (for example only a temporal axis), then the type should be
the plain
. This is because such CRS are usually constructed as
rather than a CRS
with a three-dimensional coordinate system.
To be strict, a 3D CRS should be allowed only if the vertical axis is of the kind
"height above the ellipsoid" (as opposed to "height above the geoid" for example),
otherwise we have a compound CRS. But many datafile don't make this distinction.
See Also: GeographicMetadataFormat.setCoordinateReferenceSystem |
GEOPHYSICS | final public static String GEOPHYSICS(Code) | | The geophysics
type.
Pixels in the
produced by
the image reader contain directly geophysics values like temperature or elevation.
Sample type is typically
float or
double and missing value, if any,
must be one of
.
|
PACKED | final public static String PACKED(Code) | | The packed
type.
Pixels in the
produced by
the image reader contain packed data, typically as
byte or
short integer type. Conversions to geophysics values are performed by the application of
a scale and offset. Some special values are typically used for missing values.
|
PIXEL_ORIENTATIONS | final static List PIXEL_ORIENTATIONS(Code) | | Enumeration of valid pixel orientation. We do not declare
String constants for them
since they are already available as
code list.
|
PROJECTED_3D | final public static String PROJECTED_3D(Code) | | The projected
type
with a vertical axis. This is often used together with a three-dimensional
coordinate system type.
If the coordinate reference system has no vertical axis, or has additional axis of
other kind than vertical (for example only a temporal axis), then the type should be
the plain
. This is because such CRS are usually constructed as
rather than a CRS
with a three-dimensional coordinate system.
To be strict, a 3D CRS should be allowed only if the vertical axis is of the kind
"height above the ellipsoid" (as opposed to "height above the geoid" for example),
otherwise we have a compound CRS. But many datafile don't make this distinction.
See Also: GeographicMetadataFormat.setCoordinateReferenceSystem |
SAMPLE_TYPES | final static List SAMPLE_TYPES(Code) | | Enumeration of valid sample dimention types.
|
GeographicMetadataFormat | protected GeographicMetadataFormat(String rootName, int maximumDimensions, int maximumBands)(Code) | | Creates a metadata format of the given name. Subclasses should invoke the various
GeographicMetadataFormat.addElement(String,String,int) addElement or
GeographicMetadataFormat.addAttribute addAttribute methods for adding new elements compared to the
.
Parameters: rootName - the name of the root element. Parameters: maximumDimensions - The maximum number of dimensions allowed for coordinate systems. Parameters: maximumBands - The maximum number of sample dimensions allowed for images. |
canNodeAppear | public boolean canNodeAppear(String elementName, ImageTypeSpecifier imageType)(Code) | | Returns
true if the element (and the subtree below it) is allowed to appear
in a metadata document for an image of the given type. The default implementation
always returns
true .
|
Fields inherited from javax.imageio.metadata.IIOMetadataFormatImpl | final public static String standardMetadataFormatName(Code)(Java Doc)
|
Methods inherited from javax.imageio.metadata.IIOMetadataFormatImpl | protected void addAttribute(String elementName, String attrName, int dataType, boolean required, String defaultValue)(Code)(Java Doc) protected void addAttribute(String elementName, String attrName, int dataType, boolean required, String defaultValue, List<String> enumeratedValues)(Code)(Java Doc) protected void addAttribute(String elementName, String attrName, int dataType, boolean required, String defaultValue, String minValue, String maxValue, boolean minInclusive, boolean maxInclusive)(Code)(Java Doc) protected void addAttribute(String elementName, String attrName, int dataType, boolean required, int listMinLength, int listMaxLength)(Code)(Java Doc) protected void addBooleanAttribute(String elementName, String attrName, boolean hasDefaultValue, boolean defaultValue)(Code)(Java Doc) protected void addChildElement(String elementName, String parentName)(Code)(Java Doc) protected void addElement(String elementName, String parentName, int childPolicy)(Code)(Java Doc) protected void addElement(String elementName, String parentName, int minChildren, int maxChildren)(Code)(Java Doc) protected void addObjectValue(String elementName, Class<T> classType, boolean required, T defaultValue)(Code)(Java Doc) protected void addObjectValue(String elementName, Class<T> classType, boolean required, T defaultValue, List<? extends T> enumeratedValues)(Code)(Java Doc) protected void addObjectValue(String elementName, Class<T> classType, T defaultValue, Comparable<? super T> minValue, Comparable<? super T> maxValue, boolean minInclusive, boolean maxInclusive)(Code)(Java Doc) protected void addObjectValue(String elementName, Class> classType, int arrayMinLength, int arrayMaxLength)(Code)(Java Doc) abstract public boolean canNodeAppear(String elementName, ImageTypeSpecifier imageType)(Code)(Java Doc) public int getAttributeDataType(String elementName, String attrName)(Code)(Java Doc) public String getAttributeDefaultValue(String elementName, String attrName)(Code)(Java Doc) public String getAttributeDescription(String elementName, String attrName, Locale locale)(Code)(Java Doc) public String[] getAttributeEnumerations(String elementName, String attrName)(Code)(Java Doc) public int getAttributeListMaxLength(String elementName, String attrName)(Code)(Java Doc) public int getAttributeListMinLength(String elementName, String attrName)(Code)(Java Doc) public String getAttributeMaxValue(String elementName, String attrName)(Code)(Java Doc) public String getAttributeMinValue(String elementName, String attrName)(Code)(Java Doc) public String[] getAttributeNames(String elementName)(Code)(Java Doc) public int getAttributeValueType(String elementName, String attrName)(Code)(Java Doc) public String[] getChildNames(String elementName)(Code)(Java Doc) public int getChildPolicy(String elementName)(Code)(Java Doc) public String getElementDescription(String elementName, Locale locale)(Code)(Java Doc) public int getElementMaxChildren(String elementName)(Code)(Java Doc) public int getElementMinChildren(String elementName)(Code)(Java Doc) public int getObjectArrayMaxLength(String elementName)(Code)(Java Doc) public int getObjectArrayMinLength(String elementName)(Code)(Java Doc) public Class> getObjectClass(String elementName)(Code)(Java Doc) public Object getObjectDefaultValue(String elementName)(Code)(Java Doc) public Object[] getObjectEnumerations(String elementName)(Code)(Java Doc) public Comparable> getObjectMaxValue(String elementName)(Code)(Java Doc) public Comparable> getObjectMinValue(String elementName)(Code)(Java Doc) public int getObjectValueType(String elementName)(Code)(Java Doc) protected String getResourceBaseName()(Code)(Java Doc) public String getRootName()(Code)(Java Doc) public static IIOMetadataFormat getStandardFormatInstance()(Code)(Java Doc) public boolean isAttributeRequired(String elementName, String attrName)(Code)(Java Doc) protected void removeAttribute(String elementName, String attrName)(Code)(Java Doc) protected void removeElement(String elementName)(Code)(Java Doc) protected void removeObjectValue(String elementName)(Code)(Java Doc) protected void setResourceBaseName(String resourceBaseName)(Code)(Java Doc)
|
|
|