Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.65 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.65 KB

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.