[Qgis-user] Selecting maximum values in drill holes

Andreas Neumann a.neumann at carto.net
Thu Jun 25 23:32:18 PDT 2020


Hi Grant, 

It is simply 

maximum("fieldname") 

or 

maximum(expression) 

e.g. 

maximum($length) 

would give you the longest length of a linestring layer. 

There are also group_by or filter clauses, but in your case I think you
don't need those. 

Andreas 

On 2020-06-26 04:19, Grant Boxer wrote:

> I am trying to find out the best way to select the highest values in a set of drill holes as well as the bottom of hole values. The files contain drill hole id, depth from, depth to and assay values. If have tried the maximum function but I don't think I have the syntax correct. Anyone have any suggestions?
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200626/0a92c8fe/attachment.html>


More information about the Qgis-user mailing list