Skip to contents

All functions

a5_from_hex()
Convert hexadecimal string to A5 cell ID
a5_from_lonlat()
Convert longitude/latitude to A5 cell ID
a5_resolution()
Get the resolution of an A5 cell
a5_to_hex()
Convert A5 cell ID to hexadecimal string
a5_to_lonlat()
Convert A5 cell ID to longitude/latitude
cell_to_children()
Get the children cells at a finer resolution
cell_to_lon_lat()
Convert A5 cell ID to latitude/longitude
cell_to_parent()
Get the parent cell at a coarser resolution
compact()
Compact a set of cells by merging complete sibling groups into parent cells
get_cell_area()
Get the area of a cell at a given resolution
get_cell_boundary()
Get the boundary of an A5 cell as a list of coordinates
get_num_cells()
Get the number of cells at a given resolution
get_res0_cells()
Get all resolution 0 (base) cells
get_resolution()
Get the resolution of an A5 cell
hex_to_u64()
Convert hexadecimal string to A5 cell ID
lon_lat_to_cell()
Convert latitude/longitude to A5 cell ID
u64_to_hex()
Convert A5 cell ID to hexadecimal string
uncompact()
Uncompact (expand) cells to a target resolution