Questions tagged [maximum]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
2 answers
165 views

Selecting the maximum value from series of polygons that intersect with line in QGIS

Is there a way to select the cell (single) with the maximum value in a polygon layer using the intersection of a line? The first image is the grid (polygon) layer with the attribute field "VALUE&...
user avatar
  • 105
1 vote
1 answer
72 views

Google Earth Engine - Get Image with highest max Scene NDWI

By adapting code from Getting Image with highest max Scene NDVI from Image collection using Google Earth Engine I have been able to make a script that gives me the date and mean highest NDVI for each ...
user avatar
0 votes
1 answer
71 views

Finding maximum value on raster transect between two points using PyQGIS

I have a raster layer and two points with their coordinates, and I want to find the maximum raster value on the line between these two points. Is there a built-in function in PyQGIS to find the pixel ...
user avatar
  • 336
1 vote
1 answer
110 views

Google Earth Engine - Get Image with lowest NDVI from a time period

One of the answers to this question (Google Earth Engine - Get Image with highest max Scene NDVI from a time period) provides code which gives a Sentinel image/date with the highest NDVI for each ...
user avatar
3 votes
2 answers
193 views

Getting polygon with max attribute within polygons with same geometry using GeoPandas

I have a GeoDataframe containing the spatially joined result of a square grid map and flood hazard data. However, there are instances of rows with the same "geometry" but differing "...
user avatar
  • 69
5 votes
1 answer
169 views

Creating longest line within polygon that crosses point

I am performing a morphometric analysis of dolines using QGIS. I want to generate longest axis within basin polygon that crosses the lowest point (from other layer) of basin. Is there a way to ...
user avatar
  • 81
5 votes
5 answers
687 views

Returning column name of the max value in QGIS

I am working with some age group data in QGIS based on point counts within a polygon grid and I would like to calculate the max value from a row with 11 different age groups in order to get the ...
user avatar
  • 71
5 votes
2 answers
363 views

Selecting features by expression with SQL syntax in QGIS

I have a table (shapefile) in QGIS where I want to select features that satisfies this condition: group by a field ("join_label") and within the "grouped field", pick the attribute ...
user avatar
  • 131
6 votes
2 answers
346 views

Finding the longest horizontal line inside polygon in QGIS

I have a state polygon like the pic shown below, is there a way to find the line which is the maximum horizontal line? Like this, but I want the maximum distance line.
user avatar
  • 79
2 votes
1 answer
31 views

Replace a field with maximum of it's attribute values based on values repeated on another field's attribute values using ArcPy

So I have performed Spatial Join between a point and line feature class. Now for each point there are several lines. What I want is the maximum count of line features as an attribute value in the &...
user avatar
4 votes
2 answers
234 views

Using max function to group max value by unique ID in QGIS

I have been using the maximum function to group max value by unique "id"; maximum("Ni_ppm_1", group_by:="Hole_id") The function pulls the maximum "Ni_ppm_1" ...
user avatar
  • 61
2 votes
2 answers
181 views

Getting maximum value of measured values ​every xx meters

I have huge CSV files from measurements (most of them are done by car), like this: measurement file The measurement system record one value every second and save this together with the GPS coordinates....
user avatar
  • 61
6 votes
1 answer
239 views

Placing point over pixel with maximum value falling in grid overlay using QGIS

I have a raster layer with a Shapefile grid with cells measuring 3 x 3 m overlaid on top. All I want to do is find the pixel with the maximum value within each cell, and place a Shapefile point over ...
user avatar
  • 187
0 votes
1 answer
72 views

Getting maximum distance for point features in the same point group

For each group I want to find the maximum point-to-point distance (and which of the id1 features participate in the max). For example, if I have the following attribute table: FID Long Lat id1 ...
user avatar
  • 901
1 vote
1 answer
92 views

Showing only maximum value for each point feature

I have a dataset with concentrations of copper from different stations taken over several years. I would like to show only the highest concentration "mikromolar" for each station "STATN&...
user avatar
  • 21
8 votes
3 answers
1k views

Finding longest straight line within polygon in QGIS

I'm looking for an algorithm to draw max distance straight lines contained in a polygon (without crossing polygon boundaries). How can I perform it? As you can see some polygons are very oddly shaped. ...
user avatar
2 votes
2 answers
554 views

Google Earth Engine - Get Image with highest max Scene NDVI from a time period

I have a shapefile with several fields, corresponding to different wheat fields of a certain year. Using as Input an image collection converted to NDVIs, I would like to calculate the mean NDVI value ...
user avatar
13 votes
4 answers
3k views

Calculating the longest distance within polygon in QGIS

I want to calculate the "diameter" of polygons in QGIS. The "diameter" defined as the distance between the two most distant points of the polygon. I couldn't find a fitting solution in the field ...
user avatar
9 votes
4 answers
3k views

Maximum value of field of vector layer using PyQGIS

If I have a vector layer in QGIS, how do I use Python to find the maximum value which a given field has? I need to convert the values in one field into values between 0 and 1. I guess I therefore need ...
user avatar
  • 5,592
5 votes
3 answers
5k views

Using 'max()' in expression with QGIS

I want to make a rule-based style on the maximum value from a field. I set my expression like: max("fieldname") It returns every value instead of only the maximum one. Can anyone tell me ...
user avatar
  • 5,109
5 votes
3 answers
2k views

Determining the longest side of polygon in QGIS

Is there a possibility to determine the longest side of a polygon with QGIS? As I need to do that for hundreds of polygons I would prefer an automized method (like a plugin). So far my idea was: ...
user avatar