[QGIS-trac] Re: [Quantum GIS] #805: Templates or saveability/loadability in the color stretches (custom color maps)?

Quantum GIS qgis at qgis.org
Mon Aug 25 19:51:21 EDT 2008


#805: Templates or saveability/loadability in the color stretches (custom color
maps)?
----------------------------------------------------+-----------------------
        Reporter:  yury_t                           |         Owner:  ersts        
            Type:  enhancement                      |        Status:  closed       
        Priority:  minor: annoyance or enhancement  |     Milestone:  Version 1.0.0
       Component:  Rasters                          |       Version:  HEAD         
      Resolution:  fixed                            |      Keywords:               
Platform_version:                                   |      Platform:  All          
        Must_fix:  No                               |   Status_info:  0            
----------------------------------------------------+-----------------------
Changes (by ersts):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 You can now save your color maps as a textfile. It is a very simple format
 and could be edited or created by hand if a user wants

 The structure of the file is:
 # {COMMENTS}
 INTERPOLATION: {Method = INTERPOLATED, DISCRETE, EXACT}
 {PixelValue},{RedValue 0-255},{GreenValue 0-255},{Blue 0-255},{Alpha
 0-255}, {Label}
 {PixelValue},{RedValue 0-255},{GreenValue 0-255},{Blue 0-255},{Alpha
 0-255}, {Label}
 {PixelValue},{RedValue 0-255},{GreenValue 0-255},{Blue 0-255},{Alpha
 0-255}, {Label}
 ...

 Where values inside {} are numbers or strings.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/805#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list