turfpy icon indicating copy to clipboard operation
turfpy copied to clipboard

Generalize feature collection param in nearest_point?

Open deeplook opened this issue 5 years ago • 0 comments

It would be much more convenient to allow arbitrary feature collections in turfpy.measurements.nearest_point(pt, fc). Right now this has to be a list of points, which the user will likely often have to create from an existing feature collection. Such a change might result in a more general API than the one originally offered by turf.js. Which needs to be explained, etc.

deeplook avatar Sep 03 '20 07:09 deeplook