<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">How about the ability to import/read/use cpt files from CPT city?<br><br>
<a href="http://soliton.vm.bytemark.co.uk/pub/cpt-city/">http://soliton.vm.bytemark.co.uk/pub/cpt-city/</a><br><br>There is a huge number of cartographic (& other) colour ramps/palettes for users to tap into from many authors & packages.<br><br>Providing an easy way for QGIS users to make use of these would be a valuable asset.<br><br>Cheers,<br><br>Brent Wood<br><br><br>--- On <b>Sat, 8/4/12, Paolo Cavallini <i><cavallini@faunalia.it></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Paolo Cavallini <cavallini@faunalia.it><br>Subject: Re: [Qgis-developer] color ramps improvements<br>To: "Etienne Tourigny" <etourigny.dev@gmail.com><br>Cc: "qgis-developer" <qgis-developer@lists.osgeo.org><br>Date: Saturday, August 4, 2012, 3:16 AM<br><br><div class="plainMail">Il 03/08/2012 16:52, Etienne Tourigny ha scritto:<br>> is there an existing
 infrastructure for this in qgis/qt to do the following?<br>><br>> 1) download the file<br>> 2) unzip - I have added the GDAL funcitons to read zips, but not sure<br>> if it's easy to unzip a file.<br>quite the same as for plugins: I guess having the same widgets for<br>installing plugins, styles, and ramps would be a great plus, both for<br>users and for developers.<br>> where would you get the metadata from? There is metadata for author,<br>> group, but not for each gradient. Do you mean the gradient name? <br>yes, name is often descriptive enough - when not, we can probably add tags?<br>> Someone would have to step in, select a few and propose them. These<br>> would be part of the symbols available by default.<br>ok, let's start:<br>- at least one DEM<br>- one batymetry<br>- a red, a green,and a blue scale<br>- one "semaphore" (green to red through yellow)<br>- two other diverging<br>- more?<br>Maybe we could make a poll? I'm
 sure specific sectors have their<br>requirements.<br><br>NB: palettes with transparency are not previewed in a meaningful way.<br>><br>> I think that this will be easier once Arun's work on symbology<br>> grouping and "social styles" is merged.<br>agreed - see my other thread on GSoC, who was triggered by this issue.<br>> Are you talking about clutter in the style manager or the cpt-city<br>> dialog? <br>in the style manager: we have now a long list of gradients, and the New<br>ramp entry could be easily overlooked.<br>> If the latter - In this case you have about 3-4 groups which are<br>> duplicated, out of more than 100, so I don't see how it adds to<br>> clutter. I thought about removing the ColorBrewer option(as they are<br>> available in cpt-city), but it is still relevant because there are<br>> fewer options to choose from and it is simpler (and nicer) to work with. <br>I think adding only the default ones (see
 above), and letting the users<br>build the others, should be ok.<br>> This topic is more related to how the gradient is applied to the<br>> raster/vector, so this sort of lies outside of the cpt-city dialog (I<br>> think) - unless those classification methods are tied to specific<br>> gradients?<br>some of them yes. some gradients should be applied on absolute numbers,<br>not relatively (e.g. slopes, DEM).<br>><br>> Another functionality from 1-band plugin that is missing is the<br>> possibility to invert colors and palette. This would be very useful,<br>> but should it be inside the style manager or in the vector/raster<br>> layer dialogs?<br>IMHO, in the layer dialog.<br>>> - the raster layer property dialog should be made more clear, and more<br>>> homogeneous with that of vectors.<br>> I agree - perhaps you can submit a mock-up?<br>perhaps someone with better designing skills is more suitable.<br>IMHO the
 default interpolation should be linear, not discrete.<br>>> One more: I think the default listing should be by theme, not by author.<br>> hmm do you mean the selection view? Because aside from that there is<br>> no "theme" grouping yet.<br>I mean in the cpt-city color ramp dialog (View is by default switched to<br>All by author, should be Selections by theme?)<br>All the best.<br><br>-- <br>Paolo Cavallini - Faunalia<br>www.faunalia.eu<br>Full contact details at www.faunalia.eu/pc<br>Nuovi corsi QGIS e PostGIS: <a href="http://www.faunalia.it/calendario" target="_blank">http://www.faunalia.it/calendario</a><br><br>_______________________________________________<br>Qgis-developer mailing list<br><a ymailto="mailto:Qgis-developer@lists.osgeo.org" href="/mc/compose?to=Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></div></blockquote></td></tr></table>