GPKGUTMZone

Objective-C

@interface GPKGUTMZone : NSObject

Swift

class GPKGUTMZone : NSObject

UTM Zone utilities

  • Get the UTM Zone

    Declaration

    Objective-C

    + (int)zone:(int)epsg;

    Swift

    class func zone(_ epsg: Int32) -> Int32

    Parameters

    epsg

    UTM Zone EPSG (GPKG_UTM_NORTH_MIN - GPKG_UTM_NORTH_MAX or GPKG_UTM_SOUTH_MIN - GPKG_UTM_SOUTH_MAX)

    Return Value

    UTM Zone

  • Get the UTM Zone Latitude Direction

    Declaration

    Objective-C

    + (NSString *)latDirection:(int)epsg;

    Swift

    class func latDirection(_ epsg: Int32) -> String!

    Parameters

    epsg

    UTM Zone EPSG (GPKG_UTM_NORTH_MIN - GPKG_UTM_NORTH_MAX or GPKG_UTM_SOUTH_MIN - GPKG_UTM_SOUTH_MAX)

    Return Value

    latitude direction

  • Get the central meridian

    Declaration

    Objective-C

    + (int)centralMeridian:(int)zone;

    Swift

    class func centralMeridian(_ zone: Int32) -> Int32

    Parameters

    zone

    UTM zone

    Return Value

    central meridian

  • Get the UTM Zone False Northing

    Declaration

    Objective-C

    + (int)falseNorthing:(int)epsg;

    Swift

    class func falseNorthing(_ epsg: Int32) -> Int32

    Parameters

    epsg

    UTM Zone EPSG (GPKG_UTM_NORTH_MIN - GPKG_UTM_NORTH_MAX or GPKG_UTM_SOUTH_MIN - GPKG_UTM_SOUTH_MAX)

    Return Value

    false northing

  • Is the EPSG a UTM Zone

    Declaration

    Objective-C

    + (BOOL)isZone:(int)epsg;

    Swift

    class func isZone(_ epsg: Int32) -> Bool

    Parameters

    epsg

    EPSG

    Return Value

    true if UTM zone

  • Is the EPSG a UTM North Zone

    Declaration

    Objective-C

    + (BOOL)isNorth:(int)epsg;

    Swift

    class func isNorth(_ epsg: Int32) -> Bool

    Parameters

    epsg

    EPSG

    Return Value

    true if UTM north zone

  • Is the EPSG a UTM South Zone

    Declaration

    Objective-C

    + (BOOL)isSouth:(int)epsg;

    Swift

    class func isSouth(_ epsg: Int32) -> Bool

    Parameters

    epsg

    EPSG

    Return Value

    true if UTM south zone