ndgeojson-lint

0.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i ndgeojson-lint

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • ryanfb