Questions tagged [calculate-values]
The calculate-values tag has no usage guidance.
90
questions
0
votes
0
answers
20
views
Picking highest value between two options in field calculation using ArcMap
Is there a way to choose the highest value between two options when using them in a calculation?
The highest value alternates between x and y
This project is in ArcMap.
3
votes
2
answers
28
views
Area calculation of objects with the same, specific formulation
Can someone help me with the area calculation of certain objects in the attribute table?
I want to add up all the objects that follow a specific, same formulation of a specific column in the table. I ...
0
votes
1
answer
27
views
Adding and calculating User Input Fields in ArcGIS Modelbuilder
I have a model which results in a list of routes with mileages. I want to add 6 fields to the mileage table (Freight Rate, Freight Cost, Material Amount, Material Rate, Material Cost, and Total Price)...
4
votes
2
answers
172
views
Calculation in an attribute table in QGIS?
I have the following attribute table:
on which there are points on different types of lands.
Each land has a code that is in the CODE_00 field, I have calculated how many points there are in each of ...
0
votes
1
answer
35
views
Translate data right in ArcGIS Online?
I have a point feature layer in ArcGIS Online.
I want to create a query on top of that FC that will translate the data:
Calculate and concatenate fields
Use coded value domain descriptions instead of ...
0
votes
1
answer
26
views
Geographic Calculations Across Layers
I have a layer with thousands of points and a different layer with census tracts. I want to determine the average value of each point per census tract. I have tried merging the layers together but ...
2
votes
1
answer
61
views
Calculating mean value of polygons based on attributes of point layer in QGIS
I am working with QGIS to compute the annual burned area of my study area in Chile. I have two different layers.
One polygon layer which is a 1km x 1km grid of my study area. The only information ...
0
votes
0
answers
23
views
Accumulate values in raster cells with backlink connectivity
I have origin points in different regions and within these region also specific values within raster cells (with 50m resolution).
My goal is to sum up the values of all previous cells in the ...
0
votes
1
answer
186
views
Generating GPP and NPP from Landsat images using Google Earth Engine JavaScript API
I just started to to use the GEE and I want to calculate the annual GPP and NPP from Landsat 8 images. I have spent much time looking for a tutorial on how to do this but all I could find is multiple ...
0
votes
1
answer
80
views
Measuring area of clipped data using shapefile in google earth engine: FIRECCI_5.1 Burned Area Product 500m
I am trying to calculate burned area within the given shapefile from Modis burned area product in google earth engine. But I think I am getting wrong area as it is sometimes more than the area of ...
0
votes
0
answers
32
views
StopIteration: iteration not started error using arcpy.da.UpdateCursor Arcpy Pro?
I got error of StopIteration: iteration not started and I don’t know why. I have a shapefile. First I made a layer feature by selecting Side = R from ID : 0 to 99. I would like the code starts from ...
4
votes
1
answer
243
views
Why can't I change precision of decimal number in new Field Calculator?
Can't click those fields. It worked in the past and now just don't. I can't figure it out.
And even it's set to three by default (and I can't change that), it ends up being infinite.
6
votes
2
answers
312
views
Using CASE Statement with two strings in QGIS
I am trying to fill out a field based on information in a different field in the same layer using a CASE Statement in the Field Calculator. My table structure looks like this:
SPECIES
SHORT
Toad
...
5
votes
1
answer
147
views
How much of territory do buffers cover using QGIS?
Is there a way to obtain how much % of the country covers that buffers using QGIS?
This is a country (Ecuador)
And these are buffers
0
votes
1
answer
92
views
How to calc area using OpenLayers with UTM coordinates
I just need had a point format like below (zone,x,y) and need to calculate it's Area.
39,553816,3791942 39,548052,3731376 39,637947,3711980 39,616343,3808591
4
votes
1
answer
240
views
Calculating the percentage of overlapping areas from different layers in QGIS
I work with QGIS 3.16 Hannover and I have three polygon layers 'A', 'B', 'C' with multiple geometries in each.
In the image, layer 'A' has the bold polygons and, for each of them (meaning within each ...
5
votes
2
answers
420
views
Trimming decimal numbers for coordinates/heights in QGIS
I have a GeoPackage table with coordinates and heights. I only want 3 decimals for the coordinates and 2 decimals for the heights.
In the past I could easily define the precision in the field ...
1
vote
1
answer
86
views
Using Calculate Value to get extent of feature to input into Generate Tessellation tool
Here is what my model looks like:
Takes Excel with lat/long and plots points
Splits by name field
Iterate
And buffer into separate .gdb
Calculate value then pulls from the buffer.gdb
This is where I ...
2
votes
1
answer
345
views
Calculating distances between buildings, plots and road network
I have three layers, see image below:
A polygon layer containing building outlines (Purple)
A polygon layer containing plot outlines (Yellow)
A polyline layer showing the road network ( Red)
What I ...
1
vote
0
answers
106
views
QGIS 3.10 and data dependencies
I have one table call "LR - Données", with 2 attributes: 'LR nom français' and 'LR nom latin'.
I have a point layer in a geopackage call "Observations" with 2 attributes: 'Nom ...
1
vote
1
answer
162
views
Accessing data from time series in GEE
I have a code for NDVI time series from an image collection. This code prints the time series in a table or a chart.
Is there a way to access the values in the table of the time series in google earth ...
1
vote
1
answer
353
views
Performing complicated calculation on bands in Google Earth Engine
I'm trying to perform ANIR index calculation on my image collection. I'm having trouble writing the code in the right way. ANIR index formula is :
cos^-1[((a^2)+(b^2)+(c^2))/(2*a*b)]
(a2, b2 and c1, ...
1
vote
2
answers
81
views
Calculate the value of two different fields (int), and summarize those two into a new field in attribute table [closed]
I am trying to make a pie chart, that means I have to connect some fields in AT.
How do I sum two integer fields into a new created field. The sum should also be connected to the different object id.
...
3
votes
1
answer
858
views
Dynamic/calculated field in ArcGIS Pro via Arcade expression?
In an ESRI video called Getting to Know Arcade, the presenter states that dynamic/calculated fields are possible via Arcade expressions.
How many of you have ever been in a
situation where you had a ...
-1
votes
2
answers
226
views
Measure Points to Coastal lines?
I would like to measure the shortest distance from multiple points to a any part in a coast line of three different costs.
How do I do this with QGIS or with SAGA GIS?
1
vote
0
answers
192
views
How do I apply phase center corrections to IGS satellite positions?
I'm trying to use the International GNSS Service's SP3 precise orbit files (found here) to calculate the position of GPS satellites for a Precise Point Positioning solution.
It appears that they're ...
1
vote
0
answers
50
views
Calculate ID based on ID from another field
I have a layer with single lines and I have added a unique ID for each line. I have extracted the vertices of these lines to a new point layer and now I want to add a new ID for every point but based ...
0
votes
1
answer
150
views
How to write it on ArcGIS Raster Calculator?
I just started using the Raster Calculator, so I don't know how to build the formulas.
How can I do this?
I need to write both of these formulas:
D = is a raster file called "Slope_2"
P = 13
0
votes
1
answer
50
views
Using IF-THEN-ELSE with ModelBuilder of ArcMap
I have two optional parameters in my ArcMap model (City and date) and I want to use the tool calculate a value to create an expression that will give me a boolean (true-false).
I want the code to ...
1
vote
0
answers
42
views
Help with "Calculate Values" Python expression (ModelBuilder)
I have a model and need to compute a new value from two other values upstream, and then feed the new value to the Kernel Density tool.
Here is the formula I am trying to reproduce in the "Calculate ...
0
votes
1
answer
49
views
Error with equation in GEE
I'm trying to calculate values for a raster I have based on other raster values.
The problem is that I get the error:
-0.054.multiply is not a function
and I believe it is because I'm writing ...
4
votes
2
answers
385
views
How to calculate and export tasseled caps from MODIS collection in GEE?
I would like to calculate and export the brightness, greenness and wetness tasseled caps for the MODIS MCD43A4 V006 collection based on the Lobser coefficients, but I have no idea how to do it.
var ...
2
votes
1
answer
105
views
Saving calculated fields to reuse in other QGIS projects
I am using QGIS 3.4.
I want to make attribute tables with many calculated fields that link to styles, and reuse the same structure for many projects.
For example, when I draw a pipe (line vector), ...
2
votes
0
answers
68
views
QGIS 3.10: Evaluate default values (data source preference) not staying checked on?
Anyone having trouble with "evaluate default values" in QGIS 3.10.1 preferences, under "Data Sources"?
When I click the check box and then "OK", I go back to preferences it's unchecked! And default ...
4
votes
3
answers
2k
views
Displaying data in percentage in the attribute table QGIS
I'm trying to figure out how to display one attribute column in percentages. I've created a new field inside the attribute table and proceeded with:
concat("column with numbers to be changed in ...
2
votes
1
answer
77
views
Determine distance between two polygon with having unique id
I have two polygon feature class one is Source Data and other is shifted data. I want to calculate how much polygon shifted (distance) using ArcGIS 10.6.
8
votes
3
answers
2k
views
Use field calculator QGIS: if value in one column, then value in new column
I am having troubles using the field calculator to get what I want.
One column in my attribute table is named 'Taxa' and has a set of species in it. Species are separated by #.
I want to make a new ...
0
votes
1
answer
81
views
Color grid if values in grid exceed threshold - species distribution in QGIS
I have distribution data of a set of species (plants, mosses and lichens: 13 species total) in the Netherlands.
I made a grid that divides the Netherlands into 1x1 km squares. I am not interested in ...
1
vote
1
answer
79
views
Code to return false if two preconditions are false in Modelbuilder
I'm trying to use Calculate Value in Modelbuilder's Arcmap to run a process if one of two booleans preconditions is true. So if both of precondintion are false the process shouldn't run, otherwise it ...
7
votes
2
answers
733
views
QGIS 3.4 calculate date, add month
I want to add a number of months to a date to get a new date. I have a date-field "date", an integer-field "months" and a date-field "new_date". I want to calculate the "new_date" by adding the "...
0
votes
0
answers
49
views
Seeking arcpy.SetParameterAsText equivalent in ModelBuilder?
I know it sounds weird, but I would need a tool made with ModelBuilder that output two parameters:
a layer
a message (a string)
The constraint derives from the need to share it as a Geoprocessing ...
3
votes
1
answer
65
views
Calculating field while dissolving in ArcMap
I have two polygon Layers, A and B correspondingly. The polygons of B are lying on top of layer A and also overlapping the polygons of A (I made an example of the attribute table for better ...
1
vote
2
answers
65
views
Adding time to variable using Python Parser of ArcGIS Calculate Value tool?
I am using Python 2.7 in calculate value in ModelBuilder. I want to query both 30 seconds before and after the variable. The original value keeps returning not the time change. What am I not defining?
...
1
vote
1
answer
576
views
NameError: name '**' not defined in ModelBuilder Calculate Value
This question follows up on Crianopa's answer https://gis.stackexchange.com/a/107687/126329 - I am attempting to do just this, but my model fails at the Calculate value stage. Using the expression ...
0
votes
1
answer
173
views
Wrong masked pixels
I am new in GEE, and tried to run a simple code to mask cloud pixels. However when I added the image selected with my filters I saw that the result of the cloud filter are empty areas, as shown below:
...
0
votes
3
answers
211
views
Model Only calculate value with zonal statistics as table
In a precedent post Multiple Output for Zonal Statistics as Table I was trying to have as many table in the output as the rasters in the input. To overcome my errors, I decided to add a "Model Only ...
-1
votes
1
answer
78
views
Using Field Calculator for subtracting values with same ID in ArcPy? [closed]
I have a line shapefile that used for some calculation.
One of the calculation is subtracting values with a same group ID.
The shapefile has a filed called LineID that consists of 2 lines with Side 1 ...
3
votes
1
answer
170
views
Calculating acreage as a percentage in ArcPy
I am struggling to calculate the acreage as a percentage in Calculate Field Management, but I am getting this error message:
"ValueError: could not convert string to float! BufferAcreage!
arcpy....
1
vote
1
answer
32
views
Add and Calculate Fields of Iterated Annotation Classes
I'm have difficulty with my script Arcmap v10.5.1. I get a syntax error on line 8. My question is: Can I calculate the Added field from an existing field within an iterated value? If so, what's my ...
1
vote
1
answer
57
views
Finding calculate value or collect values tools?
I am using ArcGIS Desktop 10.5.1 and I need to use the calculate value tool or collect values tool to in ModelBuilder, but I cannot find those tools.
Do I need to download them from somewhere else?