Questions tagged [average]
The average tag has no usage guidance.
53
questions
0
votes
0
answers
18
views
Overlapped point data
I have recently used QGIS and tried some mapping functions based on my data but I have faced an issue with creating meshes. My data is route-based with overlapping points and I want to visualize them ...
3
votes
1
answer
92
views
How to obtain the closest mean distance between two pseudoparallel lines
From two layers (LINE_1 and LINE_2) with a irregular pseudoparallel lines geometry, my goal is to obtain the closest mean distance between two pseudoparallel lines.
Here I publish a screenshot with ...
2
votes
2
answers
105
views
Calculating the average of one field dependent on another in QGIS
I have a land use shapefile, which has a column:
labelled "LU_1", categorising different areas quite broadly (9 categories total, they are numbered 1-7, U and V).
There's also a field with ...
0
votes
1
answer
309
views
How to calculate mean values of all cells of raster files in R?
I have monthly raster (.tiff) files such as 200501.tif, 200502.tif and so on...till 202012.tif.
I want to calculate mean values of each raster (i.e. of all the cells (all rows and columns) of each ...
3
votes
0
answers
52
views
How to create an average polygon from multiple one
I have in a layer multiple polygons representing for 1 point the potential driving distance in 1 hour like this:
For each white cross I have 4 different polygons (based on different driving date/time)...
1
vote
1
answer
85
views
Add attribute to polygon layer that is average of polylines that lie within border qgis
I Have two layers, one is a polygon and the other is a polyline. I would like the solution to be using QGIS.
I want to create a new attribute in the polygon layer that take the average of the ...
0
votes
0
answers
136
views
Time-weighted annual NDVI average in Google Earth Engine
I am trying to get an average annual NDVI for my area of interest (AOI) for, say, the year 2013. I have merged Landsat 7 and 8 images, masked out clouds, cloud shadows, and snow, and am left with 31 ...
1
vote
0
answers
63
views
Find the average of pairs with the same first element in FME
I have a list of pairs in FME:
and need to calculate the average of each set of pairs with the same first element.
I came up with this code, but it takes a lot of time to paste and copy the list. Is ...
0
votes
0
answers
33
views
Plotting a yearly average density map in ArcMap 10.8
I have one million rows of lightning data that covers 5 years (2017-2021), and the data includes latitude, longitude, and current. I used the latitude and longitude to create yearly maps in ArcMap ...
1
vote
2
answers
467
views
Calculate sum/average of variable within each group of neighboring counties using R
I am trying to calculate the sum and/or average value of a variable for each group of neighboring counties in the US. I realized this needs at least two steps:
For every county, find the set of ...
0
votes
2
answers
178
views
Calculating number of days where a condition is met over multiple regions in Google Earth Engine
I have been trying to calculate the number of days where the wind speed average per day exceeded 25 m/s for all municipalities in Colombia during the year 2015. My goal is to know how many days ...
3
votes
0
answers
123
views
Determine average noise in a shapefile using QGIS
I am completely new to QGIS.
I am currently undertaking an analysis on urban green spaces (UGSs) in the city of Luxembourg.
I have noise data (expressed in Lden (dB)) on car, rail and air traffic ...
0
votes
1
answer
128
views
Taking average of long term daily rainfall values if it contains lots of zero values
I wanted to interpolate my daily rainfall data into ArcGIS for visual representation. I have almost 10 years of daily rainfall data which contains lots of zeros. When I take the average daily for ...
0
votes
0
answers
40
views
Averaging raster layers in QGIS, values changed, but image looks the same?
I am trying to average two raster layers together, but am getting results that are really confusing me, which is making me even question if an average is actually what I want to do to begin with. I ...
4
votes
1
answer
162
views
Rasterize points QGIS average
When I convert points into raster using rasterize (vector to raster) tool, if there are two points in one pixel the pixel takes the bigger one. But I need the pixel to take the average of the values ...
4
votes
2
answers
641
views
Sampling raster values into attribute table of polyline layer
I have several raster layers and one vector polyline layer. I'd like to sample the rasters into the attribute table of the vector layer. Because the lines span multiple raster cells, this can be done ...
2
votes
1
answer
946
views
Combine nearby points into single point with average location in ArcGIS Pro
I've added GPS waypoints to my ArcGIS Pro map using the GPX to Feature conversion. However, some points are clearly "duplicates" of the same location because they are so close together. (...
1
vote
1
answer
157
views
Calculate Average Vector Value Based on Points in Polygon
I initially had two layers that I "joined attributes by location." Now I have one layer.
In this layer I have several points with values from 1 - 10 and several polygons that are census ...
0
votes
0
answers
70
views
Average of elevation values not for the entire raster but for created tiles in the raster
I have a raster representing the elevation of an entire city (1-meter resolution LiDAR DSM) and I would like to calculate the average height of the features in the city for 200mx200m squares. I am ...
2
votes
0
answers
85
views
Taking weighted average over overlapping polygons in QGIS
I am trying to find source emissions values for a roads lines layer based on emissions rates tied to polygons.
Here is an illustrative depiction of the two layers I am working with:
Each polygon has ...
2
votes
1
answer
153
views
Trying to delineate areas (riparian zones) from a DEM, with same height difference to a polyline (reach)
I'm trying to delineate riparian zones.
The idea is to define a mean depth of the drainage net (constant), and then, draw a buffer around the reaches that will include all the terrain within this ...
2
votes
2
answers
326
views
Calculating average of columns of singleparts in QGIS
I have singleparts (pipes) with name and depth. I need to count the average depth based on name. So for e.g. pipe 'cont500str1' has average depth (2,93+2,03+1,99+1,17+2,12)/5 = 2,048.
The complication ...
7
votes
1
answer
870
views
Getting values from adjacent polygons or nearest point
I have joined temperature values from the point layer to intersecting polygons but I have few polygons (yellow in the image) that don't contain any point data.
Can I somehow get average temperature ...
0
votes
1
answer
270
views
How to average data from Sentinel-5p collection ignoring zero?
I am working with CH4 product Sentinel-5p provided by ESA Copernicus.
Remote User Support provided a script to extract averaged CH4 anomalies for a certain period for the Earth Engine.
However, I ...
1
vote
1
answer
108
views
Calculating average depth of a 250m square using points at 125m spacing using QGIS
I have a set of points spaced at 125m intervals across an area, an average depth value is assigned to each point.
I need to calculate from these points a single average depth value for a 250m square, ...
4
votes
1
answer
487
views
Error in r: "mean" is not a valid subset when averaging over years in a raster
I am using a moving window average to estimate change between historical climate (here, a 36-year average for a period) and the moving window averages of climate into the future. Each moving window ...
0
votes
1
answer
329
views
Aggregate data from several polygons into one in QGIS [duplicate]
I am using QGIS 3.10.1, and I am trying to aggregate Census data (polygons) according to another set of polygons (neighbourhood areas that I have drawn). While I am able to clip the Census data to ...
2
votes
1
answer
403
views
Tabulating average value through spatial join in QGIS
Previous ArcGIS user and have now switched over to QGIS for a project. I am performing a spatial join of two shapefiles - one of census tracts and the other of zctas. In ArcGIS you can set the merge ...
0
votes
1
answer
454
views
Calculating monthly averages from daily precipitation data
I have a raster brick for daily precipitation data and I need to convert it to monthly data, how would I go about doing this? Each layer is a day and there are 34698 days (i.e. too many to go through ...
1
vote
1
answer
132
views
Creating composite raster from rasters with different spatial extent without losing information using ArcGIS Pro
I am creating a composite raster using several individual rasters with different spatial extents (captured from different times), see image below.
The idea here is that I want to create one mosaic ...
1
vote
1
answer
3k
views
How to calculate mean for multiple raster files and multiple variables using R
I have a folder with multiple raster files (.asc) which contains the biomass of different fish species (e.g., Anglerfish, Bathydemersal etc) for different years (e.g., 00012, 00024, 00036 etc)
I want ...
1
vote
1
answer
310
views
Binning of satellite Level 2 data
I can see that for the Aqua instruments (AIRS, MODIS, CERES etc), the Level 2 data are binned into Level 3 data providing average values for (say) a 1° x 1° cells grid.
Let's say that I would like to ...
1
vote
1
answer
714
views
Calculating average of values in raster in QGIS?
I want to get the average of values in a raster. How do I get this using Raster Calculator?
I was looking for this kind of function: AVE("yourraster@1") in the raster calculator.
1
vote
0
answers
132
views
Fit a line to 3 spatial points
I have a set of lon/ lat coordinates that locates lines. Each line is characterized by 3 points, the start, center and end which were measured using a handheld GPS. Since the individual coordinates ...
0
votes
0
answers
661
views
Calculate moving average (low pass filter) using fft in GRASS
I am interested in calculating a moving average for a raster in GRASS/QGIS. In other words, each cell needs to receive as value the average of its current value and the neighboring cells in a square (...
0
votes
1
answer
2k
views
Calculating daily average using hourly data in Google Earth Engine
I want to get daily data such as net radiation, sensible heat flux and latent heat flux. NOAA NWS National Centers for Environmental Prediction (NCEP)[ee.ImageCollection("NOAA/CFSV2/FOR6H")] ...
5
votes
2
answers
2k
views
Tool in QGIS to Get Area Weighted Average
I am looking for a tool that can give me an area-weighted average.
I have a shapefile of parcels and another shapefile with Curve Numbers. I want to get Area Weighted CN for each parcel. If I do it ...
0
votes
0
answers
41
views
GRASS r.statistics method=average for non-integer maps
I need use the functionality of r.statistics using the average method. I have one map with cell clumps for a base layer and another containing various non-integer cell values for a cover layer.
...
3
votes
1
answer
178
views
Finding average distance to nearest point
I would like to find out the average distance from high schools (represented as a point in QGIS) to libraries (represented as another point in QGIS) in New York's 32 districts.
I have already ...
6
votes
2
answers
4k
views
Calculate multiple bands average raster in QGIS with high number of bands
I am a new user of raster layers in QGIS.
I need to generate a new raster file with the average value for each pixel, from a raster file with 600 bands. The average has to be calculated from all the ...
2
votes
1
answer
1k
views
QGIS: Creating average of a precipitation multiple raster set?
I have a set of 12 precipitation raster layers downloaded from WorldClim, each one representing monthly precipitation data on a global scale. I've clipped all 12 layers with the area of interest. How ...
1
vote
0
answers
84
views
Band rerendering netcdf file by variable not time. Using gdal, nco, cdo
I want to average netcdf data (band1: precipitation) in bins (i.e. 0.01,0.10,0.25,0.5,0.75,1.0, etc.). What nco, gdal, or nco tools can I use to regrid the netcdf file this way?
1
vote
1
answer
175
views
Average of specific pixels
I have a raster of estimated soil moisture values and 30 points of field measurements.
I wanted to correlate the measured and estimated values using scatterplot but the result in not good. There ...
3
votes
1
answer
1k
views
Weighted mean of raster by polygons in R?
I have two rasters, raster_a and raster_b, and a shapefile, world_shapefile. Both rasters are of the world extent and overlay each other.
What I want to do is to create a weighted average of raster_a,...
1
vote
2
answers
136
views
Missing values when calculating mean
I have uploaded a table containing information on river basins within countries (https://code.earthengine.google.com/?asset=users/basins/TFDD_BCU). I want to calculate the mean population density in ...
1
vote
1
answer
87
views
Mean values from a table in Earth Engine
I have uploaded a table containing information on river basins within countries (https://code.earthengine.google.com/?asset=users/basins/TFDD_BCU). I want to calculate the mean population density in ...
2
votes
1
answer
236
views
Computing the harmonic mean of an image collection in the Google Earth Engine
How can I compute the harmonic instead of arithmetic mean for a series of images in Google Earth Engine? There is a build-in function to compute the arithmetic mean and median, but there is no ...
1
vote
1
answer
396
views
Calculating meshes average within boundary?
I have mesh data of elevations. Each mesh has a value of elevation (e.g. 87, 60, 33, ...).
And I also have data of administrative boundaries.
I want to calculate the average of each administrative ...
0
votes
0
answers
68
views
Polygon interpolation neighbour average?
I am trying to estimate empty values based on a polygon layer we received from another study. Is there a way to calculate an average value for polygon A based on neighbours B,C, etc that border it?
I ...
4
votes
1
answer
749
views
Weighted Average of Band Based on another Band in Image Collection [Google Earth Engine]
Using monthly VIIRS data, I'm trying to estimate a weighted average of radiance where I want to weight by the number of cloud free days. Each image in the image collection has two bands: "avg_rad" ...