UNPKG

gis-tools-ts

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

16 lines 813 B
import type { MValue, Properties, VectorFeature, VectorGeometry, VectorMultiLineStringGeometry } from '../../index.js'; export * from './along.js'; export * from './area.js'; export * from './clean.js'; export * from './equal.js'; export * from './intersection.js'; export * from './length.js'; export * from './pointOnLine.js'; export * from './pointToLineDistance.js'; /** * Given an input vector feature, create a collection of lines * @param data - vector feature with various geometry types * @returns - all features as a collection of points */ export declare function toLines<M = Record<string, unknown>, D extends MValue = Properties, P extends Properties = Properties>(data: VectorFeature<M, D, P, VectorGeometry<D>>): VectorMultiLineStringGeometry<D> | undefined; //# sourceMappingURL=index.d.ts.map