Package org.geotools.tpk
Class TPKBundle
Object
TPKBundle
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 ClassesModifier and TypeClassDescriptionclass
This object is used to manage the bundle data file and the bundle index file. -
Field Summary
FieldsModifier and TypeFieldDescriptionlong
long
long
long
long
long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
inBundle
(long column, long row) Predicate function to determine if the column,row coordinates are contained in the "coverage" of this bundlevoid
-
Field Details
-
bundleData
-
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
-
TPKBundle
-
-
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 numberrow
- -- row number- Returns:
- -- true if tile at column,row is in this bundle otherwise false
-