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.
Luís Moreira de Sousa 3c3f0192d9 Merge branch 'local' 5 years ago
.settings Improved README file with install and usage instructions. 5 years ago
choropleth_gen Merge branch 'local' 5 years ago
.gitignore Added contents to upload project to PyPi. 5 years ago
.project Rectified project name 5 years ago
.pydevproject Improved README file with install and usage instructions. 5 years ago
LICENCE First import. 5 years ago
README.md Fixed list in README file. 5 years ago
setup.py Small fixes to setup.py 5 years ago

README.md

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.