1.0.1 • Published 4 years ago
featurecollection-filterer v1.0.1
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 |