Package org.geotools.tpk
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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
TPKBundle.SequentialInputFile
This object is used to manage the bundle data file and the bundle index file.
-
Field Summary
Fields Modifier and Type Field Description long
baseColumn
long
baseRow
TPKBundle.SequentialInputFile
bundleData
TPKBundle.SequentialInputFile
bundleIndx
long
maxColumn
long
maxRow
long
minColumn
long
minRow
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
inBundle(long column, long row)
Predicate function to determine if the column,row coordinates are contained in the "coverage" of this bundlevoid
releaseResources()
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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 numberrow
- -- row number- Returns:
- -- true if tile at column,row is in this bundle otherwise false
-
-