h3
S2 geometry
Our great sponsors
h3 | S2 geometry | |
---|---|---|
21 | 4 | |
4,593 | 1,638 | |
2.2% | 1.0% | |
7.2 | 2.0 | |
3 days ago | 10 months ago | |
C | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
h3
- H3: Hexagonal hierarchical geospatial indexing system
- Evaluation of Location Encoding Systems
- Not sure if this is the worst or most genius indentation I've seen
-
A population density map of the state of Pennsylvania
It looks like the base Kontur dataset uses H3 resolution 8, and thereโs a lookup table here. โ400mโ seems to refer to the edge length (which averages to 461m).
-
[ANN] HexTree: geographical region-to-value mapping
I can speak to quadtrees, but the primary reason for using this is that you need a geographic "dictionary" (not using the word map to avoid confusion with charts), and you're perhaps already using the H3 hexagonal grid system.
-
What's everyone working on this week (34/2022)?
HexSet: is a way of storing a set of H3 cells in a tree, and doing fast (2-20 ns on my 2013 trashcan Mac Pro) membership tests. You must first convert the input data (e.g. GeoJSoN polygon) into H3 cells.
-
Surprising result while transpiling C to Go
> What an amazing tool that can completely change function names when it converts from C to Go.
How can one read the code of the benchmark, then switch into virulent sarcasm mode without trying to understand the code? And seeing "+1" comments without any effort to understand is also disheartening.
The blog post had a link about the Go helper functions the author used. It lands on https://github.com/akhenakh/goh3/blob/main/h3.go This shows that the `FromGeo()` function used by the Go benchmark is a helper that calls transpiled functions. The benchmark code itself was of course not transpiled, so the sarcasm was unneeded and wrong.
If anyone wants to dig in deeper, the C function `latLngToCell()` calls 2 functions, see https://github.com/uber/h3/blob/master/src/h3lib/lib/h3Index...
- Completely ignorant Newbie needing help with launching Ubers H3 Software.
-
Anyone doing geospatial queries? NoSQL? Amazon Location Service?
Uber just released their library to perform geospatial indexing - https://h3geo.org/. This might be an useful building block for you.
S2 geometry
-
I wrote a package to compute the distance between two geographic latitude, longitude coordinates
I could be mistaken, but https://github.com/golang/geo does it already...
-
Get Coordinates Within Maps Bound Box
s2 a geo library from google can do exactly that, and has an implementation in Go. https://github.com/golang/geo
- Looking for a library to perform boolean operations on polygons
-
Protocol buffers database, a Key-Value database on the wire
There's a Java port and bindings for Python. The go port has been a work in progress for a while and the claimed to be at about 40% done. There's a rust port but it is based off of the go port and thus not complete either.
What are some alternatives?
Leaflet - ๐ JavaScript library for mobile-friendly interactive maps ๐บ๐ฆ
S2 geojson - Draw a polygon on the map or paste a geoJSON and explore how the s2.RegionCoverer covers it with S2 cells depending on the min and max levels
mapbox-gl-js - Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
h3-go - Go bindings for H3, a hierarchical hexagonal geospatial indexing system
starlink-coverage - Calculating some statistics about Starlink satellites
osm - General purpose library for reading, writing and working with OpenStreetMap data
s2geometry - Computational geometry and spatial indexing on the sphere
mbtileserver - Basic Go server for mbtiles
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2
simplefeatures - Simple Features is a pure Go Implementation of the OpenGIS Simple Feature Access Specification
Cesium - An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
geoserver - geoserver is a Go library for manipulating a GeoServer instance via the GeoServer REST API.