An open API service indexing awesome lists of open source software.

https://github.com/caged/ndjson-filter-geo


https://github.com/caged/ndjson-filter-geo

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

A hack on top of https://github.com/mbostock/ndjson-cli which filters features based on geometry intersections. Much of this lifted from the existing [ndjson-filter](https://github.com/mbostock/ndjson-cli/blob/master/ndjson-filter) implementation.

``` bash
cat test/grid.json \
| ./ndjson-filter-geo --feature <(cat test/oregon.json) 'intersects(d)' \
| ndjson-filter 'd.properties.UL_LAT > 46'
```