GPKGGeometryColumns

Objective-C

@interface GPKGGeometryColumns : NSObject <NSMutableCopying>

Swift

class GPKGGeometryColumns : NSObject, NSMutableCopying

Geometry Columns object. Identifies the geometry columns in tables that contain user data representing features.

  • Name of the table containing the geometry column

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *tableName;

    Swift

    var tableName: String! { get set }
  • Name of a column in the feature table that is a Geometry Column

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *columnName;

    Swift

    var columnName: String! { get set }
  • Name from Geometry Type Codes (Core) or Geometry Type Codes (Extension) in Geometry Types (Normative)

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *geometryTypeName;

    Swift

    var geometryTypeName: String! { get set }
  • Unique identifier for each Spatial Reference System within a GeoPackage

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *srsId;

    Swift

    var srsId: NSNumber! { get set }
  • z

    0: z values prohibited; 1: z values mandatory; 2: z values optional

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *z;

    Swift

    var z: NSNumber! { get set }
  • m

    0: m values prohibited; 1: m values mandatory; 2: m values optional

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *m;

    Swift

    var m: NSNumber! { get set }
  • Get the geometry type

    Declaration

    Objective-C

    - (enum SFGeometryType)geometryType;

    Swift

    func geometryType() -> SFGeometryType

    Return Value

    geometry type

  • Set the geometry type

    Declaration

    Objective-C

    - (void)setGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func setGeometryType(_ geometryType: SFGeometryType)

    Parameters

    geometryType

    geometry type

  • Set the Contents

    Declaration

    Objective-C

    - (void)setContents:(GPKGContents *)contents;

    Swift

    func setContents(_ contents: GPKGContents!)

    Parameters

    contents

    contents

  • Set the Spatial Reference System

    Declaration

    Objective-C

    - (void)setSrs:(GPKGSpatialReferenceSystem *)srs;

    Swift

    func setSrs(_ srs: GPKGSpatialReferenceSystem!)

    Parameters

    srs

    srs