uber / h3

Hexagonal hierarchical geospatial indexing system

Home Page:https://h3geo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

h3ToComponents rename to cellToComponents

mrdvt92 opened this issue · comments

In keeping with the 4.0.1 functional renames, should h3ToComponents be renamed to cellToComponents?

[build]$ ls -l bin/h3*
-rwxrwxr-x. 1 user group 23520 Nov 14 15:24 bin/h3
-rwxrwxr-x. 1 user group 23600 Nov 14 15:24 bin/h3ToComponents
-rwxrwxr-x. 1 user group 23432 Nov 14 15:25 bin/h3ToHier
$ ./bin/h3ToComponents --help
./bin/h3ToComponents: Converts H3 indexes to component parts
H3 4.0.1
        -h, --help      Show this help message.
        -v, --verbose   Verbose output mode.
        -i, --index <index>     Index, or not specified to read indexes from standard input.

👍 Yes, we should rename

I think this was left this way because it should be able to accept any H3Index, such as an edge or vertex. If it works on any index, we might want to rename it to indexToComponents or toComponents in the h3 CLI.