Utility to filter features inside GeoJSON FeatureCollection by conditions
npm install featurecollection-filtererFilters GeoJSON FeatureCollection based on 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 |
Kind: global typedef
Properties
| Name | Type |
| ---------- | -------------------------------- |
| type | 'Feature' |
| geometry | object |
| properties | object |