Questions tagged [unique-value]
A value, often of a variable, that is unique in the domain of consideration.
37
questions
1
vote
1answer
35 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 ...
7
votes
2answers
3k 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 ...
1
vote
0answers
41 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 ...
3
votes
2answers
169 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
0answers
40 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 ...
0
votes
0answers
23 views
Creating dynamic layers on feature class for each unique value in field [duplicate]
I have a WORKORDER points FC that has a CLASSIFICATION field (Oracle 18c/10.7.1 GDB).
I want to automatically/programmatically create a dynamic layer in ArcGIS Desktop 10.7.1 for each unique value in ...
3
votes
2answers
207 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
1answer
123 views
Export Table of Unique Values by Field
I get a lot of shapefiles with no metadata. Grrr. 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 ...
0
votes
1answer
20 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
1answer
124 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
1answer
56 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
1answer
159 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
0answers
86 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
0answers
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
0answers
45 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 ...
2
votes
2answers
1k 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
0answers
102 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 ...
3
votes
2answers
3k 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
1answer
73 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
2answers
3k 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
1answer
574 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
2answers
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
2answers
195 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
1answer
48 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 ...
4
votes
1answer
966 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 > ...
2
votes
2answers
501 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
1answer
333 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)
...
3
votes
1answer
510 views
Get unique values over multiple fields
For creating a legend of a map, I need to get a list of unique values over multiple attribute columns of a layer. I know how to get a list of unique values within one column - is it possible to get a ...
1
vote
1answer
104 views
How to rename unique value using arcpy
I work with several MXD files. In each map there a polygon layer with unique values:
I try to change in the table of contents the "a" into "land use" by using this code:
import arcpy,os,sys
from ...
1
vote
1answer
60 views
Unique pairs based on multi values
I will try to be as detailed as I can with the purpose and walkthrough of the situation.
I have 2 Feature Classes (fc1 and fc2).
fc1 is a polygon shapefile with no overlapping polygons and an id for ...
1
vote
1answer
139 views
Getting trouble with prefix clause for an ArcObjects Java query filter
I'm using ArcObjects/Java for ArcGIS 10.2.2 and I'm trying to get unique values of a field for a feature class.
Here's my current code:
List<String> values = new ArrayList<String>();
...
17
votes
2answers
3k views
Automatically style raster using unique values in QGIS?
In ArcMap, it is possible to automatically calculate the unique values for a raster and then apply a different style to each unique value (see 1st image).
However, in QGIS, I have to manually add ...
1
vote
0answers
257 views
arcpy symbologyType is always OTHER, but I need UNIQUE_VALUES
I am trying to load a TIF file to the mxd using arcpy, then add a definition file to map colouring.
For one layer I have the problem, that the amount of values will always be different, sometimes it ...
2
votes
1answer
100 views
How do I create a layer with popups that has hundreds of unique markers/symbols?
I am creating a layer in ArcGIS JavaScript API.
I am looking for the best way to have a feature layer with popups and unique markers.
This layer has hundreds of markers at a time.
The markers are ...
2
votes
1answer
730 views
Convert raster to polygon
Using ArcMap 10.3, I want to digitized only the pale blue polygons in the raster into shapefile with "Raster to polygon" tool. This is the raster:
I get a shapefile with gridcode field, but i don't ...
2
votes
1answer
855 views
Copy first row of attributes and paste for each feature
In a newly digitised polyline vector layer, there are 7 columns attributes value that are choosen inside a value map combo-box that MUST be exactly the same for every newly digitised line (I choose ...
7
votes
3answers
6k views
How to find unique values of an attribute with python in qgis?
i look for solution to get the unique values of an attribute of a vector layer. what is the best way in python qgis to get the unique values of one distinct attribute? I work with qgis 1.8.0.