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

[ bsd3, geo, program ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Dependencies arcgrid, base (>=4.9 && <5.0), bytestring, gloss, transformers [details]
License BSD-3-Clause
Author Nikolay Burkov
Maintainer nbrk@linklevel.net
Category Geo
Home page https://github.com/nbrk/arcgrid-viewer
Source repo head: git clone https://github.com/nbrk/arcgrid-viewer
Uploaded by nbrk at 2017-11-13T18:20:22Z
Distributions NixOS:0.1.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Executables arcgrid-viewer
Downloads 1101 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-0.1.0.0

[back to package description]

Simple viewer of ArcGrid geospatial data written in Haskell

Synopsis

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.

Installation

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 https://github.com/nbrk/arcgrid.git
$ git clone https://github.com/nbrk/arcgrid-viewer.git
$ 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

Usage

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.

Controls

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
  r-key

TODO

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