Skip to content

Commit

Permalink
Feature reducers (#49)
Browse files Browse the repository at this point in the history
* Temporarily type geomEach callback to GeometryType

* Add geomReduce function and tests

* propReduce function

* WIP - featureReduce()

* WIP

* added examples and documentations

* flattenReduce WIP

* WIP

* coordReduce

* documentation

* add static types

* merge readme

* prepare new merge

* generic types for all reducer functions

* TurfJS compatible solution with type checks

* add cloning

* fixed types passed to callbacks, propReduce test

* flattenReduce and featureReduce test

* coordReduce

* minor type conv. num to int

Co-authored-by: Arman Torkzaban <[email protected]>
Co-authored-by: Lukas Himsel <[email protected]>
  • Loading branch information
3 people authored Mar 25, 2022
1 parent 4f49a28 commit 16ade7a
Show file tree
Hide file tree
Showing 2 changed files with 620 additions and 44 deletions.
Loading

0 comments on commit 16ade7a

Please sign in to comment.