CRSTextUtils
Objective-C
@interface CRSTextUtils : NSObjectSwift
class CRSTextUtils : NSObjectCRS Well-Known Text Utilities
- 
                  
                  Is the text a left delimiter DeclarationObjective-C + (BOOL)isLeftDelimiter:(NSString *)text;Swift class func isLeftDelimiter(_ text: String!) -> BoolParameterstextwkt text token Return Valuetrue if left delimiter 
- 
                  
                  Is the text a right delimiter DeclarationObjective-C + (BOOL)isRightDelimiter:(NSString *)text;Swift class func isRightDelimiter(_ text: String!) -> BoolParameterstextwkt text token Return Valuetrue if right delimiter 
- 
                  
                  Is the Coordinate System Type a spatial type DeclarationObjective-C + (BOOL)isSpatial:(enum CRSCoordinateSystemType)type;Swift class func isSpatial(_ type: CRSCoordinateSystemType) -> BoolParameterstypecoordinate system type Return Valuetrue if a spatial type 
- 
                  
                  Is the Coordinate System Type a temporal count or measure type DeclarationObjective-C + (BOOL)isTemporalCountMeasure:(enum CRSCoordinateSystemType)type;Swift class func isTemporalCountMeasure(_ type: CRSCoordinateSystemType) -> BoolParameterstypecoordinate system type Return Valuetrue if a spatial type 
- 
                  
                  Is the Coordinate System Type an ordinal or temporal date time type DeclarationObjective-C + (BOOL)isOrdinalDateTime:(enum CRSCoordinateSystemType)type;Swift class func isOrdinalDateTime(_ type: CRSCoordinateSystemType) -> BoolParameterstypecoordinate system type Return Valuetrue if a spatial type 
- 
                  
                  Get the unit type from the keyword DeclarationObjective-C + (enum CRSUnitType)unitTypeOfKeyword:(CRSKeyword *)keyword;Swift class func unitType(of keyword: CRSKeyword!) -> CRSUnitTypeParameterskeywordcoordinate reference system keyword Return Valueunit type 
- 
                  
                  Get the unit type from the keyword type DeclarationObjective-C + (enum CRSUnitType)unitType:(enum CRSKeywordType)keyword;Swift class func unitType(_ keyword: CRSKeywordType) -> CRSUnitTypeParameterskeywordcoordinate reference system keyword type Return Valueunit type 
- 
                  
                  Get the Coordinate Reference System Type DeclarationObjective-C + (enum CRSType)coordinateReferenceSystemType:(enum CRSKeywordType)keyword;Swift class func coordinateReferenceSystemType(_ keyword: CRSKeywordType) -> CRSTypeParameterskeywordcoordinate reference system keyword Return Valuecoordinate reference system type 
- 
                  
                  Get an int from a string DeclarationObjective-C + (int)intFromString:(NSString *)string;Swift class func int(from string: String!) -> Int32Parametersstringstring int value Return Valueinteger 
- 
                  
                  Get a double from a string DeclarationObjective-C + (double)doubleFromString:(NSString *)string;Swift class func double(from string: String!) -> DoubleParametersstringstring double value Return Valuedouble 
- 
                  
                  Get a decimal number from a string DeclarationObjective-C + (NSDecimalNumber *)decimalNumberFromString:(NSString *)string;Swift class func decimalNumber(from string: String!) -> NSDecimalNumber!Parametersstringstring double value Return Valuedecimal number 
- 
                  
                  Get text from a double DeclarationObjective-C + (NSString *)textFromDouble:(double)value;Swift class func text(from value: Double) -> String!Parametersvaluedouble value Return Valuetext value 
- 
                  
                  Get text from a decimal number DeclarationObjective-C + (NSString *)textFromDecimalNumber:(NSDecimalNumber *)decimalNumber;Swift class func text(from decimalNumber: NSDecimalNumber!) -> String!ParametersdecimalNumberdecimal number value Return Valuetext value 
- 
                  
                  Convert the WKT to a pretty WKT string, 4 space indents DeclarationObjective-C + (NSString *)pretty:(NSString *)wkt;Swift class func pretty(_ wkt: String!) -> String!Parameterswktwell-known text Return Valuepretty wkt 
- 
                  
                  Convert the WKT to a pretty WKT string, tab indents DeclarationObjective-C + (NSString *)prettyTabIndent:(NSString *)wkt;Swift class func prettyTabIndent(_ wkt: String!) -> String!Parameterswktwell-known text Return Valuepretty wkt 
- 
                  
                  Convert the WKT to a pretty WKT string, no indents DeclarationObjective-C + (NSString *)prettyNoIndent:(NSString *)wkt;Swift class func prettyNoIndent(_ wkt: String!) -> String!Parameterswktwell-known text Return Valuepretty wkt 
- 
                  
                  Convert the WKT to a pretty WKT string DeclarationObjective-C + (NSString *)pretty:(NSString *)wkt withIndent:(NSString *)indent;Swift class func pretty(_ wkt: String!, withIndent indent: String!) -> String!Parameterswktwell-known text indentindent string Return Valuepretty wkt 
- 
                  
                  Convert the WKT to a pretty WKT string DeclarationObjective-C + (NSString *)pretty:(NSString *)wkt withNewline:(NSString *)newline andIndent:(NSString *)indent;Swift class func pretty(_ wkt: String!, withNewline newline: String!, andIndent indent: String!) -> String!Parameterswktwell-known text newlinenewline string indentindent string Return Valuepretty wkt 
 View on GitHub
View on GitHub CRSTextUtils Class Reference
        CRSTextUtils Class Reference