gis-tools-ts - v0.6.0
    Preparing search index...

    Function toLines

    • Given an input vector feature, create a collection of lines

      Type Parameters

      • M = Record<string, unknown>
      • D extends Properties = Properties
      • P extends Properties = Properties

      Parameters

      • data: VectorFeature<M, D, P, VectorGeometry<D>>

        vector feature with various geometry types

      Returns undefined | VectorMultiLineStringGeometry<D>

      • all features as a collection of points