public final class AsciiGridsImageMetadata extends IIOMetadata
Modifier and Type | Class and Description |
---|---|
static class |
AsciiGridsImageMetadata.RasterSpaceType
Two available values to define raster space as defined in GeoTiff
specifications.
|
Modifier and Type | Field and Description |
---|---|
static String[] |
metadataFormatNames
the list of supported metadata format names.
|
static String |
nativeMetadataFormatName
the native metadata format name
|
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported
Constructor and Description |
---|
AsciiGridsImageMetadata()
Default constructor
|
AsciiGridsImageMetadata(AsciiGridRaster raster)
A constructor which uses an input
AsciiGridRaster to initialize
metadata fields |
AsciiGridsImageMetadata(int cols,
int rows,
double cellsizeX,
double cellsizeY,
double xll,
double yll,
boolean isCorner,
boolean grass,
double inNoData)
A special constructor which uses parameters provided by the client, to
set inner fields
|
Modifier and Type | Method and Description |
---|---|
Node |
getAsTree(String formatName)
returns the image metadata in a tree corresponding to the provided
formatName
|
IIOMetadataFormat |
getMetadataFormat(String formatName)
IIOMetadataFormat objects are meant to describe the structure of metadata
returned from the getAsTree method.
|
protected IIOMetadataNode |
getStandardChromaNode()
Standard tree node methods
|
protected IIOMetadataNode |
getStandardCompressionNode() |
boolean |
isReadOnly() |
void |
mergeTree(String formatName,
Node root) |
void |
reset() |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormatNames, getNativeMetadataFormatName, getStandardDataNode, getStandardDimensionNode, getStandardDocumentNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
public static final String nativeMetadataFormatName
public static final String[] metadataFormatNames
public AsciiGridsImageMetadata(AsciiGridRaster raster)
AsciiGridRaster
to initialize
metadata fieldsraster
- input AsciiGridRaster
used to retrieve properties to
set inner fieldspublic AsciiGridsImageMetadata()
public AsciiGridsImageMetadata(int cols, int rows, double cellsizeX, double cellsizeY, double xll, double yll, boolean isCorner, boolean grass, double inNoData)
cols
- the number of columnsrows
- the number of rowscellsizeX
- the x size of the grid cellcellsizeY
- the y size of the grid cellxll
- the xllCellCoordinate of the Bounding Boxyll
- the yllCellCoordinate of the Bounding BoxisCorner
- true if xll represents the xllCornergrass
- true if the Ascii grid is GrassinNoData
- the value associated to noData grid valuespublic Node getAsTree(String formatName)
getAsTree
in class IIOMetadata
formatName
- The format NameIllegalArgumentException
- if the formatName is not one of the supported format namespublic boolean isReadOnly()
isReadOnly
in class IIOMetadata
IIOMetadata.isReadOnly()
public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException
mergeTree
in class IIOMetadata
IIOInvalidTreeException
IIOMetadata.mergeTree(java.lang.String,
org.w3c.dom.Node)
public void reset()
reset
in class IIOMetadata
IIOMetadata.reset()
public IIOMetadataFormat getMetadataFormat(String formatName)
getMetadataFormat
in class IIOMetadata
formatName
- DOCUMENT ME!IllegalArgumentException
- DOCUMENT ME!protected IIOMetadataNode getStandardChromaNode()
getStandardChromaNode
in class IIOMetadata
protected IIOMetadataNode getStandardCompressionNode()
getStandardCompressionNode
in class IIOMetadata
Copyright © 2006–2015 GeoSolutions. All rights reserved.