Parse GeoJSON from a file that is in the geojson-text-sequences format. Implements the FeatureIterator interface.
geojson-text-sequences
import { SequenceJSONReader } from 'gis-tools-ts';import { FileReader } from 'gis-tools-ts/file';const reader = new SequenceJSONReader(new FileReader('./data.geojsonseq'));// read the featuresfor await (const feature of reader) { console.log(feature);} Copy
import { SequenceJSONReader } from 'gis-tools-ts';import { FileReader } from 'gis-tools-ts/file';const reader = new SequenceJSONReader(new FileReader('./data.geojsonseq'));// read the featuresfor await (const feature of reader) { console.log(feature);}
the input to parse from
Generator to iterate over each (Geo|S2)JSON object in the file
Text Sequence JSON Reader
Description
Parse GeoJSON from a file that is in the
geojson-text-sequences
format. Implements the FeatureIterator interface.Usage
Links