gedih3.cli.gh3_list_resolutions#
Display H3 hexagon or EGI (EASE Grid Index) resolution levels and their characteristics.
Shows average edge length, area, and number of cells for each H3 resolution, or pixel size and description for each EGI level, helping users choose appropriate resolution and partition levels.
Attributes#
Functions#
Format large numbers with commas |
|
|
Format area with appropriate units |
|
Format edge length with appropriate units |
|
Get H3 resolution characteristics from h3 library. |
|
Get EGI resolution characteristics. |
Parse command line arguments |
|
|
Display H3 resolution table |
|
Display EGI resolution table |
|
Module Contents#
- gedih3.cli.gh3_list_resolutions.format_edge(edge_km)[source]#
Format edge length with appropriate units
- gedih3.cli.gh3_list_resolutions.get_h3_resolution_info(res: int) dict[source]#
Get H3 resolution characteristics from h3 library.
- Parameters:
- resint
H3 resolution level (0-15)
- Returns:
- dict
Dictionary with edge_km, area_km2, and cells count
- gedih3.cli.gh3_list_resolutions.EGI_DESCRIPTIONS#