Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
NumPy is a Python module, adding support for large, multi-dimensional arrays and matrices, along with a large library of high-level mathematical functions to operate on these arrays.
0
votes
Accepted
Creating percentile class breaks in vector data QGIS using numpy.percentile
UPDATE: all I needed to do was change array(ag_ppm) to array_agg(ag_ppm, project) since there is only 1 project shown at a time.
see code below:
case
when ag_ppm <= q1(ag_ppm)
then '<25th: …
2
votes
1
answer
381
views
Creating percentile class breaks in vector data QGIS using numpy.percentile
then '> 98th: ' || (q3(ag_ppm)+0.001) || ' - ' || maximum(ag_ppm)
else 'NULL'
end
Here is my code to create a percentile function in QGIS:
from qgis.core import *
from qgis.gui import *
import numpy …
3
votes
0
answers
84
views
Running vector percentile breaks is very slow QGIS
I solved my own question a couple weeks ago on how to create percentile breaks in QGIS.
Creating percentile class breaks in vector data QGIS using numpy.percentile
However, this code is unbelievably s …