Questions tagged [h3]

H3 is an open source geospatial indexing system using a hexagonal grid that can be subdivided into finer and finer hexagonal grids.

Features

  • Simple, fast api for converting between lat/long coordinates and hexagon addresses
  • Multiple hexagon resolutions with hierarchical relationships between them
  • A library of common algorithms including neighbor traversal, compact and uncompact transformations, and converting between hexagon sets and polygons

The library is written in C with bindings available for other languages.

120 questions
0
votes
0 answers

PostgreSQL performance issues with aggregation

I have a query that runs very slowly (about 40 seconds) it looks like this: SELECT h3data.h3index, sum(h3data.value) FROM locations l INNER JOIN records r ON r."locationsId" = l.id INNER JOIN…
SeekanDestroy
  • 511
  • 1
  • 5
  • 12
0
votes
1 answer

Given H3 cells from polyfill, how to identify cells which are fully contained, partially contained or contiguous with the polygon?

As mentioned in the accepted answer on how to identify hexagons which overlap, i am confused as to how we can identify fully contained, partially contained or contiguous cells of a polygon (check if it intersects the polygon).
0
votes
1 answer

h3Line function throws LineUndefinedException

I want to calculate index of the h3 cells between (-39.08, -57.01) and (-38.05, -58.16) but it throws LineUndefinedException. In the documentation it says This function may fail to find the line between two indexes, for example if they are very far…
Ali Atıl
  • 121
  • 7
0
votes
0 answers

splitting the world map into grids with h3