Questions tagged [colormap]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Do GeoTIFFs support color tables?

I checked the official GeoTIFF documentations and there is no reference to color maps. Regardless, I see color maps or tables referenced everywhere, including in other questions. I am aware that a ...
0
votes
0answers
20 views

Record colour values which are assigned by plotting with a colourmap

I have a grid of polygons covering the surface of the Earth, and each polygon has an associated value (population density). When I plot this, a colour is assigned to each polygon based on its value ...
0
votes
0answers
17 views

Gdaldem color-relief gives uniform-colored GeoTIFF

I have generated a GeoTIFF from grib temperature data in greyscale using: gdal_translate -of GTiff -a_srs EPSG:4326 -b 28 2019-07-21-120000.grib2 output.temperature.tiff This is a 32bit floating ...
0
votes
1answer
44 views

Custom Colormap (cmap) rasterio, Python

I wish to display custom colours for the pixel values in my raster. How can I create a custom colormap (cmap)? In the example below, I have specified "magma" as the colour map. However, I ...
0
votes
1answer
25 views

Cannot count the cell amount

How can I count the colorwise cell amount of a layer file? The attribute table is hidden in the menu. Is there any tool to do that?
0
votes
0answers
14 views

Matlab mapshow raster plot change colormap

I want to change the colormap of a raster plot with mapshow(), however it always plot in grey: figure('position', [500, 40, 950, 950]); mapshow('RasterFile.tif', 'DisplayType','image'); colormap jet; ...
1
vote
1answer
16 views

'Add Colormap' tool returns nothing in ArcGIS Pro 2.2

In QGIS 3, I created a text file for my symbology. Here it is: symbology.txt # Fichier d'exportation de palette de couleurs généré par QGIS INTERPOLATION:INTERPOLATED 0,0,204,170,255,0 8,0,204,170,...
0
votes
2answers
56 views

Randomly coloring provinces in country map? [closed]

I have created a map of a country in QGIS. How do I color the province individually ? Is there a quick way to randomly coloring all the province of a country. I am using the "...
1
vote
1answer
40 views

GDAL Creating color ramp gives “ERROR 1: TIFFSetField:Images/out.tif: Cannot modify tag ”PhotometricInterpretation“ while writing”

I am receiving a weird error when creating my color ramp using GDAL color options. Here is a working version of my code import numpy as np import os from osgeo import osr, gdal #Load in and format ...
2
votes
1answer
331 views

python-gdal write a GeoTIFF in colour from a data array

I have a 14400 x 7200 (360 x 180 at .025 deg resolution) numpy array containing data which I want to make into a GeoTIFF. I have done the following which creates a GeoTIFF fine: # Set file vars ...
1
vote
0answers
14 views

Phenology divergence color map per pixel

My aim is to create a map displaying the start of spring for vegetation which is a set average value, I want for each pixel to know on which date it is actually trespassing this value. So lets say ...
1
vote
0answers
46 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 ...
2
votes
0answers
66 views

Use color map from .tif.aux.xml from ArcGIS in QGIS

I have a raster file (.tif) of different ecosystem types (from natureserve). Each value corresponds to a different type. I'm trying to get a table of those attributes and colors. The file includes (...
0
votes
1answer
63 views

High resolution and reasonable cost RGB satellite images [closed]

I need to obtain high-resolution RGB satellite images with reasonable cost for Pakistan. The objective is to guide tourist on high-resolution GIS maps. Google Earth does not have very high resolution ...
0
votes
0answers
90 views

Creating color relief from GeoTIFF using gdaldem returns font name

I'm trying to generate a color relief map from a SNODAS greyscale geotiff file scaled from 16-bit to 8-bit. Given the type of data and the scaling, it seems the pixel values are set at 1-5, with 5 ...
0
votes
0answers
85 views

GeoServer: colormap for point data

How could I create a continuous colormap for point data in GeoServer? I am planning to serve satellite measurements (METOP IASI) as point data in GeoServer 2.15 and want the point colors to represent ...
0
votes
1answer
845 views

Changing color scale in KML files?

I want to work with kml/kmz files in the Google Maps API, but I want to remap the color scales. Is that possible? Here are example kml/kmz files where I'd like to change the color representation ...
0
votes
0answers
228 views

How to include colors in 16bits one band raster

I have many 16bits one band rasters (geotiff), who basically are in greyscale. I had created a style for a color representation with "Singleband pseudocolor" in QGIS and save a qml file. But for my ...
9
votes
1answer
844 views

Creating Mosaic Dataset in ArcMap with Colormap as renderer or adding Colormap after creation?

I have several rasters in tiff format that have a colormap assigned to them: I then create a Mosaic Dataset with specs matching the imagery and add all of my tiffs to it (you can ignore the warnings ...
1
vote
0answers
74 views

Set colors in colormap to specific index values

I have multiple pictures with 8 bit indexed colors (0-255). In the end I want some of the colors at specific index values. Black has to be value 0 and white 255. Is there a possibility in ArcGIS to ...
5
votes
2answers
2k views

How to let rasterio use a colormap file when showing a TIFF

I'm new to rasterio. I have tried this example. My raster file is a GeoTIFF file and I have a colormap file available in ESRI *.clr format, with 58 lines. The values in the GeoTIFF file range from ...
7
votes
2answers
1k views

Converting ArcGIS raster colormap file (*.clr) to QGIS style file (*.qml)

I have an ArcGIS colormap (*.clr) and I want to open it in QGIS to apply a predefined style. The *.clr file is really simple, only has four columns representing [value] [red] [green] [blue], as this ...
0
votes
0answers
521 views

Correctly display the colors in MATLAB colormap and colorbar?

I am plotting spatial maps with fill values ranging from 0.05 to -0.05 Below is the part of code for plotting colormap and colorbar colormap(brewermap([10],'RdYlBu')); caxis([-0.05 0....
1
vote
0answers
40 views

Rasters after mosaicing don't have the same colourmap

I have topographic maps in form of image files. In order to make a DEM, I need to make a mosaic of them but there is a problem. I tried to make mosaic with Mosaic colormap Mode - FIRST, but still ...
1
vote
1answer
630 views

Extracting RGB values from symbology of .lyr or polygon file using ArcGIS Desktop?

I have a polygon shapefile of geological units. Someone has already created a symbology and assigned standard colours to the units, available as a .lyr file. What I need to do is create a list of the ...
7
votes
1answer
560 views

Circular color map in QGIS

In order to plot azimuth values for example, does anyone know any good circular color map? By good I mean, visually suited for human color perception. I didn't find any suited color ramp preset in ...
1
vote
0answers
280 views

ArcGIS colormap is not active?

i have a problem in ArcGIS with colormap. It is not active. I follow the steps written here http://desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-and-images/creating-a-color-map-clr-file.htm, ...
1
vote
1answer
601 views

Custom matplotlib discrete colormap with fixed values on raster

I've been using a color ramp with fixed values (0-255) corresponding to specific rgb color (discrete interpolation) for 8bit tifs in QGIS. I've used matplotlib to apply built in colormaps, but I'm ...
3
votes
2answers
339 views

Colour gradation in ArcMap - shades of blue

I have created a map of the United States with concentric circles around a geographic point, namely Detroit. I was able to give the different circles around the city colours of different grey shading. ...
2
votes
1answer
491 views

QGIS 2.x - 4 colors theorem - TopoColour and Map Coloring plugins [duplicate]

I try to use TopoColour or Map Coloring plugins to color my polygon layer: Both of them doesn't work or I do something wrong. Maybe somebody knows any other plugins which color shapes according to 4 ...
1
vote
1answer
39 views

Choosing color classes for comparing differently distributed spatial data

For comparison, I want to draw two maps alongside each other. Both maps should use the same color classes/scale. The problem is that the data for the maps is very different: The data for the first map ...
3
votes
1answer
589 views

Specifying values in stretched raster histograms of ArcMap?

I am trying to use the stretched color option with a topography raster. I have a color bar that I painstakingly make in arc and I am basically trying to set values of the topography equal to certain ...
2
votes
1answer
577 views

Style points using color gradients with QGIS

I need to style a shapefile with a specific color gradient, but considering absolute values. It's point shapefile with values between 0.19 and 0.70 (considering they're in an absolute scale between -1 ...
2
votes
1answer
658 views

Why does my raster layer disappear when changing colors?

When I change the colors of a raster layer (EVI), the layer disappears. Here are my color settings:
2
votes
0answers
53 views

ArcPy - Force layers to inherit their ColorMap when visualized

I have a large set of GeoTiff's which after manipulating I apply a colormap to the ones I want to visualize with: arcpy.AddColormap_management(raster, "", color_map) I then add them to my ...
6
votes
1answer
2k views

logarithmic color scale

I am using QGIS Essen on Windows 10. I have a data set (.txt file) that contains latitude, longitude, and black carbon (BC) values. I can style the layer using the values of BC - graduated style, ...
0
votes
1answer
2k views

color point shapefile based on cell values

I am using QGIS. After exporting a point shapefile from a raster file, I like to know how can I color the point shapefile with a cell values.
1
vote
0answers
96 views

Color .xyz files with QGIS

I like to know how can I color a xyz file based on the Z values(elevation) with QGIS, by python or graphicly
0
votes
1answer
100 views

Why do Landsat 8 grayscales have a range of (0, 2^16-1) while the screen colors are (0, 2^8-1)?

The grayscale levels in Landsat(0-65535) are more than that can be displayed on a standard display screen(0-255). The use of Landsat reflectance values must be more than just display purposes, which ...
4
votes
2answers
4k views

Python: color Canadian provinces in a shapefile based on given values

The goal here is to create a choropleth map of Canada in Python. Suppose I have a dictionary with values referring to each Canadian province/territory: values={'Alberta': 1.0, 'British Columbia': 2....
3
votes
0answers
109 views

gdaldem exact color matching fails

I'm using gdaldem color-relief to read a Uint32 raster and write an RGB tif. The input color_text_file has one line: 102216130 23:105:102 My input file is a single (large) pixel of value ...
0
votes
1answer
988 views

Converting PNG map to polygons with colors and value using ArcGIS for Desktop?

I need to use this map (PNG file) in which each color is a population density: I've already located it using Georeferencing. Now I need to convert it to shapefile with polygons, and narrow down its ...
2
votes
0answers
69 views

ST_ColorMap wrongly loses 0.0 value when INTERPOLATE

I want apply a colormap to a monoband grey scale tiff from postgis calling ST_ColorMap. My query is something like "SELECT oid, lowrite(lo_open(oid, 131072), tiff) As num_bytes " + "FROM ( ...
2
votes
1answer
509 views

Geoserver Dynamic Colormap using CQL won't validate

I'm trying to create a dynamic heatmap using GeoServer 2.8.3, but when it comes to validating the colormap-part of my SLD i keep getting the same error: line 66: cvc-datatype-valid.1.2.1: '${env('...
2
votes
1answer
340 views

QGIS raster no data value changed to -inf when viewing at smaller scale

I have a raster with some no-data cells. I want to visualise raster values using a colour map and set the no data values to transparent. I am attempting to do this using the transparency tab in the ...
1
vote
1answer
581 views

How does GeoServer/RasterSymbolizer ramp interpolate?

I want to encode data using a colormap using GeoServer/RasterSymbolizer, by mapping data using the full 24 bits in RGB. I am thinking of the following scheme: <ColorMap type="ramp"> <...
-1
votes
1answer
114 views

Raster colormap setting in ArcMap not honored in GP tool

I am working with digital versions of paper maps. Here is what I am attempting to do: In ArcMap determine the value in a raster's colormap that is the undesired black mask / "no data" section. Set ...
2
votes
0answers
121 views

More control on raster colour maps? [closed]

I'm playing with various raster layers (DEM, geophysical data such as gravity or gamma-ray, etc). QGIS does a fine job at reading and displaying them, but I'm looking for more control on symbology, ...
1
vote
1answer
115 views

What is the “clip” feature for color ramps?

In the singleband pseudocolor band rendering, there is a Boolean checkbox "clip". What does this do? I don't notice a difference in my maps and haven't found documentation for it.
2
votes
1answer
1k views

How to label feature of shapefile on the color map in matlab

I am trying to make color map from text file data. I am using geoshow to call shapefile of the region and to set it as back ground of the color map. My shapefile is of the country. I have digitized ...