Questions tagged [values]
The values tag has no usage guidance.
52
questions
0
votes
0
answers
22
views
Calculate the area of pixels with values below 0 in NDVI
I'm relatively new in GEE. I'm trying to calculate areas of different type of classification in GEE and I'm having a problem with it. The script code is: https://code.earthengine.google.com/...
0
votes
0
answers
14
views
Empty vector obtained from raster poligonization in QGIS 3.22
I am converting a NDBI raster into a vector through the poligonization process (raster to vector). I obtain a vector without any value.
In the symbology property, I tried different combinations of ...
0
votes
0
answers
20
views
Minimum raster values using QGIS
I created a series of heatmaps and now I want to make an algebra with them on QGIS 3.22. I normalized them with the SAGA normalization tool and it worked, but when I do the algebra, the results are ...
2
votes
1
answer
53
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
17
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?
2
votes
1
answer
81
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
39
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
329
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
26
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
28
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
64
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
461
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
165
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
88
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
20
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
32
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
26
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 ...
1
vote
1
answer
135
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
0
answers
70
views
Reprojecting a raster results in larger raster values than the original raster values
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
46
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
490
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
174
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
122
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
3
answers
419
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
34
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
122
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
629
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....
2
votes
2
answers
1k
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
42
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
150
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
337
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
349
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
174
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 ...
0
votes
1
answer
53
views
ArcMap 10.6: Is it possible to extract point values from points?
I've got three point shapes with different fields that I cannot seem to merge as I get ERROR 000229: cannot open 'name of shapefile'. Instead of solving this error, I wanted to try something different:...
1
vote
1
answer
1k
views
QGIS-Export Raster Values to a .csv file
I use a Raster, based on .png and .pgw file. (plans from a town)
The plans include information about where buildings are allowed to be built and maximum building height, ground elevation etc.
Now i ...
0
votes
1
answer
22
views
Making the results from function a string [closed]
I am trying to get the features count from feature, then put it in a dictionary that I can call later:
ct_dict = dict()
...
fipsList = ['13245','06007']
for fip in fipsList:
mergedJoinCentroids =...
2
votes
2
answers
670
views
PostGIS: Change raster values depending on values from other raster
I have two rasters and I want to change all the values from "raster1" to 4, where they are larger than the values from "raster2" and to 0, where they are smaller.
So raster2 has only one value, which ...
1
vote
0
answers
199
views
Polygonizing distinct values using QGIS?
I am using QGIS 3.0.3 and I am trying to create simulated data through two sets random points distributed along two gradients of values (photo below). Using the raster calculator I created two ...
1
vote
1
answer
498
views
Null values being interpolates as 0 in QGIS
I have a file with data fields which I have imported as CSV. When I look at the Field Attribute Table, the empty fields appear clearly as NULL values. However when I interpolate the data, the NULL ...
4
votes
1
answer
310
views
Return a set of unique pixel values in a raster with PyQGIS? [closed]
I am trying to test whether a value exists in a raster against all the values present. I am using pyqgis (Python 2.7) in in QGIS 2.14. I have found a number of ways to get point location values and ...
1
vote
1
answer
65
views
ArcMap correct Errors in Attribute Table
I want to replace the all the -9999 values in my attribute table with 0.
Does anyone know an easy way to do this?
3
votes
1
answer
657
views
Extracting Z-Values from SHP with geotools and vividsolutions?
I use the java libraries geotools and vividsolutions to extract xyz data from a shapefile (Vienna from this example).
This works perfectly fine for x and y data, but all coordinate values for z are ...
3
votes
1
answer
119
views
Creating buffers with values, and finding areas with high value overlap of these buffers
I'm working on a project where, essentially, I'm measuring threat levels based on geospatial patterns. I have different groups with higher or lower threat levels based on the distance from their ...
0
votes
0
answers
82
views
File Geodatabase: storing text in an integer field?
I recently downloaded a FGDB from NOAA at https://marinecadastre.gov/ais/
The FGDB contains a point feature class with ship locations. One of its attribute fields, named [Status], is of type Long ...
2
votes
1
answer
91
views
Returning attribute values without additional characters
I have this part of code inside of a plugin:
Emptylist = []
def saveToList(self, layer, EmptyList):
for feat in layer.selectedFeatures():
attributes = feat[self.pgLyr.currentText()...
0
votes
0
answers
88
views
Converting feature to raster, missing values
I have converted many features from the same shapefile to rasters, but am now getting an issue where values are missing. Converting the percentage values in column a212 (data type long) produces a ...
1
vote
0
answers
93
views
Problem with the attribute table values, they are replaced with ************
I suddenly have a problem with my attribute table. When I change a value the whole line is messed up because values shift and the value I add is replaced by ***********. How can I avoid this from ...
1
vote
2
answers
107
views
Correlating number values with text values from different fields in ArcMap?
I need to create a vector layer for representing the geology of an area. I have the geological map, a raster file.
I made some polygons and I named them in the attribute table, but I don`t want to ...
11
votes
1
answer
1k
views
Creating predefined values in field using PyQGIS
I would like to make programmatically (with Python) the same thing than we can do directly in QGIS when you create a list of values for a field.
I would like to create a new field and specify a list ...
3
votes
1
answer
848
views
Setting a default value in a QGIS creates empty field
I use Qgis 2.18.3 and tried to set default values in new column in a existing shapefile via the layer properties as described here: Setting a default value in a QGIS field
or here
How to set a default ...