The hgis package

[Tags:bsd3, library, program, test]

Package containting functions to make graphs, read shapefiles, and compute areas/perimeters of geographic features.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.2.0, 0.1.2.1, 0.1.3.0, 0.1.3.1, 0.1.3.2, 0.1.3.3, 0.1.3.4, 0.1.3.5
Dependencies ansi-wl-pprint (>=0.6.7.3 && <0.7), base (>=4.9.1.0 && <4.10), binary (>=0.8.3.0 && <0.9), bytestring (>=0.10.8.1 && <0.11), Chart (>=1.8.2 && <1.9), Chart-cairo (>=1.8.2 && <1.9), Chart-diagrams (>=1.8.2 && <1.9), colour (>=2.3.3 && <2.4), composition (>=1.0.2.1 && <1.1), data-binary-ieee754 (>=0.4.4 && <0.5), data-default (>=0.7.1.1 && <0.8), directory (>=1.3.0.0 && <1.4), filepath (>=1.4.1.1 && <1.5), hgis (>=0.1.3.5 && <0.2), lens (>=4.15.1 && <4.16), monad-loops (>=0.4.3 && <0.5), optparse-applicative (>=0.13.2.0 && <0.14), transformers (>=0.5.2.0 && <0.6) [details]
License BSD3
Copyright Copyright: (c) 2016 Vanessa McHale
Author Vanessa McHale
Maintainer tmchale@wisc.edu
Category Web
Home page https://github.com/vmchale/hgis#readme
Source repository head: git clone https://github.com/vmchale/hgis
Uploaded Wed Jun 14 03:38:41 UTC 2017 by vmchale
Distributions NixOS:0.1.3.5
Downloads 380 total (31 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-06-14 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
llvm-fast

Enable build with llvm backend

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hgis

Readme for hgis-0.1.3.5

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.