MaplyProj4CoordSystem

Objective-C

@interface MaplyProj4CoordSystem : MaplyCoordinateSystem

Swift

class MaplyProj4CoordSystem : MaplyCoordinateSystem

A generic coordinate system wrapper around proj4.

You create one of these with a proj4 string. It’ll act like a normal MaplyCoordinateSysterm after that.

Be sure to check that the system is valid. The proj4 string could be wrong.

  • Initialize with a proj4 compatible string

    Since this is just a proj.4 wrapper, we need an initialization string that it can parse.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithString:(NSString *_Nonnull)proj4Str;

    Swift

    init(string proj4Str: String)
  • True if the proj.4 string was valid and the coordinate system can work.

    Declaration

    Objective-C

    - (_Bool)valid;

    Swift

    func valid() -> Bool