geo icon indicating copy to clipboard operation
geo copied to clipboard

"CentroidCellID()" method for `CellUnion`

Open benguild opened this issue 2 weeks ago • 1 comments

I find this useful occasionally, but open to thoughts including about whether it belongs in the library.

benguild avatar Dec 12 '25 07:12 benguild

I can possibly see the use of the centroid as a point, but it seems rare. We can't add every function someone wants once.

Converting to a cell id seems odd.

I agree it may be rare especially given the age of this library and the fact that no one has suggested it yet. It can be useful to get approximate distance from the center of the collection of cells, for example, using that "centermost" cell… without having to figure that out from scratch.

If it's not deemed useful enough we could close.

benguild avatar Dec 12 '25 18:12 benguild

I'm going to close this one, since I'm not sure if it's a strong enough fit.

benguild avatar Dec 17 '25 16:12 benguild