Class GeoTIFFMetadata

java.lang.Object
org.esa.snap.core.util.geotiff.GeoTIFFMetadata

public class GeoTIFFMetadata extends Object
  • Field Details

  • Constructor Details

    • GeoTIFFMetadata

      public GeoTIFFMetadata()
    • GeoTIFFMetadata

      public GeoTIFFMetadata(int geoTIFFVersion, int keyRevisionMajor, int keyRevisionMinor)
  • Method Details

    • isTiffUShort

      public static boolean isTiffUShort(int value)
    • getGeoKeyDirectoryTag

      protected static com.sun.media.imageio.plugins.tiff.TIFFTag getGeoKeyDirectoryTag()
    • getGeoDoubleParamsTag

      protected static com.sun.media.imageio.plugins.tiff.TIFFTag getGeoDoubleParamsTag()
    • getGeoAsciiParamsTag

      protected static com.sun.media.imageio.plugins.tiff.TIFFTag getGeoAsciiParamsTag()
    • getModelPixelScaleTag

      protected static com.sun.media.imageio.plugins.tiff.TIFFTag getModelPixelScaleTag()
    • getModelTiePointTag

      protected static com.sun.media.imageio.plugins.tiff.TIFFTag getModelTiePointTag()
    • getModelTransformationTag

      protected static com.sun.media.imageio.plugins.tiff.TIFFTag getModelTransformationTag()
    • getGeoTIFFVersion

      public int getGeoTIFFVersion()
    • setGeoTIFFVersion

      public void setGeoTIFFVersion(int version)
    • getKeyRevisionMajor

      public int getKeyRevisionMajor()
    • getKeyRevisionMinor

      public int getKeyRevisionMinor()
    • setKeyRevision

      public void setKeyRevision(int major, int minor)
    • getModelPixelScaleX

      public double getModelPixelScaleX()
    • getModelPixelScaleY

      public double getModelPixelScaleY()
    • getModelPixelScaleZ

      public double getModelPixelScaleZ()
    • setModelPixelScale

      public void setModelPixelScale(double x, double y)
    • setModelPixelScale

      public void setModelPixelScale(double x, double y, double z)
    • getModelPixelScale

      public double[] getModelPixelScale()
    • getModelTransformation

      public double[] getModelTransformation()
    • setModelTransformation

      public void setModelTransformation(double[] matrix)
    • getNumModelTiePoints

      public int getNumModelTiePoints()
    • getModelTiePoint

      public GeoTIFFMetadata.TiePoint getModelTiePoint()
    • getModelTiePointAt

      public GeoTIFFMetadata.TiePoint getModelTiePointAt(int index)
    • setModelTiePoint

      public void setModelTiePoint(double i, double j, double x, double y)
    • setModelTiePoint

      public void setModelTiePoint(double i, double j, double k, double x, double y, double z)
    • addModelTiePoint

      public void addModelTiePoint(double i, double j, double x, double y)
    • addModelTiePoint

      public void addModelTiePoint(double i, double j, double k, double x, double y, double z)
    • getNumGeoKeyEntries

      public int getNumGeoKeyEntries()
    • getGeoKeyEntryAt

      public GeoTIFFMetadata.KeyEntry getGeoKeyEntryAt(int index)
    • getGeoKeyEntries

      public GeoTIFFMetadata.KeyEntry[] getGeoKeyEntries()
    • getGeoKeyEntry

      public GeoTIFFMetadata.KeyEntry getGeoKeyEntry(int keyID)
    • hasGeoKeyEntry

      public boolean hasGeoKeyEntry(int keyID)
    • getGeoShortParam

      public int getGeoShortParam(int keyID)
    • getGeoDoubleParams

      public double[] getGeoDoubleParams()
    • getGeoDoubleParam

      public double getGeoDoubleParam(int keyID)
    • getGeoDoubleParams

      public double[] getGeoDoubleParams(int keyID)
    • getGeoDoubleParams

      public double[] getGeoDoubleParams(int keyID, double[] values)
    • getGeoAsciiParams

      public String getGeoAsciiParams()
    • getGeoAsciiParam

      public String getGeoAsciiParam(int keyID)
    • addGeoShortParam

      public void addGeoShortParam(int keyID, int value)
    • addGeoDoubleParam

      public void addGeoDoubleParam(int keyID, double value)
    • addGeoDoubleParams

      public void addGeoDoubleParams(int keyID, double[] values)
    • addGeoAscii

      public void addGeoAscii(int keyID, String value)
    • assignTo

      public void assignTo(org.jdom2.Element element, String metadataFormatName, String classNameList)
    • createRootTree

      public org.jdom2.Element createRootTree(String classNameList)
    • dump

      public void dump()
    • dump

      public void dump(PrintWriter out)