PROJProjectionRetriever
Objective-C
@interface PROJProjectionRetriever : NSObject
Swift
class PROJProjectionRetriever : NSObject
Retrieves the proj4 projection parameter string for an authority and coordinate code
-
Get the proj4 projection string for the EPSG code
Declaration
Objective-C
+ (NSString *)projectionWithEpsg:(NSNumber *)epsg;Swift
class func projection(withEpsg epsg: NSNumber!) -> String!Parameters
epsgEPSG code
Return Value
projection string
-
Get the proj4 projection string for the authority coordinate code
Declaration
Objective-C
+ (NSString *)projectionWithAuthority:(NSString *)authority andNumberCode:(NSNumber *)code;Swift
class func projection(withAuthority authority: String!, andNumberCode code: NSNumber!) -> String!Parameters
authoritycoordinate authority
codecoordinate code
Return Value
proj4 projection
-
Get the proj4 projection string for the authority coordinate code
Declaration
Objective-C
+ (NSString *)projectionWithAuthority:(NSString *)authority andCode:(NSString *)code;Swift
class func projection(withAuthority authority: String!, andCode code: String!) -> String!Parameters
authoritycoordinate authority
codecoordinate code
Return Value
proj4 projection
-
Get or create the projection properties
Declaration
Objective-C
+ (NSMutableDictionary *)getOrCreateProjectionsForAuthority: (NSString *)authority;Swift
class func getOrCreateProjections(forAuthority authority: String!) -> NSMutableDictionary!Parameters
authoritycoordinate authority
Return Value
projection properties
-
Get the projection properties for the authority
Declaration
Objective-C
+ (NSMutableDictionary *)projectionsForAuthority:(NSString *)authority;Swift
class func projections(forAuthority authority: String!) -> NSMutableDictionary!Parameters
authoritycoordinate authority
Return Value
projection properties
-
Clear the properties for all authorities
Declaration
Objective-C
+ (void)clear;Swift
class func clear() -
Clear the properties for the authority
Declaration
Objective-C
+ (void)clearAuthority:(NSString *)authority;Swift
class func clearAuthority(_ authority: String!)Parameters
authoritycoordinate authority
-
Clear the property for the authority code
Declaration
Objective-C
+ (void)clearAuthority:(NSString *)authority andNumberCode:(NSNumber *)code;Swift
class func clearAuthority(_ authority: String!, andNumberCode code: NSNumber!)Parameters
authoritycoordinate authority
codecoordinate code
-
Clear the property for the authority code
Declaration
Objective-C
+ (void)clearAuthority:(NSString *)authority andCode:(NSString *)code;Swift
class func clearAuthority(_ authority: String!, andCode code: String!)Parameters
authoritycoordinate authority
codecoordinate code
-
Get the properties file path for the authority
Resulting Path to file: projections.{authority}.plist
Declaration
Objective-C
+ (NSString *)propertiesPathForAuthority:(NSString *)authority;Swift
class func propertiesPath(forAuthority authority: String!) -> String!Parameters
authoritycoordinate authority
Return Value
property file name
-
Set the projections for the authority with the properties
Declaration
Objective-C
+ (void)setProjections:(NSMutableDictionary *)projections forAuthority:(NSString *)authority;Swift
class func setProjections(_ projections: NSMutableDictionary!, forAuthority authority: String!)Parameters
projectionsproperties dictionary
authoritycoordinate authority
-
Set the projection for the authority and code, creating the authority if needed
Declaration
Objective-C
+ (void)setProjection:(NSString *)projection forAuthority:(NSString *)authority andNumberCode:(NSNumber *)code;Swift
class func setProjection(_ projection: String!, forAuthority authority: String!, andNumberCode code: NSNumber!)Parameters
projectionproj4 projection
authoritycoordinate authority
codecoordinate code
-
Set the projection for the authority and code, creating the authority if needed
Declaration
Objective-C
+ (void)setProjection:(NSString *)projection forAuthority:(NSString *)authority andCode:(NSString *)code;Swift
class func setProjection(_ projection: String!, forAuthority authority: String!, andCode code: String!)Parameters
projectionproj4 projection
authoritycoordinate authority
codecoordinate code
View on GitHub
PROJProjectionRetriever Class Reference