Another LecoS update (and more to follow in the near future)


i just pushed another update to my Landcover analysis plugin LecoS. Besides fixing various bugs for Linux and Windows it now contains a remodeled BatchOverlay-Tool (the tool which allows you to compute statistics for overlaying vector grids on raster layers). It is now capable of calculating multiple metrics landscape wide and per class. The output can be displayed directly on the screen, saved in a temporary/given file or in the vector tables attribute table (Enabled in ver. 1.7.1)

Now capable of calculating landscape-wide metrics (zonal statistics + diversity indices) and class metrics

Now capable of calculating landscape-wide metrics (zonal statistics + diversity indices) and class metrics

I tested the Plugin under Linux (Debian Testing) and Windows (XP SP3). On both System the plugin should at least be able to start and calculate some metrics. However remember that this plugin is still marked as experimental and therefore bugs and strange python error messages might occur.

There is a known bug under Windows, when trying to add a generated table to the QGIS table of contents. If you try to this on Windows systems it will crash QGIS 1.8 and results in an Error message for QGIS dev.  –> Fixed in recent update 1.7.1

Changelog for current Version 1.7.2:

– Enabled the calculation of landscape statistics for vector layers
– Replaced QMessageBoxes with QMessageBar messages if a newer QGIS version (>= 10900) is used
– Removed the landscape diversity tool and merged options to calculate landscape diversity into the other toolset
– Bug fixing


  • The plugin needs the python libraries scipy, numpy and pil (imaging) to run. If you don’t install them (default is “no” on Windows), than you’ll likely see error messages after startup. To install the libraries on Linux systems, just download them with your package manager (python-scipy, python-imaging) or compile them system wide.  To install them on Windows download the OSGEO4W Installer , select advanced Install, search for the libraries python-numpy, python-scipy and python-imaging and check them all (besides checking the qgis binaries). If you do this correctly LecoS should run out of the box
  • If you stumble upon any errors PLEASE don’t report them in this blog as i really lose track of those comments. Use the official bug-tracker to report any bugs while using LecoS and try to give me as much information about your system and QGIS setup (including package versions and maybe a small data subset for testing).

The development of this plugin has been supported by the University of Évora and future version will include the options to analyse landscape vector layers, additional metrics and post-hoc result grouping.


Tags: , , ,

About Martin Jung

PhD researcher at the University of Sussex. Interested in nature conservation, ecology and biodiversity as well as statistics, GIS and 'big data'

2 responses to “Another LecoS update (and more to follow in the near future)”

  1. Piotr says :

    This plugin is great! Today, I did my first analyses with help of Lecos and it works fine. Many thanks for creation of this handy software!
    Best wishes!

    • Curlew says :

      Hey, thanks a lot! I just looked at your homepage and i was amused to see that you also like the three big B’s 😀

Sussex Research Hive

Supporting the research community at the University of Sussex

Small Pond Science

Research, teaching, and mentorship in the sciences

Landscape Ecology 2.0

intersecting landscape ecology, open science, and R


The Research Blog of IIASA

Jörg Steinkamps Blog

Mainly things about R, Linux and vegetation modeling

Amy Whitehead's Research

the ecological musings of a conservation biologist

Michael McCarthy's Research

School of BioSciences, The University of Melbourne

The Rostrum

science, statistics, policy and more


Environmental Change - Understand, Predict, Adapt

Dynamic Ecology

Multa novit vulpes


METeorological Visualisation Utilities using R for Science and Teaching

A Birder´s Blog

"Everybody loves what they know"

Trust Me, I'm a Geographer

Using Technology to Explore Our World

Duncan Golicher's weblog

Research, scripts and life in Chiapas

%d bloggers like this: