Classdesc

Geometry format for reading and writing data in the WellKnownText (WKT) format.

Param: opt_options

Options.

Api

stable

Hierarchy

Constructors

  • Parameters

    Returns WKT

    Classdesc

    Geometry format for reading and writing data in the WellKnownText (WKT) format.

    Api

    stable

Methods

  • Read a feature from a WKT source.

    Parameters

    • source: string | Object | Node | Document

      Source.

    • Optional opt_options: ReadOptions

      Read options.

    Returns ol.Feature

    Feature.

    Function

    Api

    stable

  • Read all features from a WKT source.

    Parameters

    • source: string | Object | Node | Document

      Source.

    • Optional opt_options: ReadOptions

      Read options.

    Returns ol.Feature[]

    Features.

    Function

    Api

    stable

  • Read a single geometry from a WKT source.

    Parameters

    • source: string | Object | Node | Document

      Source.

    • Optional opt_options: ReadOptions

      Read options.

    Returns ol.geom.Geometry

    Geometry.

    Function

    Api

    stable

  • Encode a feature as a WKT string.

    Parameters

    Returns string

    WKT string.

    Function

    Api

    stable

  • Encode an array of features as a WKT string.

    Parameters

    Returns string

    WKT string.

    Function

    Api

    stable

  • Write a single geometry as a WKT string.

    Parameters

    Returns string

    WKT string.

    Function

    Api

    stable

Generated using TypeDoc