Coder Social home page Coder Social logo

qgis_supersum's Introduction

Algorithm description

Supersum is a QGIS processing algorithm that sums an expression over all selected layers.

Optionally the layers will first be clipped with a clip layer. Furthermore there is an option to filter the features by an expression or the type of the layer (point, line or polygon).

Expressions are the usual QGIS expressions.

Input parameters

clip layer

An optional layer to clip the features of the selected layers which will be summed.

Only features within the clip layer will be summed.

filter expression

A valid QGIS expression evaluating to True or False. Only records where the filter expression evaluates to True will be summed.

Example: "Field name" = 'an interesting value'

Tip: Use one of the selected layers and build an expression with the expression builder in the field calculator. Copy and paste the expression in the filter expression field.

polygon

When selected polygon layers will be summed.

point

When selected point layers will be summed.

line

When selected line layers will be summed.

sum expression

A valid QGIS expression evaluating to a result which can be summed using the python + operator. Usually a float or an int will do.

Example: $area

Tip: Use one of the selected layers and build an expression with the expression builder in the field calculator. Copy and paste the expression in the sum expression field. selected features only

Outputs

sum total

The grand total of the sum expression over all selected layers.

sum result table

A table with layer names and the total of the sum expression for that layer.

Also a record with the grand total is included.

qgis_supersum's People

Contributors

deduikertjes avatar marcoduiker avatar

Watchers

 avatar

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.