Parse a collection of WKT geometries from a string implements the FeatureIterator interface
import { WKTGeometryReader } from 'gis-tools-ts';const reader = new WKTGeometryReader('POINT(4 6) GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4,5 6))');// read the featuresfor await (const feature of reader) { console.log(feature);} Copy
import { WKTGeometryReader } from 'gis-tools-ts';const reader = new WKTGeometryReader('POINT(4 6) GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4,5 6))');// read the featuresfor await (const feature of reader) { console.log(feature);}
the WKT geometry string to parase
Generator to iterate over each (Geo|S2)JSON object in the file
WKT Geometry Reader
Description
Parse a collection of WKT geometries from a string implements the FeatureIterator interface
Usage
Links