h3-toolkit
Documentation
Concepts & Design Patterns
Method Chaining & Return Values
Design Philosophy
Method Return Values
Data Processing & Configuration
Result Extraction
Visualization
Usage Patterns
Complete Chaining Workflow
Visualization with Chaining
Complete Workflow
Return Value Summary Table
Benefits of This Design
API Documentation
h3_toolkit package
h3_toolkit.core module
h3_toolkit.aggregation module
h3_toolkit.hbase module
h3_toolkit.utils module
h3_toolkit.exceptions module
Usage Examples
vector data
1. Import geometry data
1.1. Use
geopandas
to fetch vector data from Postgis (slowly)
1.2. Use
polars+connectorx
to fetch vector data from Postgis (faster, recommended)
1.3. Use
geopandas
to read geometry file
2. Geometry to h3
3. Scale current h3 resolution to the target resolution
4. Visualization
5. Customize the aggregation function
raster data
1. Fetch raster data
1.1. fetch from PostGIS
1.2. Use
rasterio
to read raster data
2. Convert raster to h3
3. Scale current h3 resolution to the target resolution
4. Visualization
hbase data
1. set hbase client
2. Select boundary of the data
3. Chain all steps together
4. fetch data from hbase and aggregate new data back to hbase
5. Visualization
h3-toolkit
API Documentation
View page source
API Documentation
h3_toolkit package
h3_toolkit.core module
h3_toolkit.aggregation module
h3_toolkit.hbase module
h3_toolkit.utils module
h3_toolkit.exceptions module