s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
12 lines • 513 B
TypeScript
import type { VectorGeometry, VectorPoint } from '../../geometry';
/** WKT Value can be a point or an array of points */
export type WKTAValue = VectorPoint | WKTAValue[];
/** WKT Array can be an array of points or even nested arrays of points */
export type WKTArray = WKTAValue[];
/**
* Parse a WKT string geometry to a VectorGeometry
* @param wktStr - WKT string
* @returns - VectorGeometry
*/
export declare function parseWKTGeometry(wktStr: string): VectorGeometry;
//# sourceMappingURL=geometry.d.ts.map