-
Notifications
You must be signed in to change notification settings - Fork 943
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
Create Centroids from Property Name (new module proposal) #841
Comments
@DenisCarriere I don't necessarily see the need of a new module. Sorry maybe I was not clear here. My thought is that when you apply any |
Abstracting these types of features/modules makes it so we don't need to "bundle" them into every module, even though it's doing 1 extra iteration (forEach), it's so fast that it won't really impact any of the processing. It actually slows things down if a user doesn't need the We should do the same for |
👾 🚀 Future you will need this module |
@DenisCarriere why don't we use this module to apply a |
🥇 That's an even better idea, that way we can apply "whatever" method we throw at it (concaveman or centroid). 👍 I like |
Going to close this issue and re-create one using |
@DenisCarriere I'd add also a |
Maybe we should place all these types of methods as part of parent
|
New Module proposal
Module based on @stebogit's need to create centroids from clusters (FeatureCollection of Points).
Abstract implementation of creating centroids which all features are entirely filtered by GeoJSON Properties (input not specific to only Points Collection, all GeoJSON types should be supported).
No idea what this would be called (
centroids-from-properties
?)... got to sleep on that one.Could also integrate all 3 centroid based operations:
center
centroid
center-of-mass
@stebogit Thoughts?
Considerations
property
values to centroidsundefined
properties (points should be excluded if they don't contain the property)Source Code example (Draft)
The text was updated successfully, but these errors were encountered: