Questions tagged [h3]

The H3 geospatial indexing system is a multi-precision hexagonal tiling of the sphere indexed with hierarchical linear indexes.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Executing Geojson2h3 on the browser without Nodejs

I am trying to execute Geojson2h3 on the client browser without Nodejs. I have imported the 'geojson2h3.js' javascript file. However, I am getting an error with the following code. I am hoping that ...
user avatar
2 votes
1 answer
54 views

Why is h3.polyfill(geojson, 15) returning empty list for this polygon?

I have a polygon the size of an office block in WGS84 coordinate system. When I run h3.polyfill at resolution 15 it should return a large number of h3 res15 addresses whose centroids are contained in ...
user avatar
1 vote
0 answers
39 views

PostGIS/PostgreSQL Heavy performance issues with SUM

Not sure if this is specific of GIS stuff or simply a SQL performance issue, but due to the nature of the issue and that I am working with H3 data types here it goes I have a query that runs very ...
user avatar
1 vote
3 answers
155 views

Converting line to set of H3 hexagons?

What is a proper way to convert a GeoJSON linestring to a set of H3 hexagons? I came up with an algorithm where I extract points from a line, calculate an H3 hexagon of these points geo_to_h3 connect ...
user avatar
  • 33
2 votes
1 answer
155 views

h3 grids wrapping around projected map

I am trying to create a map out of a file with millions of points. To make this tractable, I am using h3 to aggregate the points. After doing the aggregation using a combination of h3 and pandas in ...
user avatar
  • 779
2 votes
3 answers
821 views

Distorted h3 hexagons using h3js with Mapbox

When a user clicks on a Mapbox streets-v11 map, I'm attempting to: Take the clicked point, and identify the h3 hexagon (at resolution 10) around the point Convert the hexagon coordinates into the ...
user avatar
  • 21
1 vote
2 answers
322 views

h3_to_polygon (R) to Python?

I am looking for a way to convert H3 hex-ids (e.g., '87422c2a9ffffff') to Polygon geometry. In R, we would use: h3_to_polygon() But I am having a hard time finding the equivalent in Python.
user avatar
  • 113
3 votes
0 answers
1k views

H3-Python: How to generate hex bins over shapefile?

I am trying to generate hexbins over my shapefile to eventually cluster other geospatial events to them using H3. Here is my process, but I am wondering if there is a better way. # packages from h3 ...
user avatar
  • 113
2 votes
0 answers
903 views

How to convert GeoJSON points to H3 hexagons in Python

I am trying to take a geojson file of points and convert it to H3 hexagons in my Python script. In JavaScript, there is a separate package called geojson2h3, but the Python h3 module has a method ...
user avatar
  • 1,679
4 votes
1 answer
1k views

Uber H3 DGGS: Table of largest hexagons per resolution?

I'm evaluating the use of H3 as a DGGS for a project, and so far I've been unable to find any reference of the area of the largest and smallest hexagons in the grid at each resolution. The "official" ...
user avatar
  • 239
3 votes
1 answer
401 views

Distorted H3 hexagons - even though projection is matching

Using H3-py's h3_to_geo_boundary a WKT linestring (via shapley polygons) can be generated. When later visualizing the hexagons, why are they distorted? How can this be fixed? To my best knowledge, ...
user avatar
5 votes
4 answers
3k views

Using Uber H3 hexagon grids in QGIS

How can I create a spatial binning similar to or directly using Uber h3 from QGIS UI? Are there plugins available to achieve the desired task?
user avatar
4 votes
4 answers
5k views

Seeking shapefile of hexagons that covers world?

I'd like a persistent .shp that covers the world in hexagons (preferably of a decently small area)–does anybody know where I could find something like this, or perhaps what software I could use to ...
user avatar
  • 151