BNF grammar for ASCII Hexagonal grids
Copyright
Copyright 2016-2017 Luís Moreira de Sousa. All rights reserved. Any use of these documents constitutes full acceptance of all terms of the documents licence.
Description
Defines a grammar to encode hexagonal rasters in ASCII text files.
Please consult the BNF file for the exact meaning of each parameter.
Example
ncols 3
nrows 3
xll 2.5
yll -2.5
side 1.5
no_data 9999
23 24 23.2
24 24.2 23.7
24.1 23.8 23.3
Citing HexASCII
Details on the motivation and technical choices underpinning the HexASCII grammar can be found in the document below. Please use this reference to cite HexASCII.
de Sousa L. M. and Leitão J.P. HexASCII: A file format for cartographical hexagonal rasters. Transactions in GIS. 2017;00:116.
Tools using this grammar
. Hex-Utils - a Python package for the manipulation of hexagonal grids.
. Hex-Utils QGis plug-in - user interface to hex-utils
.
. CADDIES - a cellular automata development framework, presently applied to urban flood modelling.
Project updates
For the latest updates on the software using HexASCII please consult the
hex-utils
project page
at ResearchGate.
New information is also posted on Twitter under the #HexASCII tag.
Licence
This grammar is released under the EUPL 1.1 licence. For further details please consult the LICENCE file.