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
78
questions
21
votes
4
answers
5k
views
Applying four colors theorem in polygon map using ArcMap
I need to apply the four colors theorem in a polygonal shape in a way that I do not need to choose manually each color to put in each region. I wish to knows if there is any extension, plug-in, script ...
18
votes
2
answers
18k
views
Changing color of raster images based on their data values - gdal [duplicate]
Let's say I have 1 band raster images with Gray Color Interpretation and I want to change their color based on their data values. Data values -1, will be Blue, -0.5 will be Light Blue, 0 will be ...
8
votes
2
answers
5k
views
Setting selection color transparent and border color red using PyQGIS
I have a layer with different informations. I want to change the selected polygon color to "Transparent". I am able to achieve that using:
iface.mapCanvas().setSelectionColor(QColor("...
4
votes
2
answers
1k
views
Colouring points in the same colour as their nearest point/polygon from another layer in QGIS
I got two files, a multi-polygon file with polygons and points (File 1) and a file with points only (File 2).
Our task is to fill the color of the points from File 2 with the respectively nearest ...
12
votes
3
answers
15k
views
Removing visual polygon borders in QGIS
I have a GML layer representing a hexagonal grid that I would like to include in some maps. In QGIS 2.14.2 I applied a graduated style and completely removed the polygon border:
However, in the map ...
8
votes
2
answers
11k
views
Exporting raster as .tif with "use renderer" and "force RGB" produces inaccurate colors?
In ArcMap 10.2 I have a DEM and my aim is to change its color ramp using ArcMap, then export this colored raster as a geotiff (8 bit).
I checked "use renderer" and "force RGB" options but the results ...
59
votes
9
answers
86k
views
Choosing colour-ramp to use for elevation? [closed]
This is maybe rather subjective as it concerns style, but I would like to have a few decent colour ramps for my DEM when it is layed over my hill-shading.
I have created the Swiss hillshade model as ...
39
votes
3
answers
101k
views
Assign multiple colors to features within a single vector layer
I want to give multiple colors to different features within a shapefile based on attribute values , is this possible in QGIS ?
If yes what is the procedure ?
Is there a way to provide color by means ...
13
votes
2
answers
11k
views
Changing color of vector layer using PyQGIS [duplicate]
Is it possible to change the color while adding a vector layer?
I have a vector layer with water areas and want to load it with a blue color style. The layer is added with:
QgsMapLayerRegistry....
7
votes
2
answers
10k
views
Reclassifying raster layer with certain colors for value ranges in QGIS?
I'm using QGIS. I want a raster layer with 6 different colors each color representing a certain value range (e.g. -1 to 0 red, 0 to 0.2 orange).
In the layer style menu I can only approximate colors.
2
votes
2
answers
729
views
Is there any way to 'clean' up ASTER v2 DEM data?
I downloaded all the tiles I needed, then plotted them to find that they don't all seem to have the same quality. Basically, you can see all the edges of a lot of the tiles. Is there any way to clean ...
15
votes
3
answers
8k
views
Setting transparency per polygon in shapefile in QGIS
How to set transparency per polygon in a shapefile in QGIS?
For example a polygon with field "value" = 1 should be fully transparent whereas field with field "value" = 0.4 should ...
8
votes
3
answers
10k
views
Changing colour of imported SVG icon in QGIS 3.4
I have imported my customised icon (which was obtained through the .jpeg image conversion) for point layers using an SVG file.
This works well except for the fact that the original colour was ...
7
votes
2
answers
2k
views
Getting currentfeature's color in Expression Builder of QGIS?
In QGIS Expression builder. I want to obtain the color code of the current feature.
I mean:
My layer contains lines, each one is painted with a different color. Now I want to assign that color to ...
4
votes
5
answers
4k
views
Assigning raster layer colors to polygons in QGIS
I have a georeferenced raster file showing parcels of a town with different colors (yellow for the category single-household residential, green for agricultural areas, etc.). I also have the shapes of ...
2
votes
1
answer
2k
views
Changing graduated color class values with ArcPy?
I am trying to use python to adjust my graduated color symbols' class breaks and labels. The layer is a query layer tied to an SQL DB and I want to be able to execute my python (after the database has ...
8
votes
2
answers
18k
views
Setting different colors based on value when labeling using QGIS
I want to label my values in a specific color. They are all in the same shapefile which makes it complicated.
For example:
if value is 10, it should appear in blue
if value is 15, it should appear in ...
8
votes
2
answers
7k
views
How to change DEM's gradient colour?
I'm a newbie about GIS.
I'm from Italy and I've got a *.tif file of my region.
I've loaded it has raster but I have a question:
The dem has a gradient colour magenta.
How change this colour to ...
7
votes
2
answers
1k
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 ...
7
votes
1
answer
3k
views
Can I export the RGB values from an ArcGIS layer symbology?
I've got a point layer in ArcGIS that has 100 specific color codes based on the name of the store. I'm trying to export the RGB values for these colors (along with the name value it's tied to) so I ...
7
votes
2
answers
974
views
Generating random muted/pastel colours using QGIS
Is there any way of generating random softer colours using QGIS?
I've just spent some while looking, unsuccessfully. There seems to be no way to influence the "seed" colour if they're random ...
6
votes
1
answer
3k
views
Change Layers Panel background color in QGIS
In QGIS it's easy to change background color of the map canvas, but is there a way to do the same for the Layers Panel ? In cases of very light colored styles these appear not so clear (if at all) on ...
5
votes
3
answers
714
views
Changing polygon color depending on visibility of background map in QGIS
I have a map with borders and different "background maps", e.g. OpenStreetMap and Google Satellite. When the Google Satellite Map is in the background, the borders are the best visible in ...
5
votes
1
answer
5k
views
Assigning different colors to different parts of text in labels using QGIS?
I'm using QGIS 2.14.3.
It is now possible to assign different colors (or fonts) to different parts of text in one label (I have seen How to make a different font and color of text in labels? )? If so,...
4
votes
6
answers
4k
views
Rule based coloured background for labeling in QGIS
I am a newbie working on QGIS 3.6 / Windows 10. I need to label a polygon layer which is categorised by colour.
(pls refer to attached pic as a graphical reference)
The labels need to have a ...
4
votes
2
answers
857
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?
4
votes
1
answer
2k
views
Extracting GeoTIFF colours and adding to equal geometry shapefile
I have the following map in .png-format that I would like to replicate, but I cannot obtain the original data.
The map shows the current water supply vulnerability for local municipalities in South ...
4
votes
1
answer
5k
views
Creating map with states by attribute value using QGIS?
I'm using QGIS, but I am quite familiar with R and python, so I could use any of these.
I want a map of mexico but want to color the states according to a certain variable that goes from 0 to 100. So ...
3
votes
1
answer
4k
views
How to change the color of a selected feature with pyQGIS?
is it possible to change the color of a selected feature in qgis 1.8?
To highlight a feature I use:
vlayer.setSelectedFeatures(selectedList)
box = vlayer.boundingBoxOfSelected()
qgis.utils.iface....
2
votes
1
answer
280
views
Making colours from table with colour percentages/RGB-codes
Currently, we have a big dataset imported in our QGIS profile. Normally we would have imported this by WMS but because this particular WMS/WFS consists of more than 20 parts and the data is ...
1
vote
2
answers
1k
views
Merging LiDAR tiles without losing data in QGIS?
I'm trying to merge some LiDAR tiles together but when I do, the clarity of the image drops, so I think that means I am losing some data.
How do I merge the tiles and keep all of the data and the ...
1
vote
1
answer
1k
views
Seeking 1-band raster colour table workaround in QGIS
Does anyone know what the workarounds are for the 1-band raster colour table plugin in QGIS?
Currently I find it will run once, then crash on the second iteration. The workaround I use is to delete ...
34
votes
1
answer
42k
views
Raster legend in R: how to colour specific values?
I have an elevation model plotted in R
r <- raster("example.dem")
plot(r, col = topo.colors(20))
Some of the values are below sea level (0), and I'd like to have those display in red. How can I ...
13
votes
7
answers
7k
views
Color palette conventions
I wonder if there is a "unified" source for map color conventions, that GIS map builders are encouraged to follow?
EDIT
To clear up my question a bit. I'm more interested in the color with respect ...
12
votes
3
answers
28k
views
Color Ramp in QGIS
This is a real basic question, but I can't seem to find it. How do I add a color ramp in QGIS? I noticed that has different applications you can add to QGIS (like RdYlGn, GnYlRd, cpt-city, etc...) but ...
11
votes
6
answers
5k
views
Are there any convenient sources of color palettes to use in ArcGIS software while producing maps?
Are there any convenient sources of color palettes to use in ArcGIS software while producing maps?
10
votes
3
answers
803
views
Preventing reflective surface in rasterVis
I have been experimenting with digital terrain model files in ESRI ASCII grid raster format. Despite zero experience with this type of data I found it very easy to load into R, as per code below. The ...
9
votes
7
answers
5k
views
How to pansharpen LANDSAT 8 in GRASS?
Having used QGIS for quite some time for mapping, I was 'forced' to dig into GRASS as pansharpening is not directly executable in QGIS. After understanding more or less the structure, I did some ...
9
votes
6
answers
10k
views
Using ColorBrewer in ArcGIS Desktop?
I've been using ColorTool (based on supreme ColorBrewer) for most of my mapping needs in ArcMap. After migrating to ArcGIS 10 I discovered that it will no longer be a case.
Are there any other ...
8
votes
1
answer
6k
views
Using BOTH size and colour to represent 2 pieces of information on single point in QGIS
I want the colour of the point to represent value from data column x (eg. rating from 1-5) and SIMULTANEOUSLY the size of the point to represent value from data column y (eg. Number of ratings 0-600).
...
7
votes
1
answer
3k
views
Why do CMYK colours in ArcMap not match those in Adobe products?
I'm creating a map in ArcMap, based on a style guide which specifies colours in CMYK notation. So I've set the colours in ArcMap's color selector. The layer has no transparency set, and is the only ...
6
votes
4
answers
7k
views
Halo use background color
As you see on the attached image, I labelled contour lines on the map (in meters). Which function will allow the "halo" to take the background color of the map?
On the image, the halo is greenish ...
6
votes
2
answers
2k
views
Creating colormap where colors diverge at value 0 in QGIS?
I calculated a raster as difference of two other rasters. Now I want to create a colormap where one colour represents negative values and one colour positive ones. The two colours should become ...
5
votes
1
answer
538
views
phong lighting scheme in arcmap?
I have seen a few DEM/hillshades in published journal articles that use a phong lighting scheme which gives surfaces a metallic luster. Does anyone know how/if this can be achieved in arcmap?
5
votes
1
answer
927
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....
5
votes
4
answers
4k
views
Changing selection colour in QGIS 2.8
How do I change the colour for selected elements? I am selecting using select rectangle and the selected elements are almost invisible.
4
votes
3
answers
3k
views
Matching colours in already mosaiced single image? [closed]
I have an already mosaiced image for a large area. I need to match colours in this single image. I do not have each image separately. I just have this large single image downloaded from GLS. How can I ...
4
votes
2
answers
165
views
Loading multiband raster layer with pseudocolor style (not RGB) using PyQGIS
I am loading a raster file with many bands to my QGIS project.
layer = self.iface.addRasterLayer(raster_file_path, baseName="foo")
By default, QGIS chooses to set its symbology to "...
4
votes
1
answer
943
views
Multi-labelling with different colors in QGIS 3.10
I would like to create a multi-field label based on an expression where the different fields will have different colors.
Using an icon font, this will allow me to get this kind of result (done with ...
4
votes
1
answer
3k
views
How do I combine bands in a tiff then convert to grayscale?
I have a large mosaic of tiffs in which I need to do the following:
-Combine bands 4,3,2, for an infrared image then convert the image to grayscale without producing another dataset
-This is easy on ...