persistent-spatial: Database agnostic, spatially indexed type for geographic points.

[ database, geography, library, mit ] [ Propose Tags ]

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.

[Skip to Readme]
Versions [faq]
Change log
Dependencies aeson, base (>=4.7 && <5), http-api-data, integer-logarithms, lens, persistent, text [details]
License MIT
Copyright 2019 Satsuma Labs
Author George Steel
Revised Revision 1 made by gtsteel at Tue Jan 29 19:50:07 UTC 2019
Category Database, Geography
Home page
Source repo head: git clone
Uploaded by gtsteel at Sat Jan 26 03:47:38 UTC 2019
Distributions NixOS:
Downloads 125 total (8 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-01-26 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for persistent-spatial-

[back to package description]


This package implements a type for storing and indexing geographic coordinates which can be used with any database which supports Word64. See the haddocks for details.