25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27 #import <ArcGIS/AGSJSONSerializable.h>
53 #pragma mark initializers
61 -(nullable instancetype)initWithWKID:(NSInteger)WKID;
67 -(nullable instancetype)initWithWKText:(NSString*)WKText;
72 -(nullable instancetype)initWithWKID:(NSInteger)WKID verticalWKID:(NSInteger)verticalWKID;
79 +(nullable instancetype)spatialReferenceWithWKID:(NSInteger)WKID;
86 +(nullable instancetype)spatialReferenceWithWKText:(NSString *)WKText;
94 +(nullable instancetype)spatialReferenceWithWKID:(NSInteger)WKID verticalWKID:(NSInteger)verticalWKID;
107 #pragma mark properties
115 @property (nonatomic, assign, readonly) NSInteger
WKID;
120 @property (nonatomic, copy, readonly) NSString *
WKText;
146 @property (nonatomic, assign, readonly, getter=isGeographic) BOOL
geographic;
168 @property (nonatomic, assign, readonly, getter=isPannable) BOOL
pannable;
173 @property (nonatomic, assign, readonly, getter=isProjected) BOOL
projected;
214 -(double)convergenceAngleWithPoint:(
AGSPoint*)point;
Defines a linear unit of measurement.
Definition: AGSLinearUnit.h:60
Definition: AGSObject.h:28
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49
BOOL hasVertical
Definition: AGSSpatialReference.h:163
BOOL pannable
Definition: AGSSpatialReference.h:168
BOOL geographic
Definition: AGSSpatialReference.h:146
AGSLinearUnit * verticalUnit
Definition: AGSSpatialReference.h:132
AGSSpatialReference * baseGeographic
Definition: AGSSpatialReference.h:141
AGSSpatialReference * WGS84()
NSString * WKText
Definition: AGSSpatialReference.h:120
AGSSpatialReference * webMercator()
AGSUnit * unit
Definition: AGSSpatialReference.h:125
NSInteger WKID
Definition: AGSSpatialReference.h:115
BOOL projected
Definition: AGSSpatialReference.h:173
NSInteger verticalWKID
Definition: AGSSpatialReference.h:183
Defines a unit of measurement.
Definition: AGSUnit.h:68
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:38