UNPKG

well-known-parser

Version:

A WKT/WKB/EWKT/EWKB/TWKB/GeoJSON parser and serializer

11 lines (10 loc) 692 B
import { BinaryReader } from '../binaryreader'; import { WktParser } from '../wktparser'; import { GeometryOptions } from '../types'; import { LineString } from '../linestring'; import { LineString as GeoJSONLineString } from 'geojson'; export declare function parseLineStringWkt(value: WktParser, options: GeometryOptions): LineString; export declare function parseLineStringWkb(value: BinaryReader, options: GeometryOptions): LineString; export declare function parseLineStringTwkb(value: BinaryReader, options: GeometryOptions): LineString; export declare function parseLineStringGeoJSON(value: Pick<GeoJSONLineString, 'coordinates'>): LineString; //# sourceMappingURL=linestring.d.ts.map