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]


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

Package maintainers

For package maintainers and hackage trustees


Versions [RSS]
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 2019-01-29T19:50:07Z
Category Database, Geography
Home page
Source repo head: git clone
Uploaded by gtsteel at 2019-01-26T03:47:38Z
Distributions NixOS:
Downloads 747 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-01-26 [all 1 reports]

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.