persistent-spatial

Database agnostic, spatially indexed type for geographic points.

https://github.com/SatsumaLabs/persistent-spatial#readme

Latest on Hackage:0.1.0.0@rev:1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by George Steel
Maintained by [email protected]

Defines type for storing geographic coordinates that can be spatially indexed by any database which supports Word64. This inxeding is implemented using a normal integer index on points repersented using a Morton Z-Order curve. Geographic regions are transformed into a covering set of tiles (contigious ranges) which can be used in a single query.