[Qgis-developer] Raster colours
jjg
j.j.green at gmx.fr
Wed Aug 1 09:04:41 PDT 2012
Hi Etienne
Etienne Tourigny-3 wrote
>
> In fact - I found that things that were missing:
> 1) a list of gradients and their variants (e.g. ColorBrewer)
> 2) names associated to the various directories/authors
> 3) metadata of your "Selections".
>
1) the list of gradients is just the list of their file names, so no
problem there. "Variants" is problematic, since who is to say
what is a variant of what? This is very subjective (and what
actually is the point of it?)
2) The author of each gradient can be found from COPYING.xml.
If you start from a path like a/b/c/d.svg then there will be
one COPYING.xml file corresponding to it, and it is in one of
a/b/c/COPYING.xml
a/b/COPYING.xml
a/COPYING.xml
i.e, a COPYING.xml applies to that directory and all subdirectories.
I can see it might be useful to have a description for each
subdirectory. Say
- short name (same as directory name)
- long name (essentialy the text in the directory link on parent
directory)
- description (essentially the first sentence of the page text)
so
"seq"
"sequential"
"Sequential colour schemes designed by Cynthia Brewer"
This info in a file called DESC.xml in the directory cpt-city/cb/seq/
I'm open to suggestions on this.
3) is a different matter altogether, some of these selections are updated
every day (most popular downloads etc), so I suggest we do the above
first an learn the lesson before trying this ...
Jim
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Raster-colours-tp4991140p4992477.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list