CRSProjParser
Objective-C
@interface CRSProjParser : NSObject
Swift
class CRSProjParser : NSObject
CRS to PROJ parser
-
Parse crs well-known text into PROJ params
Declaration
Objective-C
+ (CRSProjParams *)paramsFromText:(NSString *)wkt;
Swift
class func params(fromText wkt: String!) -> CRSProjParams!
Parameters
wkt
crs well-known text
Return Value
params
-
Parse crs well-known text into PROJ params text
Declaration
Objective-C
+ (NSString *)paramsTextFromText:(NSString *)wkt;
Swift
class func paramsText(fromText wkt: String!) -> String!
Parameters
wkt
crs well-known text
Return Value
params text
-
Convert a CRS object into PROJ params
Declaration
Objective-C
+ (CRSProjParams *)paramsFromCRS:(CRSObject *)crs;
Swift
class func params(fromCRS crs: CRSObject!) -> CRSProjParams!
Parameters
crs
CRS object
Return Value
params
-
Convert a geodetic or geographic crs into PROJ params
Declaration
Objective-C
+ (CRSProjParams *)paramsFromGeo:(CRSGeoCoordinateReferenceSystem *)geo;
Swift
class func params(fromGeo geo: CRSGeoCoordinateReferenceSystem!) -> CRSProjParams!
Parameters
geo
geodetic or geographic crs
Return Value
params
-
Convert a geodetic or geographic crs into PROJ params text
Declaration
Objective-C
+ (NSString *)paramsTextFromGeo:(CRSGeoCoordinateReferenceSystem *)geo;
Swift
class func paramsText(fromGeo geo: CRSGeoCoordinateReferenceSystem!) -> String!
Parameters
geo
geodetic or geographic crs
Return Value
params text
-
Convert a projected crs into PROJ params
Declaration
Objective-C
+ (CRSProjParams *)paramsFromProjected: (CRSProjectedCoordinateReferenceSystem *)projected;
Swift
class func params(fromProjected projected: CRSProjectedCoordinateReferenceSystem!) -> CRSProjParams!
Parameters
projected
projected crs
Return Value
params
-
Convert a projected crs into PROJ params text
Declaration
Objective-C
+ (NSString *)paramsTextFromProjected: (CRSProjectedCoordinateReferenceSystem *)projected;
Swift
class func paramsText(fromProjected projected: CRSProjectedCoordinateReferenceSystem!) -> String!
Parameters
projected
projected crs
Return Value
params text
-
Convert a compound crs into PROJ params
Declaration
Objective-C
+ (CRSProjParams *)paramsFromCompound: (CRSCompoundCoordinateReferenceSystem *)compound;
Swift
class func params(fromCompound compound: CRSCompoundCoordinateReferenceSystem!) -> CRSProjParams!
Parameters
compound
compound crs
Return Value
params
-
Convert a compound crs into PROJ params text
Declaration
Objective-C
+ (NSString *)paramsTextFromCompound: (CRSCompoundCoordinateReferenceSystem *)compound;
Swift
class func paramsText(fromCompound compound: CRSCompoundCoordinateReferenceSystem!) -> String!
Parameters
compound
compound crs
Return Value
params text