Class FeatureRowData


  • public class FeatureRowData
    extends Object
    Represents the values of a single feature row
    Since:
    1.2.7
    • Constructor Detail

      • FeatureRowData

        public FeatureRowData​(Map<String,​Object> values,
                              String geometryColumn)
        Constructor
        Parameters:
        values - column names and values
        geometryColumn - geometry column name
    • Method Detail

      • getValues

        public Map<String,​Object> getValues()
        Get the values
        Returns:
        column names and values
      • 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 true
        includeGeometries - true to include all geometry types
        Returns:
        JSON compatible object