Package mil.nga.geopackage.tiles.overlay
Class FeatureRowData
java.lang.Object
mil.nga.geopackage.tiles.overlay.FeatureRowData
Represents the values of a single feature row
- Since:
- 1.2.7
-
Constructor Summary
ConstructorDescriptionFeatureRowData
(Map<String, Object> values) ConstructorFeatureRowData
(Map<String, Object> values, String geometryColumn) ConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionGet the geometryGet the geometry column nameGet the geometry dataGet the geometry envelopeGet the geometry typegetId()
Get the idGet the id column nameGet the valuesBuild 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
-
FeatureRowData
Constructor- Parameters:
values
- column names and values- Since:
- 6.3.1
-
FeatureRowData
Constructor- Parameters:
values
- column names and valuesgeometryColumn
- geometry column name
-
FeatureRowData
Constructor- Parameters:
values
- column names and valuesidColumn
- id column namegeometryColumn
- geometry column name- Since:
- 6.3.1
-
-
Method Details
-
getValues
Get the values- Returns:
- column names and values
-
getIdColumn
Get the id column name- Returns:
- id column
- Since:
- 6.3.1
-
getId
Get the id- Returns:
- id
- Since:
- 6.3.1
-
getGeometryColumn
Get the geometry column name- Returns:
- geometry column
-
getGeometryData
Get the geometry data- Returns:
- geometry data
-
getGeometry
Get the geometry- Returns:
- geometry
-
getGeometryType
Get the geometry type- Returns:
- geometry type
- Since:
- 6.3.1
-
getGeometryEnvelope
Get the geometry envelope- Returns:
- geometry envelope
- Since:
- 6.3.1
-
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
-