Questions tagged [unique-value]

A value, often of a variable, that is unique in the domain of consideration.

Filter by
Sorted by
Tagged with
17
votes
2answers
2k 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 ...
7
votes
3answers
4k 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.
4
votes
1answer
651 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
1answer
324 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 ...
2
votes
2answers
764 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 ...
2
votes
2answers
466 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 ...
2
votes
2answers
151 views

ArcGIS 10.3 - Create/extract/summarize data from unique values symbology

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 figure out the total ...
2
votes
1answer
756 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 ...
2
votes
1answer
1k 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 ...
2
votes
2answers
307 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 ...
2
votes
1answer
90 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
425 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
0answers
41 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 ...
1
vote
1answer
91 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
196 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) ...
1
vote
1answer
57 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
0answers
63 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
15 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 ...
1
vote
0answers
83 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 ...
1
vote
1answer
348 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 ...
1
vote
1answer
110 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>(); ...
1
vote
0answers
192 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 ...
0
votes
1answer
38 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 ...
0
votes
2answers
1k 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 ...
0
votes
1answer
43 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 ...