Package mil.nga.geopackage.tiles.overlay
Class FeatureRowData
- java.lang.Object
-
- mil.nga.geopackage.tiles.overlay.FeatureRowData
-
public class FeatureRowData extends Object
Represents the values of a single feature row- Since:
- 1.2.7
-
-
Constructor Summary
Constructors Constructor Description FeatureRowData(Map<String,Object> values, String geometryColumn)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeometrygetGeometry()Get the geometryStringgetGeometryColumn()Get the geometry column nameGeoPackageGeometryDatagetGeometryData()Get the geometry dataMap<String,Object>getValues()Get the valuesObjectjsonCompatible()Build a JSON compatible objectObjectjsonCompatible(boolean includePoints, boolean includeGeometries)Build a JSON compatible objectObjectjsonCompatibleWithGeometries(boolean includeGeometries)Build a JSON compatible objectObjectjsonCompatibleWithPoints(boolean includePoints)Build a JSON compatible object
-
-
-
Method Detail
-
getGeometryColumn
public String getGeometryColumn()
Get the geometry column name- Returns:
- geometry column
-
getGeometryData
public GeoPackageGeometryData getGeometryData()
Get the geometry data- Returns:
- geometry data
-
getGeometry
public Geometry getGeometry()
Get the geometry- Returns:
- geometry
-
jsonCompatible
public Object jsonCompatible()
Build a JSON compatible object- Returns:
- JSON compatible object
-
jsonCompatibleWithPoints
public Object jsonCompatibleWithPoints(boolean includePoints)
Build a JSON compatible object- Parameters:
includePoints- true to include point geometries, but no other geometry types- Returns:
- JSON compatible object
-
jsonCompatibleWithGeometries
public Object jsonCompatibleWithGeometries(boolean includeGeometries)
Build a JSON compatible object- Parameters:
includeGeometries- true to include all geometries, false for no geometries- Returns:
- JSON compatible object
-
jsonCompatible
public Object jsonCompatible(boolean includePoints, boolean includeGeometries)
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
-
-