Questions tagged [raster-attribute-table]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

Using different Raster field when is not "Field" parameter for "input value raster" with arcpy.sa.ZonalHistogram

I want to get the Histogram of a Raster using the "Value" field in the raster attribute table. The "feature zone data" is a shapefile and the "Input Value Raster" a 32Bit ...
user avatar
2 votes
1 answer
34 views

Classify the image by a field in its attribute table using QGIS software

I created the attribute table of raster data in ArcMap software. There is a field that I added in the attribute table that I created. I can reclassify the image using the field I added to the image's ...
user avatar
  • 23
0 votes
0 answers
15 views

Reversing count data to provide individual values against each grid cell ID in raster attribute table

I have overlayed my raster layer with a grid polygon using zonal statistics with the hope that each grid cell provides an average rating from my raster layer. However, my attribute data provides me ...
user avatar
0 votes
0 answers
62 views

Editing added field in raster attribute table using ArcMap

I have a raster file in tiff format and this raster file has an attribute table already. What I want to do is to populate each original values with a new value and display the map with new underlying ...
user avatar
  • 171
0 votes
1 answer
80 views

Extract and Add raster class attributes to vector file attributes in ArcGIS

I have a shapefile having (say 20 polygons). There are 20 rows in the attribute table of this shapefile (1 corresponding to each polygon). I have a binary raster with two classes 1 and 2. I want to ...
user avatar
3 votes
1 answer
158 views

Polygonizing LineString features to Polygon features and keeping Attribute table values using PyQGIS

I am trying to create a circular raster in Qgis3.8.3-Zanzibar with the Python console. I am able to make it with LineStrings (combine of Polyline and Circular String) and fill each feature with ...
user avatar
1 vote
1 answer
140 views

Joining tables that have different numbers of rows using ArcMap?

I am trying to join a table to a raster output for an assignment in ArcMap (10.7), but they both have different numbers of rows. Is it possible to join them?
user avatar
  • 11
1 vote
1 answer
1k views

Read RAT (raster attribute table) using GDAL or other python libraries?

Referring to this post, is there any update on the reason why GDAL function band.GetDefaultRAT() always returns NoneType? I can't find much documentation. I've tried to create a RAT for testing (...
user avatar
  • 353
3 votes
1 answer
294 views

Change raster cell size while keeping attributes

I have a raster with a cell size of 1 and I want to increase the cell size to 5 so I use the Aggregate() function in ArcMap 10.4. The problem I'm seeing is that after processing I lose the desired ...
user avatar
  • 31
2 votes
0 answers
191 views

How to use show Raster Attribute Table in OpenLayers?

I have some GeoTIFF files that I am showing on an openLayers map using GeoServer. Now, I wish to access a Build Raster Attribute table on my web application. In other words, if a user clicks on a ...
user avatar
  • 287
0 votes
0 answers
245 views

How to view raster attribute data in QGIS? [duplicate]

I have a single band, 8-bit, unsigned integer tif (National Land Cover Data). When I view it in Arcmap 10.4.1, I am given the opportunity to also view it's attribute table: However, when I view this ...
user avatar
  • 7,088
2 votes
2 answers
512 views

Checking whether Raster has Attribute Table using ArcPy?

I can't seem to find a Describe property or any tool that will tell me whether a raster has an attribute table. I can do it with a simple try/except statement on a test cursor or a table-specific ...
user avatar
  • 4,068
1 vote
0 answers
161 views

clipped raster but attribute table not updated?

I have a nightlights raster file of India, and I clipped it using the block shapefile for India. After the clipping, the clipped raster files have the attribute of the original raster file. I want the ...
user avatar
3 votes
1 answer
932 views

What is a raster attribute table?

I've seen raster attribute tables mentioned in several places here at GIS.SE and at ESRI websites. However, I don't understand what is a raster attribute table (RAT). The resources I found so far ...
user avatar
  • 10.3k
2 votes
1 answer
477 views

Export RAT (KEA driver) to Shapefile

I have a dataset of rasters (driver kea) whose has, let's say, 20-30 attributes in their RAT. I'm realizing how to have these attributes in shapefiles (without using proprietary software). I've read a ...
user avatar
  • 279
2 votes
1 answer
7k views

Build Raster Attribute Table from .tif with pixel type of float or double?

I have a raster with the extension .tif. It's a subset of 87x87 pixel with values from some 6,66 to -4,27. If I right click on it there is no Attribute Table available. However, I can change the ...
user avatar
  • 21
6 votes
3 answers
23k views

Creating attribute table for raster data?

I have raster dataset for rainfall but it does not have an attribute table. How can I create tabular data using the same raster file and the join back again to it? Software used is ArcMap 10.1.
user avatar
0 votes
1 answer
2k views

how to create a new raster from one field of a raster with several fields in a RAT

I have a raster with an attribute table containing many fields. I want to create a new raster from one field using ArcGIS 10.1.
user avatar