Questions tagged [color]

The property possessed by an object of producing different sensations on the eye as a result of the way it reflects or emits light

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

Can't set label background nor callouts color to the the variable @symbol_color

Working with QGIS 3.22.8 you can set a data defined override for label color to match that of the associated feature using the variable @symbol_color, but it does not work for label background fill/...
1 vote
1 answer
33 views

OpenLayers - how to create 2 different colors from one color?

So I am using asArray() to create rgba color from color provided as a string. I noticed a very strange behaviour when I create two colors from same orginal string. It seems like they both reference ...
3 votes
1 answer
80 views

QGIS - list with clear name colours

One may use data defined override in order to set symbol colours. The expression editor says, the expected format would be string [r,g,b,a] as int 0-255 or #AARRGGBB as hex or color as color's name ...
  • 13.4k
1 vote
1 answer
44 views

Extract Raster Value around point on QGIS

I'm using QGIS and I'm triyng to extract raster values around some points that were created from a .csv file. I already could extract the raster values in each point but each point represents an ...
0 votes
0 answers
11 views

Automatically assigned marker colors for markers within a group too similar, anyway to get unique colors assigned?

Automatically assigned marker colors for markers within a group are too similar, is there anyway to get unique colors assigned? I could go through the symbology of each marker and manually change them ...
1 vote
1 answer
56 views

Changing color of all layers in geopackage at once in QGIS

For a project I am working in QGIS all the layers within a geopackage need to be the same color. Is there a way I can change the color of all the layers to same color simultaneously or do I need to ...
2 votes
1 answer
98 views

Set linestring color by property value in PyQGIS

I have a GeoJSON layer consisting of some LineStrings. Each feature has a color property: { "type": "featureCollection", "features": [ { "...
  • 125
1 vote
1 answer
46 views

Extract Corine Codes from QGIS to an .csv

I'm doing a project and I need to extract the Corine Codes to a csv accordingly to a set of points. I have already mapped these points on QGIS in a .csv format (with latitude and longitude) and I ...
1 vote
1 answer
51 views

Using QGIS default Random Color Ramp in Categorized symbology using PyQGIS

Based on this code below, is it possible to use Random Color option in Symbology? layer = iface.activeLayer() field_name = 'zona_manejo' field_index = layer.fields().indexFromName(field_name) ...
  • 631
4 votes
1 answer
83 views

Removing black lines in between shapes in QGIS

In QGIS 3.22.7 I have a large dataset consisting of small square geometries (for reproducibility, a sample of this data can be downloaded from here; the total file size is 9 KB for all of them). When ...
2 votes
1 answer
100 views

Including legend data in attribute table in QGIS

What I want is a legend that also includes a table of data related to each legend item. The obvious way I see to do this is to build an attribute table that includes a column with legend info. But how ...
2 votes
1 answer
170 views

Using many label colours in ArcGIS Pro

I would like to label a polygon feature class by 1 attribute class; however I would like the colour of the text of the label to change dependent on the value of the attribute class I know that in ...
  • 23
2 votes
0 answers
26 views

How to colorize hierarchically-ordered polygons?

I have to implement a solution for coloring a lot of polygons that are derived from a hierarchically-ordered dataset. The dataset can be compared to a family tree in terms of hierarchy. Most of the ...
  • 29
0 votes
1 answer
227 views

CSS transparency in GEE

I have imported a very simple shapefile to my map in GEE. Since this layer represents boundaries (see picture below), I am trying to find a way for the outline colour to be solid black whilst ...
0 votes
0 answers
34 views

In ArcGIS Pro, why are the colours of the polygons changing from a bright green to become greyed out as I zoom in?

Recently imported map from ArcMap to Pro, all the symbology has been brought over correctly. When zoomed out, I can see all polygons with the correct colours. The polygons are a Red/Green and can be ...
  • 1
0 votes
0 answers
45 views

geotools GridCoverage2D set the color

When I save my GridCoverage2D as a tif file and search it, the color is white. I want to set the low value to green and the high value to red (green-yellow-red) And save it as a png file by specifying ...
4 votes
2 answers
243 views

Change color of different lines in same layer QGIS

Is there a way to manually change color of single lines under the same layer? i know that there's a way to change them via the categorized tab in the layer style properties, but the color change that ...
2 votes
1 answer
187 views

Changing selection color of features in QGIS 3.20

In QGIS 3.20.1 when I select a feature of any polygon it turns white unlike the older versions that were yellow. Is it possible to change this selection color using a simple way? Note: I do not have ...
0 votes
0 answers
37 views

How to colorize several raster layers using PyQGIS

I am using QGIS v. 3.22.4 on Ubuntu Mate 20.04. I am trying to colorize a bunch of raster layers (black and white) according to some parameter, so I want to automate this procedure with the python ...
1 vote
1 answer
43 views

Brush up satellite image coloring

I have received the following satellite image. Unfortunately, the color grading is really poor and makes working with this image very tedious (see screenshot below). I am rather new to QGIS. How can ...
  • 11
1 vote
1 answer
478 views

Column color based when plotting a GeoDataFrame with 'explore' method

I'd like to color the cities that belong to one hemisphere or another with the color specified at 'Color' column. All the cities of each hemisphere (each category) have the same value for that column. ...
1 vote
1 answer
45 views

Extracting Data From Natural Resources Canada - Canada west coast topo-bathymetric digital elevation model

I have been trying to figure out how to extract a single color DEM from this dataset available on Natural Resource Canada's Website, https://open.canada.ca/data/en/dataset/e6e11b99-f0cc-44f7-f5eb-...
  • 11
2 votes
3 answers
398 views

Randomising colour for many of polygons in QGIS

Is there a way in QGIS to randomise the colour of all the polygons present in a single layer? I'm currently using QGIS 3.20.3 and a lot of the plugins for this that I've found online are not ...
  • 79
1 vote
1 answer
299 views

Using ArcPy & UniqueValueRenderer to assign specific colors to points based on value

I have code that amends the symbology of a layer in ArcGIS Pro 2.9 via an IDE. Everything works apart from the color of the points, which appear to be being picked at random (different every time I ...
0 votes
1 answer
79 views

Exporting shapefile with random color

I have a huge shapefile with an attribute field called category. How do I add random individual colors to this category attribute and then export it with the style so that I can open it in other ...
2 votes
3 answers
195 views

QGIS points to path - colouring path/line with gradient colour

I'm using QGIS 3.16.15-Hannover (LTR). By using "Points to path" from the toolbox I created a path/line between several points from a CSV. However, I did not find any way to colour the ...
  • 111
4 votes
2 answers
351 views

Raster color is changed when clipped with a polygon in QGIS

I am using QGIS 3.16.9 and whenever I clip my satellite image bands according to the vector layer I made, it loses its original RGB color. Is there a way to maintain the color/values of the pixels?
  • 41
2 votes
0 answers
27 views

How to get tiles to permanently render the same colour scale as original raster?

I split a 3-band raster image up into 100 x 100 pixel tiles in QGIS. I need each tile to render the same colour scale as the bigger, original raster image it was produced from. I know you can render ...
  • 635
1 vote
1 answer
2k views

Showing the legend in GeoPandas when color is given by value

I'm coloring the entities of a GeoDataFrame by the column 'Color'. This column has been created to plot the different continents with different colors, so all the countries belonging to the same ...
3 votes
3 answers
128 views

Visualizing points with different colours based on field from polygon layer in QGIS

I am aiming to create a map showing species location records as points. I need to make the points different colours based on land type which is a polygon layer. So I want my species points to be a ...
1 vote
1 answer
61 views

Creating GeoJSON symbolization for points by name in Leaflet

I have a GeoJSON with several hundreds objects and I add it on Leaflet map. I want to create another symbolization for some object. But I don't understand how to change color and size for some of the ...
0 votes
0 answers
112 views

Visualize road lines in QGIS based on unique features

I have a road network 'TR_ROAD' with EPSG:4283 crs and 1219 features. The are two type of line line segments grouped with two features "22kV" and "415V" as shown in image 2. I am ...
  • 835
3 votes
1 answer
99 views

Removing pixels of a GeoTIFF based on a scalebar

I wonder if it is possible to remove the pixels from a GeoTIFF based on a threshold of an scale bar using GDAL. For example I would like to remove the data below approx 12dBZ on the picture attached, ...
0 votes
0 answers
34 views

Changing color definition in ArcMap

Using ArcMap 10.8.1 for desktop. I believe the definition I'm looking for is "Names" according to this ArcMap article on working with colors. Currently, when I select the color drop down or ...
2 votes
1 answer
476 views

How to change the color of polygon with Leaflet in real time? [duplicate]

I am trying to display a polygon from an external GeoJSON file, the data loads but does not update the polygon in real time with "nivel". The polygon is added but color is not updated after ...
3 votes
0 answers
49 views

Apply custom colors for new vector layers in QGIS

I am trying to have a custom color palette applied when new vector layers are added. This is for use within a default project or template. But every time I load a vector layer, it chooses from the &...
  • 31
0 votes
1 answer
66 views

Color gradient in raster symbology using ArcGIS Pro

I'm using ArcGIS Pro 2.8. I have a raster, shown below, whose data I would like to show in a smooth, detailed manner, like in the second raster shown. I recognize that the second raster has a much ...
  • 181
2 votes
1 answer
72 views

DXF rending in QGIS independently of symboloys

I have imported a DXF file from AutoCAD into QGIS 3.20 and it has applied the rendering that it had in AutoCAD. I am trying to figure out how QGIS detects these settings so that when I run a process ...
  • 63
4 votes
2 answers
197 views

Setting different font color types from the same field in rule-based labeling in QGIS

Trying to set different font color types from the same field in rule-based labeling in QGIS. I have a "C°" field with only 2 values: +56.7 C° and -89.2 C°. Trying this expression to have it: ...
  • 103
2 votes
1 answer
92 views

Usage of QgsRuleBased3DRenderer with PyQGIS

I'm trying to use QgsRuleBased3DRenderer with PyQGIS in order to set different color in a 3D view. I'm trying to make something similar to this but with the 3D syntax (here is the 3D syntax: https://...
  • 41
0 votes
0 answers
156 views

QGIS - label color setting

I use rule-based labeling with geometry generator on line layer. I use expression @symbol_color, because I want to have color of labels the same as color of lines. However, @symbol_color doesn't work ...
  • 415
1 vote
2 answers
165 views

Making bivariate proportional symbol map in QGIS

I have data on two characteristics for a particular variable, say volume and quality. I want to plot these using proportional symbol map in QGIS. For Volume, I could plot using: Symbology -> ...
  • 97
2 votes
1 answer
109 views

Setting a label color of zoom extent in QGIS

I set a frame color of zoom extent at print layout-properties-overview when I use atlas. How can I set a label color of the number this particular zoom extent to be the same as zoom extent frame?
  • 415
3 votes
1 answer
138 views

QGIS overview map of atlas - setting a color

I have an overview map of atlas in atlas print layout. How can i set an automatic change of color for atlas map in overview map? E.G. I have 600 atlas maps. In oveview map every atlas map is a polygon ...
  • 415
2 votes
0 answers
61 views

QGIS use the exact defined color for text labels and get rid of unused color when exporting as png

When I export QGIS layer as PNG images, I notice that the edges of the text labels are not clean. There's always a zig-zag effect on the edge. And this in turn introduces a lot of unused colors that ...
  • 277
1 vote
1 answer
318 views

Changing symbol and color of vector Layer using QGIS 3 C++ APIs

I am trying to change the default symbol for the point/line/ polygon vector layer using QGIS3 C++ APIs. I was able to render a vector layer with default symbols on QgsMapCanvas. When I try to change ...
7 votes
2 answers
144 views

QGIS Python API set label color based on attribute field

I'm trying to set the text label color and size based on the attribute table. I got the size setting correctly but not the color. My current result looks like this (The symbol has been set to be ...
  • 277
1 vote
0 answers
79 views

Coloring heat map, with custom characteristics

I need to color a "heat map", with these characteristics: "Pseudocolor monoband", "Discrete" and with two levels: <= "STATISTICS_MEAN" -> Color 255/255/...
0 votes
0 answers
35 views

What do the quantitative values for the colour ramp gradient for heatmap style in the layer properties for QGIS signify?

I would like to understand whether any quantitative values can be extracted when using the heatmap style in the layer properties? I assume areas with colours related to 1 are areas which have the ...
4 votes
1 answer
717 views

Setting transparency for range of colors in raster layers in QGIS

The starting point: Loading a raster to QGIS, you can set individual colors to transparent in the Panel Layer styling / Tab Transparency by activating the icon Add values from display and click on the ...
  • 45.1k

1
2 3 4 5
9