Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize feature collection param in nearest_point? #51

Open
deeplook opened this issue Sep 3, 2020 · 0 comments
Open

Generalize feature collection param in nearest_point? #51

deeplook opened this issue Sep 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@deeplook
Copy link
Collaborator

deeplook commented Sep 3, 2020

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.

@omanges omanges added the enhancement New feature or request label Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants