Questions tagged [sum]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
51 views

Summing Area of polygons within vector layer within zone using QGIS?

I have one vector layer with multiple polygons (purple). I also have a number of other vector layers which are catchment zones (I also have a layer where these catchments are merged). Is there any ...
0
votes
1answer
31 views

Summation of multiple map layers?

What I am trying to do is to take a specific range of time (summer) over multiple years and then sum the total amount of precipitation onto a final layer. This is the code I am working with var ...
0
votes
0answers
18 views

Sum calculation in Field Calculator using Python script [duplicate]

I have a problem with Python script in Field Calculator. How to sum the values of one field ('AB') and paste the sum in another field ('RE') using Python in Field Calculator? I'm working in ArcMap 10....
1
vote
2answers
50 views

Use a python expression in Field Calculator to sum each row across several columns

this seems like it should be easy but I am new to python and am having trouble... I have four columns. I would like perform a field calculation that sums the values by row for three of the columns and ...
2
votes
2answers
193 views

Sum over Bands, Google Earth Engine

I have this real Big Bandet Image with 25000 Bands. I want to Sum over the Bands, Pixelwise. is there a Way to either : -convert this ee.image, bandwise to an ee.ImageCollection -Collapse all ...
1
vote
1answer
212 views

Summing field values with PyQGIS

In QGIS 2.18 there is a shapefile with three fields accordingly "id" | "Type" | "Value" I want to get the total sum of all values in the field "Value". How can I achieve that in Python console? ...
3
votes
1answer
173 views

Add cumulative sum column to attribute table

I have an attribute table in QGIS in which I would like to calculate the cumulative sum. The table is sorted by N (number of fatalities) and I would like to calculate the cumulative sum on F (...
2
votes
0answers
52 views

Sum of values grouped by owner [duplicate]

When I try to use the following expression, the preview shows me the correct sum, but when I click ok I get this notification. This tells me it can't calculate column "Subsidie J" It seems that it ...
2
votes
1answer
121 views

Join attributes by location gives out wrong sum

I have an input vector polygon layer which has different areas. Now I want to join a different vector polygon layer which contains over 1 million 100x100 meter squares with information about the ...
0
votes
1answer
20 views

Drawing polygon and summarizing values in map on Portal for ArcGIS?

I have a map application created in Portal for ArcGIS. I have a points layer in the map. Each point has a numeric value. I want to be able to draw a polygon on the map, containing some of the points. ...
-1
votes
1answer
63 views

Sum fields in ArcGIS

I need to merge fields in rows in the attribute table based on common values of some attributes and calculate the sum of the area associated to them. How can I do that?
1
vote
0answers
177 views

QGIS “Sum Line Lengths” return 'nan.'

I have a polygon shapefile and a (merged) line shapefile (both are zipped). When I use Vector -> Analysis Tools -> Sum Line Lengths on these shapefiles, I get a layer with some of the LENGTHS filled ...
4
votes
1answer
176 views

Summing attribute values of overlapping polyline portions in QGIS 3.0.3

Note: This is basically the same question that I asked before in Summing attribute values of overlapping polyline portions in ArcGIS Desktop?, but this time, I'm trying to solve the same problem using ...
2
votes
2answers
364 views

Summing values from multiple polygons per neighbourhood in QGIS?

I'm measuring different values of urban parks (groundwater recharge, CO2 sequestration etc.), assignning values to the park polygons as attributes of a layer. Now I would like tu sum them up to have ...
3
votes
0answers
108 views

Grouping neighbor points based on field sum in QGIS

I have about 14,000 points. These points have a specific field "time", an integer value, mainly between 1, 2 or 3. I would like to split these 14,000 points into groups based on the "time" field ...
0
votes
1answer
744 views

Calculate sum of line lengths in R

I have object1 with polygons and object2 with lines. I am looking for a way in R (preferably with the package sf) to calculate the sum of line lengths from object2 for each polygon in object1. The ...
1
vote
2answers
262 views

Summing attribute values of overlapping polyline portions in ArcGIS Desktop?

I have polylines of 80+ bus routes operating in a city. The polylines have attribute values for the number of passengers, number of trips, etc. Many of the polylines overlap at certain areas of the ...
0
votes
1answer
123 views

Creating column in attribute table from summarised fields using QGIS?

I want to create a new (third) column in my attribute table. The fields of the new column are supposed to be the summarised value of the two other columns' fields. For example field 1 of the column I ...
2
votes
1answer
66 views

Using Sum in QGIS Attributes?

How to sum all 'Luas_sawah' attributes in accordance with the 'Kabupaten' attributes?
1
vote
1answer
167 views

Get sum of a field for each element of overlapping paths

I've used the very useful Openroute service to develop a number of routes which I have populated with traffic numbers (on each route). I want each section of road to present the total of a field (...
0
votes
1answer
43 views

Adding Values in Overlapping Buffers

I have a series of points that represent oil and gas wells (over 1,000), and an emissions value for each well. I created 3 concentric buffers that represent increasing distance from the well, and ...
1
vote
1answer
34 views

Summing attribute values from many points geocoded on same location using ArcGIS Desktop?

I have geocoded a batch of addresses and many of these are geocoded on the same location. Now I want to keep just one point on each location but sum the field values of all points from the same ...
2
votes
2answers
493 views

Adding up data values from different vector layers

I have multiple files each loaded as a layer. Each file has just an easting northing and a count value, as below. easting,northing,count 435575,804275,15 435625,804225,29 435625,804275,39 435625,...
2
votes
1answer
268 views

Why QgsRasterCalculator result is incorrect in pyqgis?

I want to sum 4 raster layers by QgsRasterCalculator. Below code creates a raster layer as result, but pixel values in raster result is wrong. what is the error in this code? from qgis.core import * ...
5
votes
2answers
116 views

How to sum multi values for each pixel in PyQGIS?

I have a raster layer and a vector point layer. I calculated distance between center each pixel and each point based on @YoLecomte and @mgri, this link and xunilk, this link. For each pixel there are ...
1
vote
0answers
368 views

How to summarize overlapping polygon values within a single layer?

At ArcGIS Desktop 10.5, I have a polygon file geodatabase feature class. Many of its polygons are spatially coincident; that is, if I click on a single polygon in Arcmap to select it, the resulting ...
7
votes
3answers
533 views

Sum integer values if values in another column are equal in QGIS?

I want a new column called "Summed" containing the summed value per "Populatie" name. How can I accomplish this?