GPKGFeatureRowData

Objective-C

@interface GPKGFeatureRowData : NSObject

Swift

class GPKGFeatureRowData : NSObject

Represents the values of a single feature row

  • Initializer

    Declaration

    Objective-C

    - (instancetype)initWithValues:(NSDictionary *)values;

    Swift

    init!(values: [AnyHashable : Any]!)

    Parameters

    values

    value mapping

    Return Value

    new instance

  • Initializer

    Declaration

    Objective-C

    - (instancetype)initWithValues:(NSDictionary *)values
             andGeometryColumnName:(NSString *)geometryColumn;

    Swift

    init!(values: [AnyHashable : Any]!, andGeometryColumnName geometryColumn: String!)

    Parameters

    values

    value mapping

    geometryColumn

    geometry column name

    Return Value

    new instance

  • Initializer

    Declaration

    Objective-C

    - (instancetype)initWithValues:(NSDictionary *)values
                   andIdColumnName:(NSString *)idColumn
             andGeometryColumnName:(NSString *)geometryColumn;

    Swift

    init!(values: [AnyHashable : Any]!, andIdColumnName idColumn: String!, andGeometryColumnName geometryColumn: String!)

    Parameters

    values

    value mapping

    idColumn

    id column name

    geometryColumn

    geometry column name

    Return Value

    new instance

  • Get the values

    Declaration

    Objective-C

    - (NSDictionary *)values;

    Swift

    func values() -> [AnyHashable : Any]!

    Return Value

    values

  • Get the id column name

    Declaration

    Objective-C

    - (NSString *)idColumn;

    Swift

    func idColumn() -> String!

    Return Value

    id column name

  • -id

    Get the id

    Declaration

    Objective-C

    - (NSNumber *)id;

    Swift

    func id() -> NSNumber!

    Return Value

    id

  • Get the geometry column name

    Declaration

    Objective-C

    - (NSString *)geometryColumn;

    Swift

    func geometryColumn() -> String!

    Return Value

    geometry column name

  • Get the geometry data

    Declaration

    Objective-C

    - (GPKGGeometryData *)geometryData;

    Swift

    func geometryData() -> GPKGGeometryData!

    Return Value

    geometry data

  • Get the geometry

    Declaration

    Objective-C

    - (SFGeometry *)geometry;

    Swift

    func geometry() -> SFGeometry!

    Return Value

    geometry

  • Get the geometry type

    Declaration

    Objective-C

    - (enum SFGeometryType)geometryType;

    Swift

    func geometryType() -> SFGeometryType

    Return Value

    geometry type

  • Get the geometry envelope

    Declaration

    Objective-C

    - (SFGeometryEnvelope *)geometryEnvelope;

    Swift

    func geometryEnvelope() -> SFGeometryEnvelope!

    Return Value

    geometry envelope

  • Build a JSON compatible object

    Declaration

    Objective-C

    - (NSObject *)jsonCompatible;

    Swift

    func jsonCompatible() -> NSObject!

    Return Value

    JSON compatible object

  • Build a JSON compatible object

    Declaration

    Objective-C

    - (NSObject *)jsonCompatibleWithPoints:(BOOL)includePoints;

    Swift

    func json(compatibleWithPoints includePoints: Bool) -> NSObject!

    Parameters

    includePoints

    true to include point geometries, but no other geometry types

    Return Value

    JSON compatible object

  • Build a JSON compatible object

    Declaration

    Objective-C

    - (NSObject *)jsonCompatibleWithGeometries:(BOOL)includeGeometries;

    Swift

    func json(compatibleWithGeometries includeGeometries: Bool) -> NSObject!

    Parameters

    includeGeometries

    true to include all geometries, false for no geometries

    Return Value

    JSON compatible object

  • Build a JSON compatible object

    Declaration

    Objective-C

    - (NSObject *)jsonCompatibleWithPoints:(BOOL)includePoints
                             andGeometries:(BOOL)includeGeometries;

    Swift

    func json(compatibleWithPoints includePoints: Bool, andGeometries includeGeometries: Bool) -> NSObject!

    Parameters

    includePoints

    true to include point geometries, ignored if includeGeometries is true

    includeGeometries

    true to include all geometry types

    Return Value

    JSON compatible object