uber / h3-js

h3-js provides a JavaScript version of H3, a hexagon-based geospatial indexing system.
https://uber.github.io/h3
Apache License 2.0
873 stars 79 forks source link

H3 with dynamodb #186

Open teemuvayrynen opened 1 year ago

teemuvayrynen commented 1 year ago

Hello!

I’m currently developing an application where I need to get markers from dynamo based on bounding box. I have got successful results with geohashes, but I was thinking to upgrade to using h3 indexes. I have already looked at #100, but I’m still having some difficulties regarding how to implement this.

The area can be as big as region or just a small place inside a city. Using h3 index as a range key I could use the starts_with method which is not supported in the firebase, but I don’t know how to create the indexes so that I can make a range query on them.

Thank you