You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.7 KiB

Choropleth generator for QGIS

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.