arongergely / qgis-h3-toolkit-plugin

Brings the H3 discrete global grid system to QGIS. :rocket::globe_with_meridians:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Generate grid for global extent

kannes opened this issue · comments

commented

I hoped I could create a global grid at a reasonable resolution but the plugin uses the canvas extent and requires the extent to not be bigger than +-180°/+-90°. This means one can not create a grid covering the whole earth.

It would be great if there was a way to generate all hex cells for covering the sphere for selected resolutions.

Thanks for the request.

Sounds useful, I will add this.
However, hexes that span across CRS bounds (+-180°/+-90°) would not display correctly in QGIS.
I can have the current tools support this feature by:

  • reworking coordinate extent validation so it understands global CRS extent.
  • adding option to split or remove hexes that span across CRS bounds.

Hope to find some time soon to work on this plugin, have more enhancements planned ;)

Until then you could go the PostgreSQL route.
h3 extension + maybe the geography data type of postgis

commented

Awesome! Yeah the antimeridian issues with QGIS aren't fun. I was a bit blinded the other day where I looked at the grids in a ortho projection and they looked fine-ish. But turns out that even selecting features is broken with it and seemingly overlay analysis too. D'oh :(