choropleth-gen

Choropleth generator for QGIS and other SLD able software.


Keywords
choropleth, QGis, SLD
License
SSPL-1.0
Install
pip install choropleth-gen==0.2

Documentation

Choropleth generator for QGIS

Copyright

Copyright (c) 2017 Luís Moreira de Sousa. All rights reserved. Any use of this software constitutes full acceptance of all terms of the document licence.

Description

Generates choropleths for vector files, taking into account the idiosyncrasies of QGIS. They are useful, for instance, to style HexASCII rasters.

Install

This package can be installed from PyPi, issuing a command like:

pip install choropleth-gen

Usage

The package installs two scripts in the system: gen_greyscale_choropleth and gen_spectral_choropleth. Both these scripts take the same arguments, identified with specific flags:

  • -b - bottom value in the choropleth.
  • -t - top value in the choropleth.
  • -c - number of colour classes to generate.
  • -o - path to the resulting SLD file.

Example:

gen_spectral_choropleth -b 10 -t 50 -c 20 -o style.sld

Licence

This programme is released under the EUPL 1.1 licence. For full details please consult the LICENCE file.