Questions tagged [unique-value]
A value, often of a variable, that is unique in the domain of consideration.
60
questions
7
votes
1
answer
152
views
Auto incremental field filled with filtered by other field value in QGIS Attribute Form
From a point geometry layer with two categories "A" and "B", when I enter new points, I first choose the category of the "CATEG" field with a listbox, and then I use the ...
1
vote
1
answer
60
views
Changing Widget type to 'Unique Values' and making it editable using PyQGIS
I'm new to the QGIS software and am attempting to change the widget type to 'Unique Value' (by default, it's 'Text Edit') using PyQGIS.
I have more than 20 fields in a layer for which I want to set ...
1
vote
2
answers
107
views
Extracting attributes list with unique values from QGIS Attribute table
How can be extracted and exported a list of all single values without duplicates from the column of an attribute table (e.g. "formations" column values of an attribute table of a vector ...
1
vote
0
answers
13
views
Setting numeric values in new field based on length and branches in QGIS
I'd like to know how to set incremental numeric values in a new field of a layer, which has been obtained by "shortest path from point to layer", based on the length and the branches. I need ...
1
vote
0
answers
37
views
Set symbol description to an attribute field
ArcGIS Pro. I would like to show the patch, label, and description in the legend of my map. I found the description feature in symbology, but it seems like it has to be filled in manually. I would ...
0
votes
0
answers
85
views
ArcGIS Pro - unique values symbology not displaying for raster data
I am hoping someone may be able to help. I have a rather large raster (GeoTIFF) which I am trying to display as 'unique values' in ArcGIS Pro. However, the symbology pane is not showing any values and ...
0
votes
0
answers
56
views
Symbology: Unique Values populating all domain values
I am working in ArcGIS Pro 2.8.5 with a polygon feature class that I want to symbolize using unique values. It is a domain constrained field with 1846 choices, but for the polygons in the feature ...
0
votes
0
answers
34
views
In ArcGIS Pro 2.5.0, how can I symbolize a layer by multiple attributes (subtype, ispaid, definition)?
In ArcGIS Pro 2.5.0, a polygon layer is symbolized by unique values SubType (Field 1) and IsPaid (Field 2) where IsPaid is 0 or 1.
SubType A, 0 = Yellow
SubType B, 1 = Red
SubType C, 0 = Light Green
...
0
votes
0
answers
286
views
Could not write feature into OUTPUT using PyQGIS
I got a shapefile layerStreetAxis from these file I run the code below. For the most of cases the script works well, but I found a case where the script stops in uniqueStreetNamesAxis and gives me the ...
0
votes
2
answers
49
views
Deleting geometries in feature layer based on unique field values
I have a building feature layer for a county. Some parcels have more than one building, so the buildings in these parcels all have the same TMS number in the "TMS" field. I only want my ...
6
votes
0
answers
202
views
Listing unique values grouped by categories using QGIS [duplicate]
At 3.24.3, I need to create a list of the unique values in field A, grouped by field B.
In my example, a data table contains a series of inspection dates (field A) that occurred across several ...
0
votes
1
answer
208
views
Select points by number of unique values by group - ArcGIS Pro
Similar to this question,
I have two datasets that consist of points and polygons, where all the points are inside the polygons. The polygon IDs (called cluster IDs) were previously joined with the ...
0
votes
0
answers
866
views
ArcGIS Pro Unique Values with Domains Does not Display Correct Number of Classes
Update 10/4/2022: A bug has been logged with esri.
This post may be overkill, but I'd like to see if anyone else has run into this and if they have a fix.
I'm trying to get ArcGIS Pro (2.9.2) to ...
0
votes
1
answer
94
views
How to create a list of unique strings, and print that list in a field using ArcGIS Pro field calculator
I have a landcover polygon that I spatially joined to a soils polygon. This left me with many duplicate soil types in each row of the landcover polygon. I would like to summarize the soil types to ...
3
votes
1
answer
44
views
number the soil_unit_code in a soil_id column
I believe its pretty easy to be done, but I just don't seem to see the solution in Qgis. Is it possible in the field calculator?
I've an attributetable with 200 features with like 20 different ...
2
votes
1
answer
3k
views
Using Save symbol to style for layer with Unique Values style in ArcGIS Pro
I'm new to ArcGIS Pro and this process is really easy and straightforward in QGIS but in ArcGIS Pro 2.8 seems to be complicated.
I want to save the symbology of this counties layer which shows a ...
3
votes
1
answer
726
views
Finding all unique values in categorical image
I'm using GEE and I would like to get all the unique values of a raster in a specific region. My raster is uploaded to EarthEngine as an Image and I would like to sample only the first band.
Which ...
7
votes
5
answers
2k
views
Counting values of each classification code using QGIS
I feel like this is an easy fix, but I'm struggling to just get a count of how many attributes I have for each value in a certain column for an Attribute table.
I have a column of landfire ...
2
votes
1
answer
54
views
Export one point with shared origin value in attribute table
I am trying to find a way to export unique points from a pointlayer in QGIS. Using the tool ‘Extract vertices’, I generated corner points from polygons in the input layer (first image). I now only ...
3
votes
3
answers
470
views
QGIS - ValueMap with custom value input
Is there a possibility in QGIS to populate a ValueMap-like form widget with predefined data and additionally offer a possibility to fill in data (that might be missing) manually? Like an editable ...
0
votes
0
answers
153
views
Cannot see or classify weighed overlay or weighted sum rasters using ArcMap
I ran weighed overlay and weighed sum on a suitability analysis in a model. neighther one is visible when added to display. The weighed sum values are also suspect (first pic). I go to properties, ...
3
votes
3
answers
473
views
Naming polylines in sequences from left to right (west to east) using QGIS
I would like to give each of these polylines an "ID" e.g. 1,2,3,4 etc. from left to right (West to East) or more accurately off a bearing of 125°.
How can I achieve this in QGIS?
Data: https:...
1
vote
1
answer
1k
views
How to create polygon automatically with coordinates [duplicate]
I have some bunch of points in an area and I want to draw connecting lines with the help of points to create a closed polygon. But all these needs manual efforts. Can any one explain to me how to ...
12
votes
2
answers
9k
views
Getting unique values from multiple fields as matched using PyQGIS
There are "Code" and "Color" fields in my layer like this: (Sample 6 rows)
Code
Color
A
Red
B
Blue
A
Red
A
Red
B
Blue
C
Green
All As are Red, all Bs are Blue and so on.
I ...
1
vote
0
answers
101
views
Nearest unique duplicate points
How can I highlight nearest(certain distance) unique duplicates? Actually I tried a process in ArcGIS but only duplicates are pulled out from the entire file without considering distance. How can I do ...
9
votes
2
answers
619
views
Adding auto incremented value to existing ID
I am having a table where two columns are "ID" and "maintenance_ID". The "ID" column is unchangeable and comes from another table but the "maintenance_ID" is ...
3
votes
2
answers
596
views
Adding consecutive unique ID for distinct value sets and sorting by date [closed]
I have a layer with features, which have a unique ID, called "Object_id". A second column is "Date", a third called "info" (see below).
What I need is to fill the fourth ...
0
votes
0
answers
246
views
Make Feature Layer / Select / Select Layer By Attribute "Get Unique Values" grayed out in ArcMap ModelBuilder [10.8.1]
I'm trying to extract road segments from a feature class through ModelBuilder in ArcMap 10.8.1 based on attribute queries, but the "Get Unique Values" button does not pull up a list of ...
5
votes
2
answers
2k
views
Getting unique values in a QGIS Expression
I'm using QGIS 3.4 attribute form to edit the widget type.
I'm trying to retrieve "cab_no." field values (only unique values) from 'U_Cabinet' layer to use it in "fdt#" field in ...
3
votes
3
answers
2k
views
Export Table of Unique Values by Field
I get a lot of shapefiles with no metadata. Often there are tons of table columns (fields) with no description of what the column is for or what the coded values mean.
Is there an easy way to export a ...
0
votes
1
answer
61
views
Mapping multiple categories that overlap, but cannot get layer to appear on top consistently ArcMap 10.5
I am trying to map overlapping practices using unique values in ArcMap 10.5. I have a practice for planting and practice for site prep. Planting is a solid fill blue but for some reason the prep ...
3
votes
1
answer
153
views
Keep unique names of places
I have a map and I want to create a label with the unique names of places. Meaning a province may have a lot of polygons but I only want to keep one of these polygons' name (the main or biggest one is ...
0
votes
1
answer
101
views
Duplicate and triplicate values in raster symbology for Unique Values using ArcMap
I'm using ArcMap 10.7.1 on Windows 10 to symbolize some rasters. Looking at the the unique values, I found duplicates and even triplicates using the Symbology window (see picture).
There are about ...
1
vote
1
answer
493
views
Counting unique species in polygon layer and buffer
Within QGIS I'm working on a data set that contains species at 100m resolution (eg OSGB 6 fig) and 10m or finer resolution (eg OSGB 8 or 10fig). The objective is to count the number of unique species ...
1
vote
0
answers
99
views
Unique values from Kernel Density
I have calculated Kernel Density for feature class "fc" using following code:
dens = KernelDensity(fc,"NONE", 1, SearchRadius, "SQUARE_METERS", "DENSITIES", "PLANAR")
The raster attribute table:
I ...
1
vote
0
answers
17
views
Feature Class Unique Fields For ESRI Collector Survey
I have a suite of empty feature classes I use for ESRI Collector surveying. They are in a FGD. I want the PhotoID field in my Photos feature class to contain unique records, so fieldworkers don't keep ...
2
votes
0
answers
55
views
Searching on the fly within buffer in QGIS
I am using "Unique Values" widget with "Editable" option in QGIS 2.18.3, for my "Name" field in POIs layer to eliminate spellings mistake.
"Unique Values" widget fetches all the distinct values in a ...
5
votes
3
answers
2k
views
Deleting features with identical table attributes in QGIS
How do I delete features with identical table attributes in QGIS? Otherwise, is there a tool like the 'Delete Identical Tool' in ArcGIS?
For example, if I had 4 rows, and 3 columns, where I wanted to ...
3
votes
2
answers
3k
views
Create attributes from unique values of another features classes category attribute with FME
I have a table (say landuse polygons for example) structured as follows:
ID | landuse_category
---------------------
1 | woodland
2 | industry
3 | farmland
4 | woodland
5 | lake
6 | farmland
7 ...
1
vote
0
answers
165
views
ArcGIS Pro: How can I add layer effects to all Values with 'Unique Value' Symbology
I have a polygon feature class I want symbolized by a unique value attribute, in ArcGIS Pro.
Here is my example of this basic operation:
When I select one of these values, go to the 'More'-> 'format ...
4
votes
2
answers
5k
views
Unique List of Image Dates from Image Collection in Google Earth Engine
I would like to create a list or array object containing a unique set of dates represented in an image collection for a given region of interest. I have a function that extracts and converts dates for ...
0
votes
1
answer
192
views
Subtracting unique values from different areas within the same raster
I have a raster of an area with various elevated features, situated on an overall slope. I want to normalize the elevations of each feature by subtracting the lowest elevation at each feature. This is ...
2
votes
2
answers
4k
views
How to run for loop with unique values
Instead of two shapefiles that are saved in fcList in this loop I would like to do KernelDensity on the unique values of one shapefile.
Does anyone have an idea how this might work?
import arcpy,os
...
1
vote
1
answer
929
views
Unable to get Feature Layer to apply Unique Value Renderer in ArcGIS Javascript API
I am trying to make a unique value renderer on a map using the JavaScript API. I am using a layer that represents continents. I have used the samples and modified the code for my own layer, but I can ...
0
votes
2
answers
2k
views
Select features with same value in a given column
I first tried writing this post in generalities but realized it was more confusing that just giving the long version, so here goes.
I have a tree inventory that has property quads (in front of a ...
2
votes
2
answers
431
views
Creating/extracting/summarizing data from unique values symbology using ArcMap
I am using ArcMap 10.3.
I have a bunch of data symbolized by categories - unique values. I have grouped together many (10 to 40 per grouping) different values to create this symbology. Now I need to ...
0
votes
1
answer
83
views
Finding value of peer to peer pixel in another raster layer with same pixel size, coordinate and location from attribute table?
I have two raster layers with same pixel size, location, coordinate and time. I need to know what the value of defined pixel in one layer is in same location (pixel) in another raster layer.
The ...
6
votes
2
answers
1k
views
QGIS List Unique Values tool only exports to .html format
Using QGIS 2.16.2 I would like to export the unique values in a shapefile string attribute field to a new database table (which would contain a single field listing the unique values). The Vector > ...
3
votes
2
answers
886
views
Seeking tool in QGIS similar to ArcGIS Combine?
I am wondering if there is a way/tool in QGIS (2.6) could produce similar output as ArcGIS "Combine" tool does. I am trying to integrate values from overlapping rasters, and then create a single ...
1
vote
1
answer
562
views
PyQGIS QgsVectorLayer.uniqueValues() override active object filtering
This code snippet gives me the unique values for a vector layers attribute called myfieldname
l = iface.activeLayer()
attrIndex = l.fieldNameIndex('myfieldname')
uniValues = l.uniqueValues(attrIndex)
...