PROJCRSParser
Objective-C
@interface PROJCRSParser : NSObject
Swift
class PROJCRSParser : NSObject
Coordinate Reference System Well-known text parser
-
Parse crs well-known text into a proj4 coordinate reference system
Declaration
Objective-C
+ (PJ *)parseText:(NSString *)wkt;
Swift
class func parseText(_ wkt: String!) -> OpaquePointer!
Parameters
wkt
crs well-known text
Return Value
coordinate reference system
-
Convert a CRS object into a proj4 coordinate reference system
Declaration
Swift
class func convertCRS(_ crs: CRSObject!) -> OpaquePointer!
Parameters
crs
CRS object
Return Value
coordinate reference system
-
Convert a geodetic or geographic crs into a proj4 coordinate reference system
Declaration
Objective-C
+ (PJ *)convertGeo:(CRSGeoCoordinateReferenceSystem *)geo;
Swift
class func convertGeo(_ geo: CRSGeoCoordinateReferenceSystem!) -> OpaquePointer!
Parameters
geo
geodetic or geographic crs
Return Value
coordinate reference system
-
Convert a projected crs into a proj4 coordinate reference system
Declaration
Objective-C
+ (PJ *)convertProjected:(CRSProjectedCoordinateReferenceSystem *)projected;
Swift
class func convertProjected(_ projected: CRSProjectedCoordinateReferenceSystem!) -> OpaquePointer!
Parameters
projected
projected crs
Return Value
coordinate reference system
-
Convert a compound crs into a proj4 coordinate reference system
Declaration
Objective-C
+ (PJ *)convertCompound:(CRSCompoundCoordinateReferenceSystem *)compound;
Swift
class func convertCompound(_ compound: CRSCompoundCoordinateReferenceSystem!) -> OpaquePointer!
Parameters
compound
compound crs
Return Value
coordinate reference system