I was having a conversation with a coworker and was looking for exactly what Tile38 is, telling them the amazing kinds of realtime-GIS things available out there, and I remember seeing this a while back but didn't remember the name. Thanks for jogging my memory.<p>I'd love to see a writeup on how you efficiently did this (I'm assuming protobufs?). I'm constantly telling one of my clients (gov) that it's no longer a big deal to show even 10,000 points on a map thanks to Mapbox GL etc in a performant way, without relying on GeoJSON. Now I can show this proof of concept.
The tile38 docs (<a href="https://github.com/tidwall/tile38" rel="nofollow">https://github.com/tidwall/tile38</a>) are really good.<p>Lots of animated GIFs combined with great structured text that really helps quickly explain all the complex things that a geospatial index can do.
well, points for this<p><pre><code> This package provides an in-memory R-Tree implementation for Go, useful as a
spatial data structure.
It has support for 1-20 dimensions, and can store and search multidimensions
interchangably in the same tree.
Authors
-------
* 1983 Original algorithm and test code by Antonin Guttman and Michael
Stonebraker, UC Berkely
* 1994 ANCI C ported from original test code by Melinda Green
* 1995 Sphere volume fix for degeneracy problem submitted by Paul Brook
* 2004 Templated C++ port by Greg Douglas
* 2016 Go port by Josh Baker
License
-------
RTree source code is available under the MIT License.</code></pre>