We changed our privacy policy. Read more.

Questions tagged [color-ramp]

A range of colors used to show ranking or order among classes on a map.

Filter by
Sorted by
Tagged with
2
votes
1answer
388 views

Creating Color Ramp programmatically using ArcPy in ArcGIS Pro?

I am aware of accessing color ramp using the ColorRamp method of the arcpy.mp module. However, this only gets existing color ramps. Is there any way of creating new color ramp programmatically, for ...
1
vote
0answers
20 views

Bad result when extract slope from HGT using GDAL

I'm trying to generate a slope tif from a HGT DEM file from SRTM. I'm following this posts: https://blog.mastermaps.com/2012/06/creating-hillshades-with-gdaldem.html https://blog.mastermaps.com/2012/...
2
votes
1answer
36 views

Making legend with singleband pseudocolor in QGIS

I have a continuous raster with values from around 0 to around 1. I used these parameters on the symbology tab: When I head to the print layout and add a legend to my map, it displays like this (the ...
2
votes
1answer
46 views

Homogeneously assigning values to raster color ramp using PyQGIS

I am working on QGIS 3.20 on a raster layer symbology using PyQGIS singlebandpseudocolor and min/max values from the target raster layer. My own color ramp (from blue to red) does not spread ...
1
vote
0answers
32 views

Convert a one-band GTIFF to PNG with adjusted color ramp using GDAL

I have a one-band fCover GTiff with values ranging between 0 to 0.4 and I would like to convert it to a png using a color ramp adapted to this tiff. I already have a png from this tif but the color ...
1
vote
1answer
144 views

How to combine color ramps for two different layers?

I have two layers that contains 5 polygons each with their own values. I would like to make a global color ramp that encompasses both layers. But I am not sure how I can do this. I have tried setting ...
2
votes
1answer
237 views

Making color text file using GDAL

I have an 8-bit greyscale image that I want to convert to a "heat map" based on data values (0-255), using a color ramp. I'm aware that gdaldem works with color-relief, so I used the ...
1
vote
1answer
64 views

Dynamically changing fillColor variables in leaflet

When I want to style a polygon using a property the traditional way is to assign a function that returns a style object. Within that object you assign the fillColor property to a getColor function ...
1
vote
0answers
126 views

PyQGIS custom color ramp raster dataset

I want to create a custom raster color ramp using PyQGIS in a standalone app. I have found some examples about this task, for example: s=QgsRasterShader() c=QgsColorRampShader() c....
0
votes
0answers
18 views

Repeating DEM Color Ramp at Set Intervals using ArcMap

I have a Copernicus DEM file. I want to represent the elevation data with a color ramp, but instead of using a single color ramp to represent the entire range of values, I would like to repeat the ...
1
vote
0answers
33 views

QGIS - How to create contours based on values of a ramp

When creating contour on a raster, is it possible to create them based on values specified in a colour ramp ? I only see the option "Interval between contour lines"... Or maybe by using gdal?...
3
votes
2answers
42 views

Creating singleband pseudocolor ramp displaying colors based on values using QGIS

With QGIS desktop, I'm trying to create a ramp to a DEM using a singleband pseudocolor style. I have created a ramp with 15 different colours and values as well. I can't find the option to apply those ...
2
votes
1answer
83 views

Creating color ramp based on quantitative range

I have a set of polygons with correlation values. I would like to color each polygon based how strong their correlation value is where 0=lightest and 1=darkest. This means if I have a set of three ...
5
votes
1answer
202 views

Colours for positive and negative values in a raster layer in QGIS

I've got a raster layer in QGIS 3.10. It's statistics are the following (hopefully understandable although in Spanish): Valor mínimo: -0.36928805708885193 Valor máximo: 0.6040433645248413 Intervalo: 0....
2
votes
1answer
69 views

Specify absolute center for bi-directional color ramp in QGIS?

How do I center the color ramp on '0' for a series of raster with positive and negative values? The values are non-normally distributed. There doesn't seem to be a an 'absolute' option, only relative (...
3
votes
0answers
178 views

GDAL ColorRamp for Float Based Values

I have a performed band calculation to calculate the NDVI grayscale. It has float based values on a single band, between 0.0 and 1.0 respectively. I am attempting to colorize the single band via ...
0
votes
0answers
44 views

Applying same color ramp to multiple layers in ArcMap (in one step)?

I attached the image where you can see the layers in my tabnle of contents. The first one has the wanted color ramp, which I want to apply to the rest down there. There must be a way to avoid doing it ...
1
vote
1answer
60 views

Assigning QgsCategorizedSymbolRenderer Spectral Ramp to MultiPolygon

I currently have a Python script that adds a MultiPolygon shapefile to my map within QGIS. Within QGIS, I can apply a categorized symbology render, with the color ramp 'Spectral' going from blue to ...
7
votes
5answers
2k views

Apply a color ramp to vector layer using PyQGIS3

I'm trying to apply a color ramp to a QgsGraduatedSymbolRenderer in PyQGIS 3 (QGIS 3.8) using the following code: Getting the QgsGradientColorRamp: myStyle = QgsStyle().defaultStyle() ...
10
votes
2answers
955 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 ...
0
votes
1answer
95 views

Specify start/stop within color ramp in QGIS

I'm trying to color values along buffered two-point lines with a color ramp in QGIS. The color ramp should represent the height of the lines, that varies linearly from start to end point. Now I cannot ...
1
vote
2answers
123 views

Symbolizing raster layer with Python QGIS

I have a simple Python code that makes some calculations on rasters and give me some output rasters; I have also a style saved to color rasters based on pixel values. Is there an option to load the ...
5
votes
3answers
353 views

Importing color ramp into QGIS 3.10

I would like to use a set of color ramps that are available at CPT-CITY but cannot find any way to import the downloaded files. Note that I have found the Catalog: cpt-city option under the Create New ...
6
votes
2answers
420 views

Forcing color ramps to center around zero in QGIS

I have several columns of data that have percentage values. Some are positive and some are negative. In one particular column, the values range from -0.70 to +0.20. The mean value of the column is ...
3
votes
0answers
47 views

QGIS Singleband pseudocolor Continuous symbology

If you want to configure the symbology of a raster in QGIS using render type 'Singleband pseudocolor', you can choose out of 3 modes to generate values in the table (continuous, equal interval and ...
2
votes
3answers
67 views

Filling polygon with 2 different colours representing 2 different sets of data using QGIS

I have a map of England where counties are polygons. I would like to fill them with 2 colours; each half corresponding to a specific set of data. Is there a way to do that? I have included an example ...
2
votes
0answers
37 views

How to deal with extreme values messing up Graduated colours? (ArcMap)

Is there an easy way to deal with extreme values messing up the Graduated colours of a map and skew the intervals in such a way that the colour ramp still makes visible sense? I have a map displaying ...
1
vote
0answers
35 views

Generate color ramp scale for imported base map in QGIS

I have imported a bathymetric layer, showing depth variation around an archipelago, which I'm using as a basemap. I would like to create a scale bar for it, showing max and min recorded depths. Is it ...
1
vote
1answer
101 views

Proper way to share raster layer

In ArcGIS I have used to share a shapefile (for example beach areas) by sending a package that contains different files (.shp, .shx, .prj, .cpg, .dbf, .sbn, .xml) which contains all necessary ...
0
votes
0answers
69 views

Convert MATLAB colormap to QGIS

I want to to use a very good looking colormap/color ramp from a MATLAB program LINK in QGIS 3.x. I already tried to save a colorramp from QGIS and insert the values from the MATLAB colormap after ...
19
votes
1answer
21k views

Elevation color ramps for DEMs in QGIS

I need to color a DEM that I have loaded in QGIS 2.2. I'd like the DEM colors to represent different elevations, something like: https://dl.dropboxusercontent.com/u/26086662/color_ramp.jpg None ...
3
votes
1answer
2k views

Downloading image/exporting image to google drive from google earth engine with color palette

When I download Analysis results from Google Earth Engine, the image is exported in to google drive but it does not have a color palette. How do i add color palette with the exported image using earth ...
3
votes
2answers
241 views

Color map or SLD for Global Wind Atlas?

I am trying to use the Global Wind Atlas for a map about alternative energy: https://globalwindatlas.info I have downloaded the 14.5GB geotiff of global wind power density. QGIS reads it perfectly and ...
2
votes
1answer
190 views

PyQGIS: How to apply a color ramp on the symbol's outline when using QgsCategorizedSymbolRenderer?

I have polygon layer containing overlapping features (service areas for several years) and I want their symbology to use a color ramp in QgsCategorizedSymbolRenderer applied for each year use a ...
5
votes
4answers
8k views

Why are ArcGIS 10.2 Color Ramps missing?

I'm using ArcGIS 10.2 Trial and found that there is no Color Ramps. Is it a bug or a restriction?
4
votes
1answer
10k views

Showing just color ramp in legend without values

I'm using ArcMap 10.3.1. Is there a way to show, on the legend, just the color ramp as a single patch instead of with each group of values? I don't really need to show those values on the legend. ...
1
vote
1answer
795 views

Adding continuous color ramp as legend using ArcMap [duplicate]

I am interested in adding a continuous color ramp legend with numerical labels like the following example to place on the layout view of arcmap: I am quite new to arcMap so I'm not sure how I can do ...
0
votes
1answer
56 views

Convert SHD files to CLR or more modern color ramp format

I have a legacy SHD file (from Arc/Info) that contain color ramp information that I would like to use to symbolize a raster layer in ArcGIS Pro. I have access to an Arc/Info installation and am able ...
0
votes
1answer
139 views

ArcGIS Javascript 4 API - Class breaks visualization in GeoJSONLayer

I'm trying to create a data-driven visualization using a GeoJSONLayer with ArcGIS Javascript 4.14 using "esri/renderers/smartMapping/creators/color" on a field named "Number" (specifically a Class ...
2
votes
2answers
589 views

Making CIR imagery in QGIS

I want to compose a CIR image in QGIS. Images are part of sample dataset downloaded from Micasense website. I built virtual raster out of Red, Green and NIR rasters but the output file color scheme ...
1
vote
1answer
324 views

How can I make a heatmap of polygons using a graduated color scheme in QGIS?

I want to make a heat map of species biodiversity like the people did in the picture below. I can sort of get it to work by setting my layer with multiple polygon subclasses in the Layer styling panel ...
7
votes
2answers
2k views

Gradient colour for lines

My road network is broken up into segments. I want to produce a map that shows where the segments start and finish. I don't really want to create a point layer that shows the location of the ends ...
3
votes
0answers
181 views

What is tilde (~) for in R? [closed]

I know this is an almost too simple question. But maybe there is a fast answer. Looking through some code to build a leaflet map in R I found that part of code: mypal = colorNumeric( palette = "...
0
votes
2answers
129 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 ...
7
votes
1answer
7k views

Using a fixed palette range to plot an NDVI raster in R

I would like to plot an NDVI raster with rasterVis packages using the normalized colors from red to green. I don't understand how fix the color scale from 0 to 1 even if my raster value are between 0....
0
votes
2answers
703 views

Applying same color ramp to two line symbols in ArcMap

I am working in ArcMap 10.2. I want to show two different line feature classes, one with just plain lines and the other with arrow-headed lines. The feature classes have the same categorical field I ...
3
votes
2answers
1k views

Changing categorized style color simultaneously in QGIS?

I work with this polygon: and i need that all features will be with border line only without fil colors. I seek for a way to do it simultaneously to all the categorized features, and not treat every ...
3
votes
2answers
470 views

QGIS Time manager Changing Color Polygon

I'm using QGIS 3.6.3. Noosa. I have 10 polygons, each has a starting time and an end time. Getting Time Manager to run was no problem at all. However, there are two things I would like to add in my ...
1
vote
0answers
145 views

How to Center a Split Colour Ramp on Zero in Arcgis?

I have a number of different rasters with different ranges. I want to display them with defined intervals of 10. Values range from -200 to 400 varying for each raster. I want to symbolize them with ...
2
votes
0answers
245 views

Discrete color ramp in QGIS

This seems basic but I am new to QGIS and I can't find how to do it. I have three shape files each with the same attribute. Each shape file is imported into its own layer. Each shape file has ...