featurecollection-filterer
v1.0.1
Published
Utility to filter features inside GeoJSON FeatureCollection by conditions
Downloads
14
Readme
Functions
Typedefs
filter(GeoJSON, condition)
Filters GeoJSON FeatureCollection based on condition
Kind: global function
| Param | Type | Description | | --------- | ------------------------------ | ------------------------------------------------------------------------------ | | GeoJSON | FeatureCollection | GeoJSON to filter | | condition | function | Accesor function to filter features by. ex: (d) => d.properties.altitude > 400 |
Feature
Kind: global typedef
Properties
| Name | Type | | ---------- | -------------------------------- | | type | 'Feature' | | geometry | object | | properties | object |