Package mil.nga.geopackage.tiles.overlay
Class FeatureTableData
java.lang.Object
mil.nga.geopackage.tiles.overlay.FeatureTableData
Represents a collection of rows from a feature table
- Since:
 - 1.2.7
 
- 
Constructor Summary
ConstructorsConstructorDescriptionFeatureTableData(String name, long count) ConstructorFeatureTableData(String name, long count, List<FeatureRowData> rows) Constructor - 
Method Summary
Modifier and TypeMethodDescriptionlonggetCount()Get the row countgetName()Get the table namegetRows()Get the feature rowsBuild a JSON compatible objectjsonCompatible(boolean includePoints, boolean includeGeometries) Build a JSON compatible objectjsonCompatibleWithGeometries(boolean includeGeometries) Build a JSON compatible objectjsonCompatibleWithPoints(boolean includePoints) Build a JSON compatible object 
- 
Constructor Details
- 
FeatureTableData
Constructor- Parameters:
 name- table namecount- row count
 - 
FeatureTableData
Constructor- Parameters:
 name- table namecount- row countrows- feature rows
 
 - 
 - 
Method Details
- 
getName
Get the table name- Returns:
 - table name
 
 - 
getCount
public long getCount()Get the row count- Returns:
 - row count
 
 - 
getRows
Get the feature rows- Returns:
 - feature rows
 
 - 
jsonCompatible
Build a JSON compatible object- Returns:
 - JSON compatible object
 
 - 
jsonCompatibleWithPoints
Build a JSON compatible object- Parameters:
 includePoints- true to include point geometries, but no other geometry types- Returns:
 - JSON compatible object
 
 - 
jsonCompatibleWithGeometries
Build a JSON compatible object- Parameters:
 includeGeometries- true to include all geometries, false for no geometries- Returns:
 - JSON compatible object
 
 - 
jsonCompatible
Build a JSON compatible object- Parameters:
 includePoints- true to include point geometries, ignored if includeGeometries is trueincludeGeometries- true to include all geometry types- Returns:
 - JSON compatible object
 
 
 -