https://github.com/vmchale/hgis
Haskell as a GIS
https://github.com/vmchale/hgis
gis haskell haskell-library
Last synced: 10 months ago
JSON representation
Haskell as a GIS
- Host: GitHub
- URL: https://github.com/vmchale/hgis
- Owner: vmchale
- License: bsd-3-clause
- Created: 2017-02-28T22:10:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T03:39:35.000Z (over 8 years ago)
- Last Synced: 2025-04-04T08:01:38.516Z (10 months ago)
- Topics: gis, haskell, haskell-library
- Language: Haskell
- Size: 3.43 MB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://haskellstack.org/). Try
```
stack install hgis
```
or
```
stack install hgis --flag hgis:-cairo
```
to install with bindings [cairo](https://cairographics.org/) 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.