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

New module @turf/center-mean #1089

Merged
merged 12 commits into from
Nov 17, 2017
Merged

Conversation

muziejus
Copy link
Collaborator

Please fill in this template.

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Have read How To Contribute.
  • Run npm test at the sub modules where changes have occurred.
  • Run npm run lint to ensure code style at the turf module level.

Submitting a new TurfJS Module.

  • Overview description of proposed module.
  • Include JSDocs with a basic example.
  • Execute ./scripts/generate-readmes to create README.md.
  • Add yourself to contributors in package.json using "Full Name <@github Username>".

@muziejus
Copy link
Collaborator Author

I couldn't find this function, as turf-center and turf-center-of-mass seem to do different things. A simple (weighted) mean center function will come in handy once I start calculating standard deviations, etc.

@DenisCarriere
Copy link
Member

👍 Sweet looks great, however I'm going refactor this as an optional parameter within @turf/center, I'm still going to merge PR to preserve your commit contributions to TurfJS.

Thanks a lot @muziejus ! 🎉

@DenisCarriere DenisCarriere merged commit 1601e64 into Turfjs:master Nov 17, 2017
@DenisCarriere DenisCarriere added this to the 5.1.0 milestone Nov 25, 2017
@DenisCarriere DenisCarriere changed the title Create submodule that calculates the Mean center of a collection of points New module @turf/center-mean Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants