How to go from a GeoJSON Feature to a set of geohashes? #1009
Replies: 2 comments
-
I don't think this belongs to I believe the best option is to define a grid of the resolution you want, pick the squares that intersect your geometry, then encode their centres using |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry for mis-posting and the late response. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, I hope that I am posting in the right place (I apologize if I am not).
I have a GeoJSON file that contains a polygon for each districts of a city. What I would like to get is, for each district, the set of geohashes that are contained within the district's polygon. To decode the GeoJSON I'm using the
geojson
crate, for the geohashes thegeohash
create, but I did not found in the documentation a way to do something like:geojson::geometry::Geometry
Does someone has already faced something similar, and can point me out some resources to be able to find a solution for my problem?
Beta Was this translation helpful? Give feedback.
All reactions