Skip to main content

Questions tagged [colortable]

The tag has no usage guidance.

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

Color table legend for GeoTIFF

I have a single-band GeoTIFF whose entries are all integers. I'm creating this GeoTIFF using GDAL. I would like to associate those integers with strings indicating what the integers mean so that the ...
Richard's user avatar
  • 1,831
0 votes
1 answer
362 views

Adding color table with Python and GDAL

I am trying to embed a color table into a raster using Python and GDAL without success. I was trying to follow the example here colors = gdal.ColorTable() with open(color, 'r') as f: lines = f....
palabria's user avatar
2 votes
0 answers
313 views

Retain colours when converting three-band to single-band raster in QGIS

I have a three-band raster: I would like to convert this to a single-band raster using QGIS, but retain the colours from the three-band version. I can use the Raster Calculator to create a single-...
EcologyTom's user avatar
1 vote
1 answer
675 views

Converting (Corine) land cover palette to RGB within Google Earth Engine

I'd like to export a Corine Land Cover (CLC) Map (i.e. an image from ee.ImageCollection("COPERNICUS/CORINE/V20/100m")) from Google Earth Engine go my Google Drive, forgoing the need to any external ...
Michael's user avatar
  • 1,186
1 vote
2 answers
173 views

Apply external choropleths in QGIS 3

I have a large number of cloropeths stored in SLD and QML formats. QGis is unable to apply any of those, there is no option in the GUI for SLD, whereas it fails to apply QML files correctly. Is there ...
Luís de Sousa's user avatar
1 vote
0 answers
156 views

Retrieving individual pixel height data given color table/relief data and color shaded relief map using C# and GDAL?

I am using C# GDAL/OGR/OSR bindings. I have a GeoTIFF file where each pixel is stored as a color in a Red, Green, and Blue raster band. I have a color table/color relief file (.csv) which I am able to ...
Kyle G's user avatar
  • 41
0 votes
1 answer
272 views

Loading color table (.csv) file to interpret raster data using C#?

I have a raster (GeoTIFF .tif file) that is stored in three bands (Red, Green, Blue), with each band's data type as a byte. I have a separate color table in the form of a .csv file, that stores a ...
Kyle G's user avatar
  • 41
8 votes
1 answer
7k views

Store GeoTIFF with color table - Python [closed]

I have a large number of GeoTIFFs for which I would like to add and store symbology as Color table. What is the easiest way for doing that? I would like to use Python, maybe with GDAL.
defelix's user avatar
  • 315
1 vote
1 answer
1k views

Get colortable from three-band RGB raster (brick) with R

I have a three band RGB Raster Geotiff. I will provide the sample data below, but I'm guessing my problem should be solvable generically. I would like to turn this three band raster into a single band ...
Ratnanil's user avatar
  • 1,003
6 votes
3 answers
1k views

Display data-defined vector layer styling in the map legend?

I have styled a polygon shapefile with hexadecimal colours from a field (it's a geology layer and the colours are those used by the BC provincial gov't). The layer looks great, but the data-defined ...
Nick_W's user avatar
  • 575
7 votes
2 answers
2k views

how to preserve color-interpretation when merging TIFFs and adding alpha band

We have a collection of black-and-white map tiles as *.tif images with accompanying *.tfw files, that we'd like to merge into one single large map and cut with a polygon (turning the area outside the ...
das-g's user avatar
  • 1,465
2 votes
2 answers
2k views

Export GeoTIFF with color table from web service using gdal_translate

The gdal_translate program has an option to define an XML file with the necessary information to download an image using various web map server specifications. I am trying to download a file that ...
Burrow's user avatar
  • 441
1 vote
1 answer
661 views

How to make colour tables in QGIS to use in multiple projects?

I would like to know how to make a colour table that can be saved and used across many projects. I am using this to colour rock types, for example: Rock one=blue Rock two= yellow Rock three= red etc. ...
NickW's user avatar
  • 11
3 votes
1 answer
1k views

Sort colors from light red to dark red

I have the following png image displaying tanker traffic density: The colors are from dark red to light red, dark red means 'lowest density' and light red means 'highest density'. For example, the ...
jirikadlec2's user avatar
  • 1,330
16 votes
2 answers
24k views

How to add a color table to a one band tiff using GDAL?

I have 1-band GeoTIFF file. The color interpretation for band is gray. I want a color table in order to transform my Col.tiff to Col.jpeg or Col.png. I tried putting a color table in this tiff via a ....
Faquarl's user avatar
  • 163
0 votes
0 answers
123 views

Tool to save own color table with CMYK, GRB and HSL

Im looking for a tool to save my colors with CMYK, RGB and HSL. So that I can print and compare, write some notes to every color and easy extract. Any idea? Im mainly using Inkscape, Gimp and QGIS ...
MartinMap's user avatar
  • 8,338
2 votes
2 answers
11k views

Multi-Band (RGBA) into single band raster

I have the raster which contains 4 bands (RGBA), which ilustrates the pupulation (traffic) density. I want to convert it to the simple gridded ascii, however I'm getting in the trouble when I try the ...
wastek's user avatar
  • 303
4 votes
0 answers
778 views

How to create raster attribute table to a raster data using gdal python?

I classified a remote sensing data and saved it as a raster using Gdal python. I want to create a raster attribute table for this classified result.. my classified raster has five classes with 1,2,3,4,...
A.JayaRani's user avatar
5 votes
1 answer
2k views

Transform RGB-Map to CMYK (qgis, opensource tools)

I want to print a map I made with qgis. For the print I need CMYK-colors but the print-composers pdf-output is RGB. How can I convert the RGB-map/-pdf to CMYK?
MartinMap's user avatar
  • 8,338
1 vote
0 answers
483 views

Applying colormap to grayscale tiff image using java

I have a gray scale tiff image.Now i want to add some pseudo colors i.e for pixels whose DN from 0-140, red color;DN from 141-255 ,blue color.Please tell me how to modify the raster table.Otherwise if ...
Suresh Kumar's user avatar
8 votes
4 answers
5k views

Installing 1-band color raster color table?

I would like to use the "1-band raster colour table" extension. I'm using QGIS Wroclaw 1.7.4. In the plugin installer I can't find this extension, even I quote for third party extensions thing. Does ...
olivier's user avatar
  • 81
2 votes
1 answer
394 views

hypsometric colors alà IMHOF, SYDOW or PEUCKNER

I need a hypsometric color-map to add it to my multishade-model. (High Mountain between 800 and 4000m) There are a lot of different types explained in IMHOFS "Cartographic Relief Presentation". I want ...
MartinMap's user avatar
  • 8,338
6 votes
1 answer
1k views

Creating color tables for floating point raster maps in GDAL?

I've got a script that dumps a floating point raster that I'd like to automatically color. Currently I load this raster in ArcGIS Desktop or QGIS and manually create a color table every time I re-run ...
Rich's user avatar
  • 1,589
3 votes
1 answer
651 views

Standard Colors for Landcover Maps

I have classified Landsat images into five classes - A variety of Palm, Water bodies, built-up/open area, other vegetation and miscellaneous. I used GRASS GIS for the process and the final classified ...
Chethan S.'s user avatar
  • 4,879
1 vote
1 answer
600 views

How to use r.patch with two maps having different colortables?

I am using r.patch to combine two raster maps in order to fill in the null values of the other. Is there a way to use r.patch but still maintaining the colortables of the separate raster maps? I do ...
teamAngat's user avatar
  • 1,367