Document the differences between the 4 (5?) diff. `center*` functions
See original GitHub issue@stebogit Brings up a good point that we now have a confusing set of four (or five) different measures for “center.” This may make perfect sense to geographers, but is probably opaque to non-geographers. (I mean, I’m still not 100% on understanding @turf/center-of-mass
!)
I’ve drafted some boilerplate language that can go in the READMEs for all of them. See #1122 and its README for that draft. It’s just the beginning, however. I also think I could/should draft an infographic that shows what influences each calculation. The idea would be to include the infographic in all of the center functions’ pages on the web documentation and/or in their READMEs?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Differences and approximate derivatives - MATLAB diff
This MATLAB function calculates differences between adjacent elements of X along the first array dimension whose size does not equal 1:
Read more >Compare document differences using the legal blackline option
The legal blackline option compares two documents and displays only what changed between them. The documents that are being compared are not changed....
Read more >An introduction to using diff and patch together | TechTarget
Use the diff command in Linux to discover subtle differences between code files. Then, use the patch command to update those code files...
Read more >IEP vs. 504 Plan: What's the Difference? - Understood.org
Unlike an IEP, a 504 plan doesn't have to be a written document. A 504 plan generally includes the following: Specific accommodations ,...
Read more >Compare Google Workspace editions
Google Workspace offers subscription options for individuals, small businesses, large organizations, and schools. Compare Business editions (1-300 users) To ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I created a draft diagram showing the four different center functions in turf. It turns out
@turf/centroid
behaves exactly as@turf/center-mean
does, but the latter allows for weighting. I don’t know if this diagram makes things any clearer, but maybe…Move discussion to #1154.