0.0.1 • Published 6 years ago
ndgeojson-lint v0.0.1
ndgeojson-lint
A lint tool for newline-delimited GeoJSON streams. Based on geojsonhint
.
Install
npm install --global ndgeojson-lint
Usage
ndgeojson-lint filename.ndgeojson
You can also pipe newline-delimited GeoJSON to ndgeojson-lint
on STDIN, e.g.:
find . -name '*.geojson' -exec cat {} \; | jq -c . | ndgeojson-lint
Alternatives
- You could use
geojson-merge
to create a single GeoJSON file/FeatureCollection
, but this is tricky to do if you have more GeoJSON files than what your shell's argument length limits will allow.. - You could invoke
geojsonhint
on each individual GeoJSON file, but this is relatively slow for a large number of files.
0.0.1
6 years ago