PROJProjectionFactory

Objective-C

@interface PROJProjectionFactory : NSObject

Swift

class PROJProjectionFactory : NSObject

Projection factory for coordinate projections and transformations

  • Reset the projection factory retrieval order to the default

    Declaration

    Objective-C

    + (void)resetOrder;

    Swift

    class func resetOrder()
  • Get a copy of the projection factory retrieval order

    Declaration

    Objective-C

    + (NSOrderedSet<NSNumber *> *)order;

    Swift

    class func order() -> NSOrderedSet!

    Return Value

    order set copy

  • Get a copy of the projection factory retrieval order without caching

    Declaration

    Objective-C

    + (NSOrderedSet<NSNumber *> *)cachelessOrder;

    Swift

    class func cachelessOrder() -> NSOrderedSet!

    Return Value

    order set copy without cache

  • Remove the projection factory retrieval type from the retrieval ordering

    Declaration

    Objective-C

    + (void)removeOrderType:(enum PROJProjectionFactoryType)type;

    Swift

    class func removeOrder(_ type: PROJProjectionFactoryType)

    Parameters

    type

    retrieval type

  • Set the projection factory retrieval order

    Declaration

    Objective-C

    + (void)setOrder:(NSOrderedSet<NSNumber *> *)types;

    Swift

    class func setOrder(_ types: NSOrderedSet!)

    Parameters

    types

    factory retrieval types

  • Build a default order set for specified ordered projection retrievals without changing the global ordering

    Declaration

    Objective-C

    + (NSOrderedSet<NSNumber *> *)buildDefaultOrder;

    Swift

    class func buildDefaultOrder() -> NSOrderedSet!

    Return Value

    projection factory retrieval order

  • Build an order set for specified ordered projection retrievals without changing the global ordering

    Declaration

    Objective-C

    + (NSOrderedSet<NSNumber *> *)buildOrder:(NSOrderedSet<NSNumber *> *)types;

    Swift

    class func buildOrder(_ types: NSOrderedSet!) -> NSOrderedSet!

    Parameters

    types

    factory retrieval types

    Return Value

    projection factory retrieval order

  • Get the projection for the EPSG code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithEpsg:(NSNumber *)epsg;

    Swift

    class func projection(withEpsg epsg: NSNumber!) -> PROJProjection!

    Parameters

    epsg

    EPSG coordinate code

    Return Value

    projection

  • Get the cacheless projection for the EPSG code

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithEpsg:(NSNumber *)epsg;

    Swift

    class func cachelessProjection(withEpsg epsg: NSNumber!) -> PROJProjection!

    Parameters

    epsg

    EPSG coordinate code

    Return Value

    projection

  • Get the projection for the EPSG code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                                   andEpsg:(NSNumber *)epsg;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andEpsg epsg: NSNumber!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    epsg

    EPSG coordinate code

    Return Value

    projection

  • Get the projection for the EPSG code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                                    andEpsg:(NSNumber *)epsg;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andEpsg epsg: NSNumber!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    epsg

    EPSG coordinate code

    Return Value

    projection

  • Get the projection for the EPSG code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithEpsgInt:(int)epsg;

    Swift

    class func projection(withEpsgInt epsg: Int32) -> PROJProjection!

    Parameters

    epsg

    EPSG coordinate code

    Return Value

    projection

  • Get the cacheless projection for the EPSG code

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithEpsgInt:(int)epsg;

    Swift

    class func cachelessProjection(withEpsgInt epsg: Int32) -> PROJProjection!

    Parameters

    epsg

    EPSG coordinate code

    Return Value

    projection

  • Get the projection for the EPSG code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                                andEpsgInt:(int)epsg;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andEpsgInt epsg: Int32) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    epsg

    EPSG coordinate code

    Return Value

    projection

  • Get the projection for the EPSG code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                                 andEpsgInt:(int)epsg;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andEpsgInt epsg: Int32) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    epsg

    EPSG coordinate code

    Return Value

    projection

  • Get the projection for the projection name, expected as ‘authority:code’ or ‘epsg_code’

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithName:(NSString *)name;

    Swift

    class func projection(withName name: String!) -> PROJProjection!

    Parameters

    name

    projection name

    Return Value

    projection

  • Get the cacheless projection for the projection name, expected as ‘authority:code’ or ‘epsg_code’

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithName:(NSString *)name;

    Swift

    class func cachelessProjection(withName name: String!) -> PROJProjection!

    Parameters

    name

    projection name

    Return Value

    projection

  • Get the projection for the projection name, expected as ‘authority:code’ or ‘epsg_code’

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                                   andName:(NSString *)name;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andName name: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    name

    projection name

    Return Value

    projection

  • Get the projection for the projection name, expected as ‘authority:code’ or ‘epsg_code’

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                                    andName:(NSString *)name;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andName name: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    name

    projection name

    Return Value

    projection

  • Get the projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                  andNumberCode:(NSNumber *)code;

    Swift

    class func projection(withAuthority authority: String!, andNumberCode code: NSNumber!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the cacheless projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                           andNumberCode:(NSNumber *)code;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andNumberCode code: NSNumber!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                             andNumberCode:(NSNumber *)code;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andNumberCode code: NSNumber!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                              andNumberCode:(NSNumber *)code;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andNumberCode code: NSNumber!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                     andIntCode:(int)code;

    Swift

    class func projection(withAuthority authority: String!, andIntCode code: Int32) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the cacheless projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                              andIntCode:(int)code;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andIntCode code: Int32) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                                andIntCode:(int)code;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andIntCode code: Int32) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                                 andIntCode:(int)code;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andIntCode code: Int32) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                        andCode:(NSString *)code;

    Swift

    class func projection(withAuthority authority: String!, andCode code: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the cacheless projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                                 andCode:(NSString *)code;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andCode code: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                                   andCode:(NSString *)code;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andCode code: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the projection for authority and code

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                                    andCode:(NSString *)code;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andCode code: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    Return Value

    projection

  • Get the projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                  andNumberCode:(NSNumber *)code
                                      andParams:(NSString *)params;

    Swift

    class func projection(withAuthority authority: String!, andNumberCode code: NSNumber!, andParams params: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the cacheless projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                           andNumberCode:(NSNumber *)code
                                               andParams:(NSString *)params;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andNumberCode code: NSNumber!, andParams params: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                             andNumberCode:(NSNumber *)code
                                 andParams:(NSString *)params;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andNumberCode code: NSNumber!, andParams params: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                              andNumberCode:(NSNumber *)code
                                  andParams:(NSString *)params;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andNumberCode code: NSNumber!, andParams params: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                     andIntCode:(int)code
                                      andParams:(NSString *)params;

    Swift

    class func projection(withAuthority authority: String!, andIntCode code: Int32, andParams params: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the cacheless projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                              andIntCode:(int)code
                                               andParams:(NSString *)params;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andIntCode code: Int32, andParams params: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                                andIntCode:(int)code
                                 andParams:(NSString *)params;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andIntCode code: Int32, andParams params: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                                 andIntCode:(int)code
                                  andParams:(NSString *)params;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andIntCode code: Int32, andParams params: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                        andCode:(NSString *)code
                                      andParams:(NSString *)params;

    Swift

    class func projection(withAuthority authority: String!, andCode code: String!, andParams params: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the cacheless projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                                 andCode:(NSString *)code
                                               andParams:(NSString *)params;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andCode code: String!, andParams params: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                                   andCode:(NSString *)code
                                 andParams:(NSString *)params;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andCode code: String!, andParams params: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the projection for authority, code, and parameter string

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                                    andCode:(NSString *)code
                                  andParams:(NSString *)params;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andCode code: String!, andParams params: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    Return Value

    projection

  • Get the projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                  andNumberCode:(NSNumber *)code
                                  andDefinition:(NSString *)definition;

    Swift

    class func projection(withAuthority authority: String!, andNumberCode code: NSNumber!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the cacheless projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                           andNumberCode:(NSNumber *)code
                                           andDefinition:(NSString *)definition;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andNumberCode code: NSNumber!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                             andNumberCode:(NSNumber *)code
                             andDefinition:(NSString *)definition;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andNumberCode code: NSNumber!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                              andNumberCode:(NSNumber *)code
                              andDefinition:(NSString *)definition;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andNumberCode code: NSNumber!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                     andIntCode:(int)code
                                  andDefinition:(NSString *)definition;

    Swift

    class func projection(withAuthority authority: String!, andIntCode code: Int32, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the cacheless projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                              andIntCode:(int)code
                                           andDefinition:(NSString *)definition;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andIntCode code: Int32, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                                andIntCode:(int)code
                             andDefinition:(NSString *)definition;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andIntCode code: Int32, andDefinition definition: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                                 andIntCode:(int)code
                              andDefinition:(NSString *)definition;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andIntCode code: Int32, andDefinition definition: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                        andCode:(NSString *)code
                                  andDefinition:(NSString *)definition;

    Swift

    class func projection(withAuthority authority: String!, andCode code: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the cacheless projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                                 andCode:(NSString *)code
                                           andDefinition:(NSString *)definition;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andCode code: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                                   andCode:(NSString *)code
                             andDefinition:(NSString *)definition;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andCode code: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, and definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                                    andCode:(NSString *)code
                              andDefinition:(NSString *)definition;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andCode code: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                  andNumberCode:(NSNumber *)code
                                      andParams:(NSString *)params
                                  andDefinition:(NSString *)definition;

    Swift

    class func projection(withAuthority authority: String!, andNumberCode code: NSNumber!, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the cacheless projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                           andNumberCode:(NSNumber *)code
                                               andParams:(NSString *)params
                                           andDefinition:(NSString *)definition;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andNumberCode code: NSNumber!, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                             andNumberCode:(NSNumber *)code
                                 andParams:(NSString *)params
                             andDefinition:(NSString *)definition;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andNumberCode code: NSNumber!, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                              andNumberCode:(NSNumber *)code
                                  andParams:(NSString *)params
                              andDefinition:(NSString *)definition;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andNumberCode code: NSNumber!, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                     andIntCode:(int)code
                                      andParams:(NSString *)params
                                  andDefinition:(NSString *)definition;

    Swift

    class func projection(withAuthority authority: String!, andIntCode code: Int32, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the cacheless projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                              andIntCode:(int)code
                                               andParams:(NSString *)params
                                           andDefinition:(NSString *)definition;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andIntCode code: Int32, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                                andIntCode:(int)code
                                 andParams:(NSString *)params
                             andDefinition:(NSString *)definition;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andIntCode code: Int32, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                                 andIntCode:(int)code
                                  andParams:(NSString *)params
                              andDefinition:(NSString *)definition;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andIntCode code: Int32, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithAuthority:(NSString *)authority
                                        andCode:(NSString *)code
                                      andParams:(NSString *)params
                                  andDefinition:(NSString *)definition;

    Swift

    class func projection(withAuthority authority: String!, andCode code: String!, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the cacheless projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionWithAuthority:(NSString *)authority
                                                 andCode:(NSString *)code
                                               andParams:(NSString *)params
                                           andDefinition:(NSString *)definition;

    Swift

    class func cachelessProjection(withAuthority authority: String!, andCode code: String!, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 string

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithTypes:(NSOrderedSet<NSNumber *> *)types
                               andAuthority:(NSString *)authority
                                    andCode:(NSString *)code
                                  andParams:(NSString *)params
                              andDefinition:(NSString *)definition;

    Swift

    class func projection(withTypes types: NSOrderedSet!, andAuthority authority: String!, andCode code: String!, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    types

    projection factory retrieval types

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 params array

    definition

    definition

    Return Value

    projection

  • Get the projection for the authority, code, definition, and custom parameter array

    Declaration

    Objective-C

    + (PROJProjection *)projectionWithType:(enum PROJProjectionFactoryType)type
                              andAuthority:(NSString *)authority
                                   andCode:(NSString *)code
                                 andParams:(NSString *)params
                             andDefinition:(NSString *)definition;

    Swift

    class func projection(with type: PROJProjectionFactoryType, andAuthority authority: String!, andCode code: String!, andParams params: String!, andDefinition definition: String!) -> PROJProjection!

    Parameters

    type

    projection factory retrieval type

    authority

    coordinate authority

    code

    authority coordinate code

    params

    proj4 params array

    definition

    definition

    Return Value

    projection

  • Get the projection for the definition

    Declaration

    Objective-C

    + (PROJProjection *)projectionByDefinition:(NSString *)definition;

    Swift

    class func projection(byDefinition definition: String!) -> PROJProjection!

    Parameters

    definition

    definition

    Return Value

    projection

  • Get the cacheless projection for the definition

    Declaration

    Objective-C

    + (PROJProjection *)cachelessProjectionByDefinition:(NSString *)definition;

    Swift

    class func cachelessProjection(byDefinition definition: String!) -> PROJProjection!

    Parameters

    definition

    definition

    Return Value

    projection

  • Get the projections

    Declaration

    Objective-C

    + (PROJProjections *)projections;

    Swift

    class func projections() -> PROJProjections!

    Return Value

    projections

  • Get or create projections for the authority

    Declaration

    Objective-C

    + (PROJAuthorityProjections *)projectionsWithAuthority:(NSString *)authority;

    Swift

    class func projections(withAuthority authority: String!) -> PROJAuthorityProjections!

    Parameters

    authority

    coordinate authority

    Return Value

    authority projections

  • Parse a projection name, expected as ‘authority:code’ or ‘epsg_code’, into an authority and code

    Declaration

    Objective-C

    + (NSArray<NSString *> *)parseAuthorityAndCode:(NSString *)name;

    Swift

    class func parseAuthorityAndCode(_ name: String!) -> [String]!

    Parameters

    name

    projection name

    Return Value

    [authority, code]

  • Clear all authority projections

    Declaration

    Objective-C

    + (void)clear;

    Swift

    class func clear()
  • Clear the authority projections

    Declaration

    Objective-C

    + (void)clearAuthority:(NSString *)authority;

    Swift

    class func clearAuthority(_ authority: String!)

    Parameters

    authority

    coordinate authority

  • Clear the authority projection code

    Declaration

    Objective-C

    + (void)clearAuthority:(NSString *)authority andNumberCode:(NSNumber *)code;

    Swift

    class func clearAuthority(_ authority: String!, andNumberCode code: NSNumber!)

    Parameters

    authority

    coordinate authority

    code

    coordinate code

  • Clear the authority projection code

    Declaration

    Objective-C

    + (void)clearAuthority:(NSString *)authority andIntCode:(int)code;

    Swift

    class func clearAuthority(_ authority: String!, andIntCode code: Int32)

    Parameters

    authority

    coordinate authority

    code

    coordinate code

  • Clear the authority projection code

    Declaration

    Objective-C

    + (void)clearAuthority:(NSString *)authority andCode:(NSString *)code;

    Swift

    class func clearAuthority(_ authority: String!, andCode code: String!)

    Parameters

    authority

    coordinate authority

    code

    coordinate code

  • Clear the projection, authority and code

    Declaration

    Objective-C

    + (void)clearProjection:(PROJProjection *)projection;

    Swift

    class func clearProjection(_ projection: PROJProjection!)

    Parameters

    projection

    projection

  • Clear the transform projections

    Declaration

    Objective-C

    + (void)clearTransform:(PROJProjectionTransform *)transform;

    Swift

    class func clear(_ transform: PROJProjectionTransform!)

    Parameters

    transform

    projection transform

  • Build a coordinate name from the authority and code

    Declaration

    Objective-C

    + (NSString *)coordinateNameWithAuthority:(NSString *)authority
                                      andCode:(NSString *)code;

    Swift

    class func coordinateName(withAuthority authority: String!, andCode code: String!) -> String!

    Parameters

    authority

    coordinate authority

    code

    coordinate code

    Return Value

    name

  • Build a coordinate name from the authority and code

    Declaration

    Objective-C

    + (NSString *)coordinateNameWithAuthority:(NSString *)authority
                                   andIntCode:(int)code;

    Swift

    class func coordinateName(withAuthority authority: String!, andIntCode code: Int32) -> String!

    Parameters

    authority

    coordinate authority

    code

    coordinate code

    Return Value

    name

  • Get the unit of the coordinate reference system

    Declaration

    Objective-C

    + (enum PROJUnit)unitOfCRS:(PJ *)crs;

    Swift

    class func unit(ofCRS crs: OpaquePointer!) -> PROJUnit

    Parameters

    crs

    coordinate reference system

    Return Value

    unit