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
2 answers

H3 - How to get center lat long of a multi polygon?

I have created Multi polygons using h3SetToMultiPolygon from the list of H3 cell ids as shown below: Now I want to get the center (I know it's not a perfect shape to get the center, but a rough one should be fine) of the Multi Polygon which I am…
Premshankar Tiwari
  • 3,006
  • 3
  • 24
  • 30
0
votes
2 answers

How would I draw hexagonal grid using H3 in Javascript?

I want to make a system where a user will be able to draw a hexagonal grid. The regions and their coordinates will be stored in Database. We are thinking to implement H3 libary for this. How will be the library help is in making H3 hexagons all over…
0
votes
0 answers

Problem when generating a Sparklyr extension with H3-Index

For a few days now I'm working on a Sparklyr extension in which we could use an already created Spark SQL extension for indexing geospatial data into H3 hexagons (https://index.scala-lang.org/nuzigor/h3-spark) but I'm very confused on the steps to…
0
votes
1 answer

Use the H3 cell index to create a bounding box and perform a point in bbox operation

With latitude and longitude, there is the possbility to create a bounding box based on xmax/ymax and xmin/ymin. Having coordinates, I can perform a range search to check, if these coordinates are withing the bounding box. Something like xmax >=…
four-eyes
  • 10,740
  • 29
  • 111
  • 220
0
votes
1 answer

Uber H3 Hex - Search database of res 10 indexes for their res 4-9 parents

I have a large database of location points and their corresponding res 10 hexes. I need to query this database and identify how many points are in a certain res 4, 5, 6, 7, 8, and 9 hex. Is this possible without adding additional res indexes in the…
0
votes
0 answers

Terrain map with satellite texture and hex grid with deck.gl

I want to make a map with deck.gl (or alternatives, open for advice). It should be a terrain map with satellite images as textures and a colored hex grid overlay. Any hints on how to accomplish this? As I understand, it should be possible to combine…
Danijan
  • 31
  • 6
0
votes
1 answer

h3.polyfill misses indices for Antarctica geojson

Could you please help me understand the issue with H3 geospatial indexing? import h3 geo_antarctic =…
Arty
  • 5
  • 3
0
votes
0 answers

How to disable remove data set and remove layers buttons in kepler.gl

I want to disable the remove data set and remove layers buttons in the kepler.gl map enter image description here enter image description here and here is my code React.useEffect(() => { if (data) { dispatch( addDataToMap({ …
0
votes
1 answer

apply h3.string_to_h3 on dask.dataframe thru map_partitions

I would like to ask how to use dd.map_partitions for h3.string_to_h3 function. my dataframe looks like…
Franke Hsu
  • 190
  • 1
  • 2
  • 15
0
votes
1 answer

The Theory Behind H3 index system

I am getting to understand the theory behind H3 index system. I've been reading several papers on the topic of discrete global grid system, however, it seems to me there's nothing specifically about the algorithm of H3 index system. So, I have the…
0
votes
1 answer

H3 polyfill for country-scale polygons

I am trying to generate a grid for a given (multi) polygon. I understand a grid as a collection of h3 indices within a (multi)polygon boundary. Here is the code that I implemented so far: def generate_grid(region_bounds: gpd.GeoDataFrame) ->…
user1877600
  • 627
  • 1
  • 9
  • 26
0
votes
2 answers

Convert H3Index to IJK Coordinate?

Is it possible to convert from: "H3Index Representation" https://h3geo.org/docs/core-library/h3Indexing to: "IJK Coordinates" https://h3geo.org/docs/core-library/coordsystems ? Assuming there is an API for it: Which API would have to be used ? And…
oOo
  • 261
  • 2
  • 16
0
votes
1 answer

H3 - Show hexagons all over India

I am trying to show the hexagons all over the world, (at least all over India) using H3 on my Leaflet map. I have tried the below logic but it doesn't work: Logic: const boundingBoxIndia = [ [38.11727165830543,…
Premshankar Tiwari
  • 3,006
  • 3
  • 24
  • 30
0
votes
1 answer

Using H3 to calculate travel times, but where would you get the route?

I am playing around with some location data and came across the Uber H3 library along with this paper on their travel time calculation methodology. There is one thing I can't seem to find an answer for. The result of this paper generates a list of…
joethemow
  • 1,641
  • 4
  • 24
  • 39
0
votes
1 answer

Overlapping polygons with hexagons

I have been struggling with polygons in python 3 for a long time. There is a geojson with a list of polygons and multipolygons. It is necessary to cover these polygons with hexes of a CERTAIN level. At the moment, hexagons are level 5, but there may…