[Qgis-user] saving stretch parameters in QGIS

Chris Padwick cpadwick at digitalglobe.com
Mon Dec 16 07:25:24 PST 2013


Hi,

OS: Windows 7
QGIS Version: 2.0.1-Dufour
Standalone installer

I don't know how to save the stretch parameters for a raster.  Here is what I do.  I have a 4 band raster in the band order blue, green, red nir.  I load the raster and bring up the properties dialog.  It loads in band order 1,2,3.  I change the band order to load band 3 as the red band, band 2 and the green band, and band 1 as the blue band.  To the right I see a dialog that says "Cumulative count cut", "min max", and "Mean +/- standard deviation".  I can adjust the upper and lower cut values and click the "Load" button followed by the "Apply" button and the raster changes on the screen.  This is all working.

Now here is what I can't understand.  I click "Save Style" and select a file name.  This saves ok.  I then select "Save as Default" and this looks like it works.  I exit the dialog and load up a new 4 band raster.  The raster loads, but none of my style preferences are respected.  I open the properties on the new raster.  The band order is back to 1,2,3 and all my stretch parameters are lost.  I click "Load style" and load my previously saved style and nothing happens.  Is there any way to do this?  Can someone describe how to save these settings and get them to be applied automatically when a new raster is loaded?

Is this a bug or is this the intended functionality?  My expectation when I click save in any dialog box is that all my parameters are saved from the dialog, not parts of them.  I know that from QGIS 1.7.4 there were various save buttons on that properties dialog.  I still couldn't save the stretch parameters but I could save the band order.  If this is intended behavior can I file a feature request?  This is an awesome tool, and I'd like to help improve it.

Thanks!

Chris


This electronic communication and any attachments may contain confidential and proprietary 
information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee 
responsible for delivering this communication to the intended recipient, or if you have received 
this communication in error, please do not print, copy, retransmit, disseminate or 
otherwise use the information. Please indicate to the sender that you have received this 
communication in error, and delete the copy you received. DigitalGlobe reserves the 
right to monitor any electronic communication sent or received by its employees, agents 
or representatives.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131216/4a043af5/attachment.html>


More information about the Qgis-user mailing list