6

I am using QGIS 1.8 Lisboa so I do not know if the "1-band raster colour table" plugin works on 1.7.4 (I did not use it on 1.7), but you can try this on 1.7.4 and see what happens. The plugin repository needs to be added first (this may be why you cannot find it). To add it: 1. on the QGIS Toolbar go to Plugins --> Fetch Python Plugins... 2. add a new ...


5

with gdal, you can color an image based on gdal_dem (color_relief) the syntax of the color configuration file is derived from the one supported by GRASS r.colors utility. ESRI HDR color table files (.clr) also match that syntax. The alpha component and the support of tab and comma as separators are GDAL specific extensions aspect: aspect oriented ...


4

You may be referring to the bcccoltbl1 plugin, also by BC Consulting. For some reason, it is not available in any repository via the Plugin Installer.


3

Assuming your rasters are integer-type, you can create a ColorTable, specify the color for each value using the SetColorEntry() method and then apply the ColorTable to the raster using the SetRasterColorTable() method to the individual band. The SetColorEntry(pixel_val, (r, g, b)) method takes two arguments, where the first one is the pixel value and the ...


3

There's a function in rgdal for this SGDF2PCT, so here I coerce to SpatialGridDataFrame, build the colour table and rebuild the raster. Note that indexing in raster is assuming [0, 255]. Control the number of colours with ncolors argument. library(raster) b <- brick(system.file("external/rlogo.grd", package="raster")) pct <- rgdal::SGDF2PCT(as(b, "...


3

Try converting your color list from RGB format to HSV format and then sort the HSV list. What program did you get the RGB values out of? You might be able to tell it to simply report out HSV values. If you can't get HSV directly from that program, you could convert RGB to HSV here http://www.rapidtables.com/convert/color/rgb-to-hsv.htm Background: RGB ...


3

If you're using gdaldem color-relief there is a colour ramp somewhere near the bottom of this page: http://fr.wikipedia.org/wiki/Aide:Cartographie It's not bad for some purposes, but not wonderful. Better perhaps with the colours faded a little? As you know, EI suggests elevation intervals in the sequence 0,25,50,100,250,500,1000...x, it might be possible ...


3

For arcgis 10 you could save a layer file with symbology applied and then use a python script to change the data source as part of the output of the originating script. See layer.findAndReplaceWorkspacePath. For QGIS the 1-band raster colour table plugin might suit: "After selection of a single band raster ... launch this plugin to generate a colour table .....


2

I'd suggest the standard ndvi color table in GRASS. Right click on the layer and choose SET COLORTABLE. However your question is a tautology. You have pointed out that you are the only one interested in Palm. A standard colour table would have been designed to make something else the most easily distinguishable feature. In the case of the ndvi color ramp ...


2

You want to save the layer style. Save your layer as a shapefile, Open the Layer Properties | Style tab Click the Save style button and select "QGIS Layer Style File", then save it with the same name Saving vector layer with specific symbology using QGIS? A guide can be found here : http://www.qgisforum.org/qgis-tutorial/layer-properties/save-load-...


2

The legend doesn't reflect data-defined symbology - it only ever shows the "base" symbology as it were, i.e. the individual symbols for each data source which you see in the layers panel. Since your strat_name matches up to a color_hex value, you may wish to categorise by the color_hex column (to generate the correctly coloured symbology that will appear ...


2

Given that you have the colours and associated stratigraphic unit name, you should be able to take a solid filled style from the QGIS style library (through the Style Manager), export it and then use the resulting XML to script a set of styles, one for each of the BC geological units. These can then be associated (by matching on the unit name) to categories ...


1

You can achieve this by importing the colors as a color ramp. First categorize your layer the way you want. Then: Save an new (empty or just create some random values. This step is just to get an empty, working .gpl-file) color ramp from the QGIS Layer styling (.gpl-file) In a spreadsheet, order your legend entries in the same order as your categories in ...


1

Whether or not this is a bug in QGIS, it can be worked around by handling trasparency with a NODATA value instead of by adding an alpha band. (Thanks to Andy Harfoot for the hint!) As -cutline ... can only distinguish between inside and outside the queried vector feature(s), there is no need for semi-transparency / semi-opacity. Thus, a NODATA value will ...


1

It depends what do you want to do with your outout data. Is your data on 1 of the layers of the raster or you have to convert 3 or 4 bands into 1? Either way you can make use of raster calculator. If you want mean of 3 or 4 bands in your output raster just add them up and divide by number of lyers: (r@1 + r@2 + r@3)/3, else you just select band of interest ...


1

If the output file format is not geotiff, rgb2pct.py creates an intermediate geotiff to write the results into before converting that to the final output format. The comments in the code state: # Create the working file. We have to use TIFF since there are few formats # that allow setting the color table after creation. From lines 127-129 of rgb2pct.py: ...


1

I highly recommend ghostscript - it's available for free both on Linux and Windows. See https://stackoverflow.com/questions/3418268/script-or-some-other-means-to-convert-rgb-to-cmyk-in-pdf for the solution.


1

Similar to Rudi's answer, I could also find this in the contributed repository Plugins -> Fetch Python Plugins Switch to Repository tab and click Add Add 'QGIS Contributed' as name and 'http://pyqgis.org/repo/contributed' as URL In Options tab, select 'Show all plugins, even those marked experimental' Now you search for 'band' and you'll see the plugin in ...


Only top voted, non community-wiki answers of a minimum length are eligible