How to Perform GIS Computations on Non-GIS Databases

Programming Tech Brief By HackerNoon - A podcast by HackerNoon

Categories:

This story was originally published on HackerNoon at: https://hackernoon.com/how-to-perform-gis-computations-on-non-gis-databases. If your backend storage doesn't natively support spatial queries, this article is tailored for you. Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #programming-tutorial, #geospatial, #k-nearest-neighbor, #gis-computations, #non-gis-databases, #google-maps, #hackernoon-top-story, #geo-indexing, and more. This story was written by: @joellopes. Learn more about this writer by checking @joellopes's about page, and for more stories, please visit hackernoon.com. If your backend storage doesn't natively support spatial queries, this article is tailored for you. You can always build another microservice to handle spatial data, but this option often involves the overhead of maintaining an additional application. Another approach is to use geo-indexing libraries like S2 and H3. S2 divides the sphere into cells, each with a unique 64-bit identifier. Higher levels correspond to finer resolutions and smaller cell areas.