arcgrid-viewer: Simple viewer for ESRI/ArcInfo (ArcGrid) geospatial data

[ bsd3, geo, program ] [ Propose Tags ]

A simple viewer for ESRI/ArcInfo (ArcGrid) files. Users can pan, zoom and rotate the rendered dataset.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS]
Dependencies arcgrid, base (>=4.9 && <5.0), bytestring, gloss, transformers [details]
License BSD-3-Clause
Author Nikolay Burkov
Category Geo
Home page
Source repo head: git clone
Uploaded by nbrk at 2017-11-13T18:20:22Z
Distributions NixOS:
Reverse Dependencies 1 direct, 0 indirect [details]
Executables arcgrid-viewer
Downloads 1060 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2017-11-13 [all 3 reports]

Readme for arcgrid-viewer-

[back to package description]

Simple viewer of ArcGrid geospatial data written in Haskell


A simple viewer for ESRI/ArcInfo (ArcGrid) files. A user can pan, zoom and rotate the rendered dataset with keyboard and mouse (see Controls).

alt text

The program uses shades of red (by default) normalized by minimum and maximum value in the VAT of the curent dataset. Black colour represents lower value than the red one.


The program depends on gloss and arcgrid libraries. The easiest way is to install utulity stack and build the software from the source code.

Currently, as this:

$ git clone
$ git clone
$ cd arcgrid-viewer
$ stack install
# Usually stack will install the program binary in ~/.local/bin .
# You can add it to PATH of you want.
$ ~/.local/bin/arcgrid-viewer ../arcgrid/sample/alps_huge.asc


The program supports rendering the dataset in few color schemes (red, black and white, a spectre) in both vector and raster modes.

Usage: arcgrid-viewer [OPTION...] <file>
  -c MODE  --color=MODE  color scheme: red|bw|fancy
  -r MODE  --mode=MODE   rendering mode: vector|raster

The defaults are to render in raster with red gradient. Please keep in mind that big datasets take time and resources to parse and render!

There is some sample .asc elevation data from the Alps. It resides in arcgrid library and is located in arcgrid/sample.


The program uses gloss library for rendering and display. Therefore, the controls are:

* Quit
  - esc-key

* Move Viewport
  - arrow keys
  - left-click drag

* Zoom Viewport
  - page up/down-keys
  - control-left-click drag
  - right-click drag
  - mouse wheel

* Rotate Viewport
  - home/end-keys
  - alt-left-click drag

* Reset Viewport


  • Optimization. The viewer is too damn slow!
  • Maybe restrict display only to a selected rectangle.