A library for working with geospatial data types.

Version on this page:
LTS Haskell 11.22:
Stackage Nightly 2019-09-21:
Latest on Hackage:

See all snapshots naqsha appears in

BSD-3-Clause licensed by Piyush P Kurur
Maintained by [email protected]
This version can be pinned in stack with:naqsha-,1908

Module documentation for


Build Staus Hackage Hackage Dependencies Stackage LTS Stackage Nightly

Naqsha is a Haskell library to work with geospatial data types. The goal of this library is to provide fast and high level access to various operations in the geospatial setting like distance calculations, azimuth etc. Due to the very nature of the geometry on the surface of the globe, many of these basic tasks have multiple algorithms based on criteria like speed of computation and accuracy. We would like to provide all such algorithms in this package.

The word naqsha, or more accurately naqshA (नक़्शा), means a map or a sketch.


Change log for naqsha

[] - 24 July, 2017

  • minor tweaks to make it build with older ghc (i.e. pre-“Monoids and Applicatives in Prelude) - 22 July, 2017

  • Overall change in module structure.
    • Naqsha.Position becomes Naqsha.Geometry.Coordinate
  • Support for geohash - 6th May, 2017

Very first release of naqsha.

  • Basic Geo types, Angles, Latitudes and Longitudes

  • Haversine distance calculation.