Questions tagged [values]
The values tag has no usage guidance.
69
questions
0
votes
0
answers
24
views
Saving polygon layer with custom forms in QGIS
I make a lot of polygons to calculate the area of different land use types in my work. To do this I usually custom form by opening properties > manage custom forms and field editor configuration &...
2
votes
1
answer
35
views
Adding value from map layer to label in print layout with expression
I would like to add value from layer “X” field “Y” with ID “1” to the label in my print layout with expression.
I don’t want to use atlas generator because I want this to be 1 layout with all of the ...
0
votes
1
answer
38
views
Expression for closest to zero value
I want to display the closest value to zero from a field in an attribute table from a QGIS layout without having to create a new field. Is it possible?
0
votes
0
answers
38
views
Displaying specific field values of attribute table in QGIS Print Layout
I am building a layout where I want to add the attribute table of the map and only display the maximum and minimum values of a field. I think there is the option to filter by expression but I am not ...
1
vote
2
answers
84
views
Select points with maximum value in each polygon
I have Census areas as polygons and Census population counts as points at a lower geographic level (i.e., there are many points within each polygon). I need to select 1 point from within each polygon ...
1
vote
1
answer
42
views
I can't update any attribute values in PyQGIS
I've been using PyQGIS for a few of weeks. I'd write a script which shows all earthshakes responding to given parameters, so I wrote this code:
from PyQt5.QtGui import *
from PyQt5.QtCore import ...
0
votes
0
answers
25
views
Reclassify by table
I'm using IFSAR 5x5 DEM Raster and run a Reclassify by Table with only 5 values 1, 2, 3, 4 and 5. Then I converted the reclassified raster into Polygon. When I checked the attribute table the values ...
2
votes
2
answers
110
views
QGIS Value Relation Widget saves not the KEY COLUMN values but the VALUE COLUMN values in the attribute table
As far as I know, the "Value Relation Widget" is supposed to store the records from the field designated as KEY COLUMN in the attribute table, while the records from the field designated as ...
3
votes
1
answer
280
views
Importing CSV results in NULL values for decimal column in QGIS
I am importing a .csv file and one of the "integer" columns ("ZVH Density") is all NULL values when imported as a Delimited Text file. Whole numbers import (known through trial and ...
0
votes
1
answer
35
views
I am trying to produce a LULC using supervised classification , but I got an out-put in gray color
I am trying to produce a LULC using supervised classification , however, I am getting an output in gray color. Anyone knows what is the issue?
// Supervised Image Classification with Landsat 8 ...
5
votes
1
answer
193
views
Connecting points to the two closest highest values grouped by category
In a points layer with the fields "POP" (corresponding to the population value) and "CATEG" (corresponding to municipality id), my goal is to connect the points of each ...
3
votes
1
answer
96
views
QGIS attibute form with value relation avoiding table
Is it possible to use some expression or text containing a values list for the dropdown control to display them?
The goal is to use a short list of values and not have to create a related table for ...
3
votes
1
answer
272
views
How to recover parent value while creating parent and child layers in a embedded forms setup?
I read the documentation, examples and made many attempts, but I still can't make this work.
What I want is to get a value from a parent layer while editing a child layer, when both features are being ...
1
vote
1
answer
91
views
QGIS 3.22.16 Bialowieza. Selecting matching value in 2 fields
I am using QGIS 3.22.16, I try to select similar 'null' value in 2 different field. I tried the solutions suggested from one this exchange.
Selecting features with equal values in different fields in ...
1
vote
0
answers
135
views
Autofilling based of value map in QField
Is it possible to prepare a Value Map with autofilling? I have a list of almost 500 plant names and it is difficult to find correct name on my device (phone with Qfield) while scrolling. Is it ...
4
votes
1
answer
411
views
QGIS 3.22: problems with dropdownlists (attribute forms)
I discovered the nice possibility in QGIS to create dropdown lists in a field, with which I (should) choose in a simple way one of several species (in my case) - while entering new features. I tried ...
1
vote
1
answer
601
views
Display expression of layer if geometries intersect in QGIS [closed]
I'd like to display the value of a layer (polygon with parcels) only in case a line (f.e. a river) intersects, crosses or touches the polygon of the parcel by using the expression dialog... but I ...
-2
votes
2
answers
339
views
Extracting minimum pixel value from multiple rasters
I am trying to extract minimum values from about 300 raster files (GeoTIFF) - for example an output table containing raster names against their minimum values. I would like to automate the process. I ...
1
vote
1
answer
126
views
How to highlight by gradient specific range of values from the same field in QGIS?
There is a field about alcohol consumption by country with 10 max. and 10 min. values (picture 1).
Need to choose only 10 max. values and create a gradient map. Seems its needs to be some expression, ...
2
votes
1
answer
805
views
Setting default value in QGIS field using QgsEditorWidgetSetup in PyQGIS
There are many questions like this but either they propose to implement a new method to update values or describe how to set default values for fields in GUI.
I'm writing a QgsProcessingAlgorithm and ...
1
vote
0
answers
21
views
Alternate view to normal view in attribute table [closed]
I have somehow accidentally changed how my attribute table looks and I dont know how to get it to go back to the original state has anyone any idea how to change?
3
votes
1
answer
495
views
Invert raster's min with max values (as well as the in between values) and vice versa using R
I have a raster with pixel values, 1 to 255 (no decimals). I want to invert their values in a way that pixels with value 1 will get value of 255, pixel with value 2 will get 254, pixel with value 3 ...
0
votes
0
answers
140
views
LANDSAT-7 strange strip on SWIR bands (B5 and B7)
I was exploring Landsat 7 data on SentinelHub and came across with this strange strip in the SWIR band B7 (also B5):
By placing a pin in this strip and exploring the stats, I found that there is no ...
1
vote
1
answer
4k
views
How to get the number of pixel with a given value from a RasterLayer in R?
I'm working with Corine Land cover data. I want to assess the number of pixels with any forest value (311, 312, 313, 321, 322, 323, 324) of two reference years. That's wat I did:
clc00 <- raster(&...
0
votes
0
answers
40
views
Nested for: I execute changeAttributeValue in the outer loop, print it and is still NULL... but inner loop works kind of fine?
A bit hard to explain, untill now my script is:
I have a for, where:
if an "Analized" attribute is NULL, I will change it to "Parent",store a "Join Value" attribute in a ...
0
votes
0
answers
108
views
Extracting average value at point using ArcGIS Pro
I have a dataset of over 500 points that represent the location of a number of site boundaries and a Tif file displaying the wind speed data over the study area.
Is it possible using ArcGIS Pro to ...
0
votes
1
answer
124
views
pH = 0 in pH layer
I have downloaded the pH layer from ISRIC database. However, when I added it to QGIS, I found it contained lots of points with the values = 0 (red points in picture).
Can I treat those 0 values as NA?
1
vote
1
answer
3k
views
Sorting dictionary values and getting sorted keys in new dictionary using Google Earth Engine
How can I sort a dictionary's keys in Earth Engine based on their values?
For example, I have such a dictionary defined in Earth Engine after some calculations and I want to sort that based on ...
7
votes
2
answers
409
views
Classifying raster layer by number of equal values in given area using QGIS
I am using QGIS 3.16.12 - Hannover. I have a binary raster layer which consists of 2 values, either 0 or 1 (in my screenshots, 0 = black, 1 = white). The 1 values are scattered throughout the layer in ...
0
votes
0
answers
439
views
Changing raster pixel values outside of polygon box using rioxarray
How do I change all raster pixel values outside of a polygon (keep the original values inside polygon) into a certain value?
I have passed through rioxarray clip() like below from this link:
...
0
votes
0
answers
88
views
Projecting raster changes the range of values
I am trying to project a 1 second DEM from GDA94 to UTM56 in ArcMap using the Project Raster tool. I tried different methods: bilinear, cubic, nearest neighbor. Nevertheless, the values of the output ...
0
votes
0
answers
129
views
MOD04_L2 data processing in r
i am new to using r, so i excuse in advance for asking basic question. I have been trying to convert MOD04_L2 data into GeoTIFF and extract value to a district shapefile in R. the coding seems to work ...
0
votes
0
answers
57
views
Adjusting pixel values to new pixel sum
I'm working with land use rasters in QGIS. For my application I have created rasters with pixels that have a fraction of 0-1 (for 0-100%) for a land use class. So for example in my settlement raster ...
2
votes
1
answer
388
views
QGIS3 - Simple automation of QGIS output - turn values on/off & print out dozens of maps
I need to make a series of maps of a single location and make a single map for each value in the layer.
I have a layout I've created with borders, texts, north arrow, and everything, with the map, and ...
1
vote
1
answer
180
views
Reprojecting a raster results in larger raster values than the original raster values [duplicate]
When I reproject a raster in ArcMap using the project raster function (details in the image above) to change its X,Y coordinate system from North_America_1983_Transvers_Mercator to NAD_1983_Idaho_TM, ...
0
votes
0
answers
135
views
Tabulate intersection, but I need it with null values too, not just with matching intersect
I have problem with tabulate intersection tool (In ArcGIS - ArcMap 10.7.1). The number of data is 1298 with 500 m buffer. Then i have polygons, that I need to process. I run the tool, but get the ...
2
votes
3
answers
1k
views
Digitizing and adding attribute values to the points in QGIS
I want to build a digital terrain model from nautical charts. I need to capture the points where depth is indicated in the chart, and for each point, I must attribute the depth value. One by one, to ...
1
vote
2
answers
407
views
Answers to be filled in by default with an expression doesn't work in QFIELD
I have set up a project in QGIS with default expressions which takes data from other fields previously filled in and automatically generates a value. It works fine when filling a form into QGIS but it ...
1
vote
2
answers
253
views
How to add BC-dates (age of a continent)
I want to simulate continental drifts using the time tool of QGIS (V. 3.16.0). Turns out I can only insert certain dates into my attribute table. I can't even type in the date 0000-01-01 without ...
4
votes
2
answers
1k
views
Replacing all "NULL" values in multiple rows with "0"
I am looking for a way to replace all "NULL"-Values throughout multiple rows/ all "NULL"-Values in an attribute table. The table is from a SHP-File (shapefile).
Is there any easy ...
-2
votes
1
answer
44
views
Python Code for deleting identical values from one column - ArcMap [closed]
I need Python code for deleting all identical values which are compared within one column.
As you can see in the image there are many identical values which I want to get rid of.
I tried the delete ...
1
vote
1
answer
316
views
QGIS Legend only with Raster Minimum and Maximum values
I want to have a mimim and maximum raster values in the legend but it appears to me a long list of all values how can I resume the legend minimum and maximum values:
3
votes
1
answer
1k
views
How to create a Value Map widget type to select multiple values (checklist) from the dropdown?
I have a polygon layer that represents tree/shrub planting sites that were done. As part of the attribute table, I have fields representing things like tree density, species, soil work, tree size, etc....
3
votes
2
answers
2k
views
Reading raster values in points gives back a generator object instead of actual value
Given a raster TIF file and a point feature class in a geodatabase, I am trying to extract the values of the raster on the points and add them as a new column on the point feature class. I am using ...
1
vote
1
answer
56
views
Losing pixels values when counting by value
I have a script that calculates number of pixels with NDVI values that are higher than 0.3, 0.5 and 0.7.
My code runs with no errors, but it get value 0 and doesn't really count.
what can be the ...
2
votes
1
answer
303
views
Extracting pixel values in different bands for different points giving NAs and not pixel values
I am working with R statistics. And I am trying to extract pixel values for each point in each Landsat bands, however, I am just getting NAs instead of getting pixel values
Does anyone have any ...
0
votes
2
answers
883
views
Deleting values less than 0.31 in NDVI raster layer in QGIS
In my research I have a Ndvi raster layer, and I want to delete the values corresponding to bare soil, which are those minor of 0.31. Therefore, I will obtain a new raster layer with those values ...
1
vote
1
answer
843
views
Exctracting values and their coordinates from a raster layer in QGIS?
I would like to extract the pixel value and coordinates of each of them from a ndvi raster layer. I don't have a point layer from where I can extract those values, as I read in other posts.
...
0
votes
1
answer
350
views
Interpolate the gaps among NDVI values [closed]
I want to calculate the Crop Water Requirements and for this I need NDVI values for a period of time.
Because I have Sentinel 2 images and the temporal resolution is 5 days, I need also the values ...
8
votes
2
answers
2k
views
Finding the minimum value of different columns in QGIS
I'll try to calculate the minimum value of four different columns in my QGIS table like:
The min. value would be 1,50286 in the first row.
Is there any expression or tool to find the minimum value ...