GPKGCrsWktExtension
Objective-C
@interface GPKGCrsWktExtension : GPKGBaseExtension
Swift
class GPKGCrsWktExtension : GPKGBaseExtension
OGC Well known text representation of Coordinate Reference Systems extension
-
Extension name
Declaration
Objective-C
@property (nonatomic, strong) NSString *extensionName;
Swift
var extensionName: String! { get set }
-
Extension version 1 definition URL
Declaration
Objective-C
@property (nonatomic, strong) NSString *definitionV1;
Swift
var definitionV1: String! { get set }
-
Extension version 1.1 definition URL
Declaration
Objective-C
@property (nonatomic, strong) NSString *definitionV1_1;
Swift
var definitionV1_1: String! { get set }
-
Extension definition column name
Declaration
Objective-C
@property (nonatomic, strong) NSString *definitionColumnName;
Swift
var definitionColumnName: String! { get set }
-
Extension definition column definition
Declaration
Objective-C
@property (nonatomic, strong) NSString *definitionColumnDef;
Swift
var definitionColumnDef: String! { get set }
-
Extension epoch column name
Declaration
Objective-C
@property (nonatomic, strong) NSString *epochColumnName;
Swift
var epochColumnName: String! { get set }
-
Extension epoch column definition
Declaration
Objective-C
@property (nonatomic, strong) NSString *epochColumnDef;
Swift
var epochColumnDef: String! { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage;
Swift
init!(geoPackage: GPKGGeoPackage!)
Parameters
geoPackage
GeoPackage
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)database;
Swift
init!(database: GPKGConnection!)
Parameters
database
database
Return Value
new instance
-
Get or create the latest version of the extension
Declaration
Objective-C
- (NSArray<GPKGExtensions *> *)extensionCreate;
Swift
func extensionCreate() -> [GPKGExtensions]!
Return Value
extension
-
Get or create the version of the extension
Declaration
Objective-C
- (NSArray<GPKGExtensions *> *)extensionCreateVersion: (enum GPKGCrsWktExtensionVersion)version;
Swift
func extensionCreateVersion(_ version: GPKGCrsWktExtensionVersion) -> [GPKGExtensions]!
Parameters
version
extension version
Return Value
extension
-
Determine if the GeoPackage has any version of the extension
Declaration
Objective-C
- (BOOL)has;
Swift
func has() -> Bool
Return Value
true if has extension
-
Determine if the GeoPackage has at least the minimum version of the extension
Declaration
Objective-C
- (BOOL)hasMinimum:(enum GPKGCrsWktExtensionVersion)version;
Swift
func hasMinimum(_ version: GPKGCrsWktExtensionVersion) -> Bool
Parameters
version
extension version
Return Value
true if has extension minimum
-
Determine if the GeoPackage has the version of the extension
Declaration
Objective-C
- (BOOL)hasVersion:(enum GPKGCrsWktExtensionVersion)version;
Swift
func hasVersion(_ version: GPKGCrsWktExtensionVersion) -> Bool
Parameters
version
extension version
Return Value
true if has extension
-
Get the extension name for the version
Declaration
Objective-C
- (NSString *)extensionName:(enum GPKGCrsWktExtensionVersion)version;
Swift
func extensionName(_ version: GPKGCrsWktExtensionVersion) -> String!
Parameters
version
extension version
Return Value
extension name
-
Update the extension definition
Declaration
Objective-C
- (void)updateDefinition:(NSString *)definition withSrsId:(NSNumber *)srsId;
Swift
func updateDefinition(_ definition: String!, withSrsId srsId: NSNumber!)
Parameters
definition
definition
srsId
srs id
-
Get the extension definition
Declaration
Objective-C
- (NSString *)definitionWithSrsId:(NSNumber *)srsId;
Swift
func definition(withSrsId srsId: NSNumber!) -> String!
Parameters
srsId
srs id
Return Value
definition
-
Update the extension epoch
Declaration
Objective-C
- (void)updateEpoch:(NSDecimalNumber *)epoch withSrsId:(NSNumber *)srsId;
Swift
func updateEpoch(_ epoch: NSDecimalNumber!, withSrsId srsId: NSNumber!)
Parameters
epoch
epoch
srsId
srs id
-
Get the extension epoch
Declaration
Objective-C
- (NSDecimalNumber *)epochWithSrsId:(NSNumber *)srsId;
Swift
func epoch(withSrsId srsId: NSNumber!) -> NSDecimalNumber!
Parameters
srsId
srs id
Return Value
epoch
-
Determine if the GeoPackage SRS table has the extension definition column
Declaration
Objective-C
- (BOOL)hasDefinitionColumn;
Swift
func hasDefinitionColumn() -> Bool
Return Value
true if has column
-
Determine if the GeoPackage SRS table has the extension epoch column
Declaration
Objective-C
- (BOOL)hasEpochColumn;
Swift
func hasEpochColumn() -> Bool
Return Value
true if has column
-
Remove the extension. Leaves the column and values.
Declaration
Objective-C
- (void)removeExtension;
Swift
func remove()
-
Remove the extension. Leaves the column and values.
Declaration
Objective-C
- (void)removeExtension:(enum GPKGCrsWktExtensionVersion)version;
Swift
func remove(_ version: GPKGCrsWktExtensionVersion)
Parameters
version
extension version