Skip to content

child_pos_to_cell arguments are not consistent with C #469

@isaacbrodsky

Description

@isaacbrodsky

Compare

cpdef H3int child_pos_to_cell(H3int parent, int child_res, int64_t child_pos) except 0:

to https://h3geo.org/docs/api/hierarchy#childpostocell

C has:
H3Error childPosToCell(int64_t childPos, H3Index parent, int childRes, H3Index *child);

Python has:
h3.child_pos_to_cell(parent, res_child, child_pos)

h3-duckdb matches the C library (which needs to be fixed in the docs uber/h3#1089)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions