This package helps you convert h3 hec code directly to geojson and a GeoJSON entity to h3 hex code
Project description
Convert H3
This package helps you convert h3 hec code directly to geojson and a GeoJSON entity to h3 hex code.
Sample:
H3 to GeoJSON:
from h3converter import h3converter
h3converter.h3_to_geojson(['89be455030bffff','89be455030cffff'])
GeoJSON to H3:
from h3converter import h3converter
h3converter.polyfill({'type':'Polygon','coordinates':[[[144.244589, -36.810689], [144.244246, -36.808741], [144.241989, -36.807999], [144.240075, -36.809205], [144.240418, -36.811153], [144.242676, -36.811895], [144.244589, -36.810689]]]},9)
where polyfill has (geojson, precision).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for h3converter-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 908b0cd7072986e1fba5c8f6354d1fd44713ab5bdfd50741c5c32e1a19558e81 |
|
MD5 | f450060d7e1959a426afbd273c15b804 |
|
BLAKE2b-256 | 129189d79570bb28b2ba449f942338e773b0e17f53fdbbe881ff7052988109fb |