Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

h3converter-0.1.0.tar.gz (145.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

h3converter-0.1.0-py3-none-any.whl (148.0 kB view details)

Uploaded Python 3

File details

Details for the file h3converter-0.1.0.tar.gz.

File metadata

  • Download URL: h3converter-0.1.0.tar.gz
  • Upload date:
  • Size: 145.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for h3converter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4276d3d4f63a49294bdaf1d28fc5a0abafb299636b3db1cb828ce962575e9147
MD5 44db551a8547942dce15c96c07bc4c13
BLAKE2b-256 4cb7042602bffc8ed1976871e078c4f5ed27c13364751d0e43e0339a16dbf8bb

See more details on using hashes here.

File details

Details for the file h3converter-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: h3converter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 148.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for h3converter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 908b0cd7072986e1fba5c8f6354d1fd44713ab5bdfd50741c5c32e1a19558e81
MD5 f450060d7e1959a426afbd273c15b804
BLAKE2b-256 129189d79570bb28b2ba449f942338e773b0e17f53fdbbe881ff7052988109fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page