hgis: Library and for GIS with Haskell

[ bsd3, library, web ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Modules

[Last Documentation]

  • GIS
    • Graphics
      • GIS.Graphics.PlotPNG
      • GIS.Graphics.PlotSVG
    • GIS.Hylo
    • Math
      • GIS.Math.Projections
      • GIS.Math.Spherical

Flags

Manual Flags

NameDescriptionDefault
development

Turn on '-Werror'

Disabled
Automatic Flags
NameDescriptionDefault
cairo

Enable build using cairo backend, allowing generation of PNGs

Enabled
diagrams

Enable build using diagrams backend, allowing generation of SVGs

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 0.1.3.6, 0.1.3.7, 0.1.3.8, 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.0.0.3
Dependencies ansi-wl-pprint, base (>=4.11 && <5), binary, bytestring, Chart, Chart-cairo, Chart-diagrams, colour, composition-prelude (>=1.1.0.1), data-binary-ieee754, data-default, directory, filepath, lens, monad-loops [details]
License BSD-3-Clause
Copyright Copyright: (c) 2016-2018 Vanessa McHale
Author Vanessa McHale
Maintainer vamchale@gmail.com
Category Web
Source repo head: darcs get https://hub.darcs.net/vmchale/hgis
Uploaded by vmchale at 2018-07-03T12:38:30Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 10958 total (48 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-07-03 [all 3 reports]

Readme for hgis-1.0.0.1

[back to package description]

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.