geohierarchy.h3_table¶
H3 cell tables -> hexagon geometry (one implementation for every package of the project).
to_gdf(df, h3_column='h3_cell')
¶
Build hexagon polygon geometries for a Polars H3 cell table.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
df
|
DataFrame
|
DataFrame with an |
required |
h3_column
|
str
|
Name of the cell-id column. |
'h3_cell'
|
Returns:
| Type | Description |
|---|---|
|
|
|
|
geometry for each cell -- this is the package's I/O boundary for H3 |
|
|
data (matches street-edge output, which is also handed back as a |
|
|
GeoDataFrame at the API layer). |