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

    Function parseWKTGeometry

    • WKT Geometry Parser

      Parse individual geometries from a WKT string into a VectorGeometry

      import { parseWKTGeometry } from 'gis-tools-ts';

      const geometry = parseWKTGeometry('POINT (1 2)');

      Type Parameters

      • D extends Properties = Properties

      Parameters

      • wktStr: string

        WKT string

      Returns undefined | VectorGeometry<D>

      • VectorGeometry