Class TPKBundle

Object
TPKBundle

public class TPKBundle extends Object
A zoom level consists of 1 or more bundles A bundle is physically always 128 columns by 128 rows but may be "logically" smaller (ie it doesn't necessarily have data for each row/column)
  • Field Details

    • bundleData

      public TPKBundle.SequentialInputFile bundleData
    • bundleIndx

      public TPKBundle.SequentialInputFile bundleIndx
    • baseRow

      public long baseRow
    • baseColumn

      public long baseColumn
    • minRow

      public long minRow
    • maxRow

      public long maxRow
    • minColumn

      public long minColumn
    • maxColumn

      public long maxColumn
  • Constructor Details

  • Method Details

    • releaseResources

      public void releaseResources()
    • inBundle

      public boolean inBundle(long column, long row)
      Predicate function to determine if the column,row coordinates are contained in the "coverage" of this bundle
      Parameters:
      column - -- column number
      row - -- row number
      Returns:
      -- true if tile at column,row is in this bundle otherwise false