public class GeoTIFFMetadata extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GeoTIFFMetadata.KeyEntry |
static class |
GeoTIFFMetadata.TiePoint |
Modifier and Type | Field and Description |
---|---|
static String |
IIO_IMAGE_FORMAT_NAME |
static String |
IIO_METADATA_FORMAT_NAME |
static String |
IIO_TIFF_ASCII_ELEMENT_NAME |
static String |
IIO_TIFF_ASCIIS_ELEMENT_NAME |
static String |
IIO_TIFF_DOUBLE_ELEMENT_NAME |
static String |
IIO_TIFF_DOUBLES_ELEMENT_NAME |
static String |
IIO_TIFF_FIELD_ELEMENT_NAME |
static String |
IIO_TIFF_IFD_ELEMENT_NAME |
static String |
IIO_TIFF_NAME_ATT_NAME |
static String |
IIO_TIFF_NUMBER_ATT_NAME |
static String |
IIO_TIFF_ROOT_ELEMENT_NAME |
static String |
IIO_TIFF_SHORT_ELEMENT_NAME |
static String |
IIO_TIFF_SHORTS_ELEMENT_NAME |
static String |
IIO_TIFF_TAGSETS_ATT_NAME |
static String |
IIO_TIFF_VALUE_ATT_NAME |
Constructor and Description |
---|
GeoTIFFMetadata() |
GeoTIFFMetadata(int geoTIFFVersion,
int keyRevisionMajor,
int keyRevisionMinor) |
Modifier and Type | Method and Description |
---|---|
void |
addGeoAscii(int keyID,
String value) |
void |
addGeoDoubleParam(int keyID,
double value) |
void |
addGeoDoubleParams(int keyID,
double[] values) |
void |
addGeoShortParam(int keyID,
int value) |
void |
addModelTiePoint(double i,
double j,
double x,
double y) |
void |
addModelTiePoint(double i,
double j,
double k,
double x,
double y,
double z) |
void |
assignTo(org.jdom.Element element,
String metadataFormatName,
String classNameList) |
org.jdom.Element |
createRootTree(String classNameList) |
void |
dump() |
void |
dump(PrintWriter out) |
String |
getAsXML() |
String |
getGeoAsciiParam(int keyID) |
String |
getGeoAsciiParams() |
protected static com.sun.media.imageio.plugins.tiff.TIFFTag |
getGeoAsciiParamsTag() |
double |
getGeoDoubleParam(int keyID) |
double[] |
getGeoDoubleParams() |
double[] |
getGeoDoubleParams(int keyID) |
double[] |
getGeoDoubleParams(int keyID,
double[] values) |
protected static com.sun.media.imageio.plugins.tiff.TIFFTag |
getGeoDoubleParamsTag() |
protected static com.sun.media.imageio.plugins.tiff.TIFFTag |
getGeoKeyDirectoryTag() |
GeoTIFFMetadata.KeyEntry[] |
getGeoKeyEntries() |
GeoTIFFMetadata.KeyEntry |
getGeoKeyEntry(int keyID) |
GeoTIFFMetadata.KeyEntry |
getGeoKeyEntryAt(int index) |
int |
getGeoShortParam(int keyID) |
int |
getGeoTIFFVersion() |
int |
getKeyRevisionMajor() |
int |
getKeyRevisionMinor() |
double[] |
getModelPixelScale() |
protected static com.sun.media.imageio.plugins.tiff.TIFFTag |
getModelPixelScaleTag() |
double |
getModelPixelScaleX() |
double |
getModelPixelScaleY() |
double |
getModelPixelScaleZ() |
GeoTIFFMetadata.TiePoint |
getModelTiePoint() |
GeoTIFFMetadata.TiePoint |
getModelTiePointAt(int index) |
protected static com.sun.media.imageio.plugins.tiff.TIFFTag |
getModelTiePointTag() |
double[] |
getModelTransformation() |
protected static com.sun.media.imageio.plugins.tiff.TIFFTag |
getModelTransformationTag() |
int |
getNumGeoKeyEntries() |
int |
getNumModelTiePoints() |
boolean |
hasGeoKeyEntry(int keyID) |
static boolean |
isTiffUShort(int value) |
void |
setGeoTIFFVersion(int version) |
void |
setKeyRevision(int major,
int minor) |
void |
setModelPixelScale(double x,
double y) |
void |
setModelPixelScale(double x,
double y,
double z) |
void |
setModelTiePoint(double i,
double j,
double x,
double y) |
void |
setModelTiePoint(double i,
double j,
double k,
double x,
double y,
double z) |
void |
setModelTransformation(double[] matrix) |
public static final String IIO_METADATA_FORMAT_NAME
public static final String IIO_TIFF_ROOT_ELEMENT_NAME
public static final String IIO_TIFF_IFD_ELEMENT_NAME
public static final String IIO_TIFF_FIELD_ELEMENT_NAME
public static final String IIO_TIFF_SHORT_ELEMENT_NAME
public static final String IIO_TIFF_SHORTS_ELEMENT_NAME
public static final String IIO_TIFF_DOUBLE_ELEMENT_NAME
public static final String IIO_TIFF_DOUBLES_ELEMENT_NAME
public static final String IIO_TIFF_ASCII_ELEMENT_NAME
public static final String IIO_TIFF_ASCIIS_ELEMENT_NAME
public static final String IIO_TIFF_TAGSETS_ATT_NAME
public static final String IIO_TIFF_NUMBER_ATT_NAME
public static final String IIO_TIFF_NAME_ATT_NAME
public static final String IIO_TIFF_VALUE_ATT_NAME
public static final String IIO_IMAGE_FORMAT_NAME
public GeoTIFFMetadata()
public GeoTIFFMetadata(int geoTIFFVersion, int keyRevisionMajor, int keyRevisionMinor)
public static boolean isTiffUShort(int value)
public int getGeoTIFFVersion()
public void setGeoTIFFVersion(int version)
public int getKeyRevisionMajor()
public int getKeyRevisionMinor()
public void setKeyRevision(int major, int minor)
public double getModelPixelScaleX()
public double getModelPixelScaleY()
public double getModelPixelScaleZ()
public void setModelPixelScale(double x, double y)
public void setModelPixelScale(double x, double y, double z)
public double[] getModelPixelScale()
public void setModelTransformation(double[] matrix)
public double[] getModelTransformation()
public int getNumModelTiePoints()
public GeoTIFFMetadata.TiePoint getModelTiePoint()
public GeoTIFFMetadata.TiePoint getModelTiePointAt(int index)
public void setModelTiePoint(double i, double j, double x, double y)
public void setModelTiePoint(double i, double j, double k, double x, double y, double z)
public void addModelTiePoint(double i, double j, double x, double y)
public void addModelTiePoint(double i, double j, double k, double x, double y, double z)
public int getNumGeoKeyEntries()
public GeoTIFFMetadata.KeyEntry getGeoKeyEntryAt(int index)
public GeoTIFFMetadata.KeyEntry[] getGeoKeyEntries()
public GeoTIFFMetadata.KeyEntry getGeoKeyEntry(int keyID)
public boolean hasGeoKeyEntry(int keyID)
public int getGeoShortParam(int keyID)
public double[] getGeoDoubleParams()
public double getGeoDoubleParam(int keyID)
public double[] getGeoDoubleParams(int keyID)
public double[] getGeoDoubleParams(int keyID, double[] values)
public String getGeoAsciiParams()
public String getGeoAsciiParam(int keyID)
public void addGeoShortParam(int keyID, int value)
public void addGeoDoubleParam(int keyID, double value)
public void addGeoDoubleParams(int keyID, double[] values)
public void addGeoAscii(int keyID, String value)
public void assignTo(org.jdom.Element element, String metadataFormatName, String classNameList)
public org.jdom.Element createRootTree(String classNameList)
public void dump()
public void dump(PrintWriter out)
public String getAsXML()
protected static com.sun.media.imageio.plugins.tiff.TIFFTag getGeoKeyDirectoryTag()
protected static com.sun.media.imageio.plugins.tiff.TIFFTag getGeoDoubleParamsTag()
protected static com.sun.media.imageio.plugins.tiff.TIFFTag getGeoAsciiParamsTag()
protected static com.sun.media.imageio.plugins.tiff.TIFFTag getModelPixelScaleTag()
protected static com.sun.media.imageio.plugins.tiff.TIFFTag getModelTiePointTag()
protected static com.sun.media.imageio.plugins.tiff.TIFFTag getModelTransformationTag()
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.