GPKGDgiwgCoordinateReferenceSystems
Objective-C
@interface GPKGDgiwgCoordinateReferenceSystems : NSObject
Swift
class GPKGDgiwgCoordinateReferenceSystems : NSObject
Coordinate Reference Systems
-
Get a CRS by type
Declaration
Objective-C
+ (GPKGDgiwgCoordinateReferenceSystems *)fromType: (enum GPKGDgiwgCoordinateReferenceSystem)type;Swift
class func fromType(_ type: GPKGDgiwgCoordinateReferenceSystem) -> GPKGDgiwgCoordinateReferenceSystems!Parameters
typeCRS type
Return Value
CRS
-
Get the type
Declaration
Objective-C
- (enum GPKGDgiwgCoordinateReferenceSystem)type;Swift
func type() -> GPKGDgiwgCoordinateReferenceSystemReturn Value
type
-
Get the authority
Declaration
Objective-C
- (NSString *)authority;Swift
func authority() -> String!Return Value
authority
-
Get the code
Declaration
Objective-C
- (int)code;Swift
func code() -> Int32Return Value
code
-
Get the authority and code
Declaration
Objective-C
- (NSString *)authorityAndCode;Swift
func authorityAndCode() -> String!Return Value
authority:code
-
Get the name
Declaration
Objective-C
- (NSString *)name;Swift
func name() -> String!Return Value
name
-
Get the CRS type
Return Value
CRS type
-
Get the dimension
Declaration
Objective-C
- (int)dimension;Swift
func dimension() -> Int32Return Value
dimension
-
Get the Well-Known Text
Declaration
Objective-C
- (NSString *)wkt;Swift
func wkt() -> String!Return Value
well-known text
-
Get the description
Declaration
Objective-C
- (NSString *)theDescription;Swift
func theDescription() -> String!Return Value
description
-
Get the bounds
Return Value
bounding box
-
Get the WGS84 bounds extent
Declaration
Objective-C
- (GPKGBoundingBox *)wgs84Bounds;Swift
func wgs84Bounds() -> GPKGBoundingBox!Return Value
bounding box
-
Get the data types
Declaration
Objective-C
- (NSArray<NSNumber *> *)dataTypes;Swift
func dataTypes() -> [NSNumber]!Return Value
data types
-
Get the data type names
Declaration
Objective-C
- (NSArray<NSString *> *)dataTypeNames;Swift
func dataTypeNames() -> [String]!Return Value
data type names
-
Is valid for the Data Type
Declaration
Objective-C
- (BOOL)isDataType:(enum GPKGDgiwgDataType)dataType;Swift
func isDataType(_ dataType: GPKGDgiwgDataType) -> BoolParameters
dataTypedata type
Return Value
true if valid for data type
-
Get the contents data types
Declaration
Objective-C
- (NSDictionary<NSNumber *, NSArray<NSNumber *> *> *)contentsDataTypes;Swift
func contentsDataTypes() -> [NSNumber : [NSNumber]]!Return Value
contents data types
-
Get the tiles data types
Declaration
Objective-C
- (NSArray<NSNumber *> *)tilesDataTypes;Swift
func tilesDataTypes() -> [NSNumber]!Return Value
tiles data types
-
Has tiles data types
Declaration
Objective-C
- (BOOL)hasTilesDataTypes;Swift
func hasTilesDataTypes() -> BoolReturn Value
true if has tiles data types
-
Get the features data types
Declaration
Objective-C
- (NSArray<NSNumber *> *)featuresDataTypes;Swift
func featuresDataTypes() -> [NSNumber]!Return Value
features data types
-
Has features data types
Declaration
Objective-C
- (BOOL)hasFeaturesDataTypes;Swift
func hasFeaturesDataTypes() -> BoolReturn Value
true if has features data types
-
Get the data types for the contents data type
Declaration
Objective-C
- (NSArray<NSNumber *> *)dataTypes:(enum GPKGContentsDataType)contentsDataType;Swift
func dataTypes(_ contentsDataType: GPKGContentsDataType) -> [NSNumber]!Parameters
contentsDataTypecontents data type
Return Value
data types
-
Create a Spatial Reference System
Declaration
Objective-C
- (GPKGSpatialReferenceSystem *)createSpatialReferenceSystem;Swift
func createSpatialReferenceSystem() -> GPKGSpatialReferenceSystem!Return Value
Spatial Reference System
-
Validate the CRS for tiles and get the SRS
Declaration
Objective-C
- (GPKGSpatialReferenceSystem *)createTilesSpatialReferenceSystem;Swift
func createTilesSpatialReferenceSystem() -> GPKGSpatialReferenceSystem!Return Value
srs
-
Validate the CRS for features and get the SRS
Declaration
Objective-C
- (GPKGSpatialReferenceSystem *)createFeaturesSpatialReferenceSystem;Swift
func createFeaturesSpatialReferenceSystem() -> GPKGSpatialReferenceSystem!Return Value
srs
-
+createLambertConicConformal1SPWithEPSG:andName: andCRS: andGeoDatum: andLatitudeOfOrigin: andCentralMeridian: andScaleFactor: andFalseEasting: andFalseNorthing: Create a Lambert Conic Conformal 1SP Spatial Reference System
Declaration
Objective-C
+ (GPKGSpatialReferenceSystem *) createLambertConicConformal1SPWithEPSG:(int)epsg andName:(NSString *)name andCRS:(enum CRSType)crsType andGeoDatum:(enum CRSGeoDatumType)geoDatum andLatitudeOfOrigin:(double)latitudeOfOrigin andCentralMeridian:(double)centralMeridian andScaleFactor:(double)scaleFactor andFalseEasting:(double)falseEasting andFalseNorthing:(double)falseNorthing;Swift
class func createLambertConicConformal1SP(withEPSG epsg: Int32, andName name: String!, andCRS crsType: CRSType, andGeoDatum geoDatum: CRSGeoDatumType, andLatitudeOfOrigin latitudeOfOrigin: Double, andCentralMeridian centralMeridian: Double, andScaleFactor scaleFactor: Double, andFalseEasting falseEasting: Double, andFalseNorthing falseNorthing: Double) -> GPKGSpatialReferenceSystem!Parameters
epsgLambert Conic Conformal 1SP EPSG
nameCRS name
crsTypeCRS type
geoDatum{@link GeoDatums#WGS84}, {@link GeoDatums#ETRS89}, or {@link GeoDatums#NAD83}
Return Value
Spatial Reference System
-
+createLambertConicConformal2SPWithEPSG:andName: andCRS: andGeoDatum: andStandardParallel1: andStandardParallel2: andLatitudeOfOrigin: andCentralMeridian: andFalseEasting: andFalseNorthing: Create a Lambert Conic Conformal 2SP Spatial Reference System
Declaration
Objective-C
+ (GPKGSpatialReferenceSystem *) createLambertConicConformal2SPWithEPSG:(int)epsg andName:(NSString *)name andCRS:(enum CRSType)crsType andGeoDatum:(enum CRSGeoDatumType)geoDatum andStandardParallel1:(double)standardParallel1 andStandardParallel2:(double)standardParallel2 andLatitudeOfOrigin:(double)latitudeOfOrigin andCentralMeridian:(double)centralMeridian andFalseEasting:(double)falseEasting andFalseNorthing:(double)falseNorthing;Swift
class func createLambertConicConformal2SP(withEPSG epsg: Int32, andName name: String!, andCRS crsType: CRSType, andGeoDatum geoDatum: CRSGeoDatumType, andStandardParallel1 standardParallel1: Double, andStandardParallel2 standardParallel2: Double, andLatitudeOfOrigin latitudeOfOrigin: Double, andCentralMeridian centralMeridian: Double, andFalseEasting falseEasting: Double, andFalseNorthing falseNorthing: Double) -> GPKGSpatialReferenceSystem!Parameters
epsgLambert Conic Conformal 2SP EPSG
nameCRS name
crsTypeCRS type
geoDatum{@link GeoDatums#WGS84}, {@link GeoDatums#ETRS89}, or {@link GeoDatums#NAD83}
Return Value
Spatial Reference System
-
Get the coordinate reference system for the EPSG code
Declaration
Objective-C
+ (GPKGDgiwgCoordinateReferenceSystems *)coordinateReferenceSystemWithEPSG: (int)epsg;Swift
class func coordinateReferenceSystem(withEPSG epsg: Int32) -> GPKGDgiwgCoordinateReferenceSystems!Parameters
epsgEPSG code
Return Value
crs
-
Get the coordinate reference system for the spatial reference system
Declaration
Objective-C
+ (GPKGDgiwgCoordinateReferenceSystems *)coordinateReferenceSystemWithSRS: (GPKGSpatialReferenceSystem *)srs;Swift
class func coordinateReferenceSystem(withSRS srs: GPKGSpatialReferenceSystem!) -> GPKGDgiwgCoordinateReferenceSystems!Parameters
srsspatial reference system
Return Value
crs
-
Get the coordinate reference system for the authority and code
Declaration
Objective-C
+ (GPKGDgiwgCoordinateReferenceSystems *) coordinateReferenceSystemWithAuthority:(NSString *)authority andCode:(int)code;Swift
class func coordinateReferenceSystem(withAuthority authority: String!, andCode code: Int32) -> GPKGDgiwgCoordinateReferenceSystems!Parameters
authorityauthority
codecode
Return Value
crs
-
Get the supported coordinate reference systems for the data type
Declaration
Objective-C
+ (NSArray<GPKGDgiwgCoordinateReferenceSystems *> *) coordinateReferenceSystemsForType:(enum GPKGDgiwgDataType)dataType;Swift
class func coordinateReferenceSystems(for dataType: GPKGDgiwgDataType) -> [GPKGDgiwgCoordinateReferenceSystems]!Parameters
dataTypedata type
Return Value
coordinate reference systems
-
Get the supported coordinate reference systems for the contents data type
Declaration
Objective-C
+ (NSArray<GPKGDgiwgCoordinateReferenceSystems *> *) coordinateReferenceSystemsForContentsType: (enum GPKGContentsDataType)dataType;Swift
class func coordinateReferenceSystems(forContentsType dataType: GPKGContentsDataType) -> [GPKGDgiwgCoordinateReferenceSystems]!Parameters
dataTypedata type
Return Value
coordinate reference systems
View on GitHub
GPKGDgiwgCoordinateReferenceSystems Class Reference