Earlier quoted context omitted.
That's really cool! The only other optimization that I wanted to try and do was to use GPU acceleration to support huge numbers of shapes and entities. Something similar to what's described here [0]. I think it would really help for very very large numbers of entities or large complex geometry. [0] - https://devblogs.nvidia.com/thinking-parallel-part-i-collisi...
I think JB originally added Z for zoom level for map tile zoom level, but (having done exactly this for some internal demos) you can totally abuse it for what you want and it works well. Tile38 is a really excellent geospatial database and a lovely codebase. As for integrating GPU - look at Gorgonia's CU package by Xuanyi Chew that will give you ahead start from using CUDA from Go. Good luck.
Re: Show HN: Tile38 – Realtime geofencing and geospatial index
#21The Z coord is a flexible field that can handle any numerical range. Zoom level, elevation, timestamp, etc.