Class TmsDataSource

java.lang.Object
hec.map.tms.datasource.TmsDataSource

public class TmsDataSource extends Object
  • Constructor Details

    • TmsDataSource

      public TmsDataSource(File f)
  • Method Details

    • getValue

      public float[] getValue(double[] xvalues, double[] yvalues)
    • load

      public void load() throws IOException
      Throws:
      IOException
    • unload

      public void unload()
    • getNumberOfLevels

      public int getNumberOfLevels()
    • getExtents

      public WorldRect getExtents()
    • getCellSize

      public int getCellSize()
    • getNoDataValue

      public float getNoDataValue()
    • getImage

      public TmsImage getImage(double zoom, WorldRect worldRect, TmsGlyphDataRecord gdr)
      given the zoom level figure out which level to get the image for.
      Parameters:
      zoom -
      worldRect -
      Returns:
    • getCurrentLevelExtents

      public WorldRect getCurrentLevelExtents()
    • getMinElevation

      public double getMinElevation()
      Returns:
    • getMaxElevation

      public double getMaxElevation()
      Returns:
    • clearImage

      public void clearImage()