Code Monkey home page Code Monkey logo

rasterstats's Introduction

Raster Stats

QGIS plugin, developed with the intention to provide a fast and easy-to-use tool for computing statistics on the overlap between raster and polygon layers.

Difference from other tools available in QGIS (as of its release)

In addition to the tools that already exist in QGIS for computing raster statistics, this plugin allows for the computation of histograms for zones and provides a wider range of summary statistics (Average,Median,Standard deviation,Variance,Minimum,Maximum number of pixels overlaping and median absolute deviation )

Key assumption

  • Pixels are fully included in a polygon, regardless of the total overlap. For this reason, care should be taken if the pixel size in the raster layer is relatively big when compared to the polygon size

QGIS plugin page

QGIS plugin repository

rasterstats's People

Contributors

pedrocamargo avatar

Stargazers

Shawn DeGroot avatar Kenneth Cabrera avatar  avatar

Watchers

James Cloos avatar  avatar

rasterstats's Issues

Uncaught AttributeError: 'NoneType' object has no attribute 'crs'

Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:/Users/lindauju/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rasterstats\rasterstats_dialogs.py", line 104, in run_stats
    histogram,
  File "C:/Users/lindauju/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rasterstats\run_raster_statistics.py", line 50, in __init__
    int(self.polygon_layer.crs().authid().split(":")[1])
AttributeError: 'NoneType' object has no attribute 'crs'

rasterstats 0.4.3, QGIS 3.10.5-A Coruña on Windows 10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.