centroids
centroids copied to clipboard
Adapt code to take any iterable, not just GeoJSON
I have advice on this from @perrygeo written somewhere, will add here as a comment when I find it!