GeometryCollection

open class GeometryCollection : GeometryValue

A collection of geometry values.

  • Constructor

    Declaration

    Swift

    override public init()
  • Data type of the wrapped value.

    Declaration

    Swift

    override open var dataType: DataType { get }
  • Declaration

    Swift

    override open func formatWKT(sridRequired: Bool = false) -> String

    Parameters

    sridRequired

    Is SRID prefix required?

    Return Value

    This value formatted in OData WKT (well-known text) format.

  • List of geometry values.

    Declaration

    Swift

    public final var geometries: GeometryValueList { get set }
  • Declaration

    Swift

    open class func parse(_ text: String) throws -> GeometryCollection

    Parameters

    text

    A value in GeoJSON format.

    Return Value

    A value parsed from text in GeoJSON format.

  • Declaration

    Swift

    open class func parseWKT(_ text: String, sridRequired: Bool = false) throws -> GeometryCollection

    Parameters

    text

    A value in OData WKT format.

    sridRequired

    Is SRID prefix required?

    Return Value

    A value parsed from OData WKT (well-known-text) format.