Class GeoReferencedRaster

java.lang.Object
com.vividsolutions.jump.workbench.imagery.geotiff.GeoReferencedRaster
Direct Known Subclasses:
GeoTIFFRaster

public abstract class GeoReferencedRaster extends Object
  • Field Details

    • imageFileLocation

      protected String imageFileLocation
    • src

      protected javax.media.jai.RenderedOp src
  • Constructor Details

  • Method Details

    • fetchRaster

      protected void fetchRaster() throws Exception
      Basic fetchRasters retrieves a raster from a file. To get a raster from somewhere else, override this method in subclasses.
      Throws:
      Exception
    • createJAIRenderedOP

      protected void createJAIRenderedOP(URI uri) throws IOException
      Throws:
      IOException
    • readRasterfile

      protected void readRasterfile() throws Exception
      Throws:
      Exception
    • normalize

      protected void normalize(javax.media.jai.RenderedOp image)
      This method must be overridden if an image is not a square image in modelspace. It should be transformed to make it a square image in modelspace.
      Parameters:
      image - image to be normalized (squared)
    • getCoorModel_tiepointLT

      public org.locationtech.jts.geom.Coordinate getCoorModel_tiepointLT()
      Returns:
      coordinate of left-top corner in the model coordinate system
    • getCoorRasterTiff_tiepointLT

      public org.locationtech.jts.geom.Coordinate getCoorRasterTiff_tiepointLT()
      Returns:
      coordinate of left-top corner in the raster coordinate system
    • getDblModelUnitsPerRasterUnit_X

      public double getDblModelUnitsPerRasterUnit_X()
      Returns:
      number of model units per raster unit along X axis
    • getDblModelUnitsPerRasterUnit_Y

      public double getDblModelUnitsPerRasterUnit_Y()
      Returns:
      number of model units per raster unit along Y axis
    • getImage

      public javax.media.jai.RenderedOp getImage() throws Exception
      Throws:
      Exception
    • setCoorModel_tiepointLT

      public void setCoorModel_tiepointLT(org.locationtech.jts.geom.Coordinate coordinate)
      Parameters:
      coordinate - coordinate of a TiePoint to be set in the GeoTiff ModelTiepointTag
    • setCoorRasterTiff_tiepointLT

      public void setCoorRasterTiff_tiepointLT(org.locationtech.jts.geom.Coordinate coordinate)
      Parameters:
      coordinate - coordinate of a TiePoint to be set in the GeoTiff ModelTiepointTag
    • setDblModelUnitsPerRasterUnit_X

      public void setDblModelUnitsPerRasterUnit_X(double d)
      Parameters:
      d - x scale value (model unit / raster unit)
    • setDblModelUnitsPerRasterUnit_Y

      public void setDblModelUnitsPerRasterUnit_Y(double d)
      Parameters:
      d - y scale value (model unit / raster unit)
    • setAffineTransformation

      public void setAffineTransformation(AffineTransform transform)
    • fullContrast

      public javax.media.jai.RenderedOp fullContrast()
    • getEnvelope

      public org.locationtech.jts.geom.Envelope getEnvelope()
    • getMinimumExtreme

      public double[] getMinimumExtreme()
    • getMaximumExtreme

      public double[] getMaximumExtreme()