@hackage hgis1.0.0.2
Library and for GIS with Haskell
Categories
License
BSD-3-Clause
Maintainer
vamchale@gmail.com
Links
Versions
Installation
Dependencies (17)
- Chart
- Chart-cairo
- Chart-diagrams
- ansi-wl-pprint
- base >=4.11 && <5
- colour Show all…
Dependents (1)
@hackage/acme-everything
Package Flags
development
(off by default)
Turn on '-Werror'
cairo
(on by default)
Enable build using cairo backend, allowing generation of PNGs
diagrams
(on by default)
Enable build using diagrams backend, allowing generation of SVGs
HGIS (aichgis)
About
This is a library and command-line tool for GIS.
Currently, it generates maps and computes perimters, areas, and compactness. You can use it to look at your congressional district for evidence of gerrymandering.
Installation
hgis is best installed with stack. Try
stack install hgis
or
stack install hgis --flag hgis:-cairo
to install with bindings cairo library, which will enable outputs as PNGs.
You can also clone this repository and type stack build if you want to start hacking.
Usage
Command-line
From the command line, type
hgis map --output OUTPUT.svg FILE.shp
to read a shapefile and write an svg.
You can use e.g.
hgis map --output OUTPUT.svg --projection bonne FILE.shp
to force the use of the Bonne projection.
Library
Documentation
Haddock
Haddock documentation can be accessed through hackage.