<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi James<br>
<br>
You may go to the raster properties, select render type singleband
gray. Then select contrast enhancement 'stretch to min/max' and
click on 'load' to get the min/max values from the datasource.<br>
<br>
Having this by default (options page) is not yet available with the
new raster classes. A bugticket is already filled.<br>
<br>
Regards,<br>
Marco<br>
<br>
Am 19.06.2012 10:17, schrieb James Stott:
<blockquote
cite="mid:B398947DCAB85D46809151E678999F21060FDE5B@srv01.NPA.LOCAL"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style type="text/css">
<!-- /* Style Definitions */ p.00e76487-5839-46ee-8f22-5ec11d56685b, li.00e76487-5839-46ee-8f22-5ec11d56685b, div.00e76487-5839-46ee-8f22-5ec11d56685b, table.00e76487-5839-46ee-8f22-5ec11d56685bTable {margin:0cm; margin-bottom:.0001pt;}div.Section1 {page:Section1;}-->
</style>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta content="Microsoft Word 14 (filtered medium)"
name="Generator">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<p> </p>
<p class="00e76487-5839-46ee-8f22-5ec11d56685b" style="
margin-bottom:5px;"> </p>
<div class="WordSection1">
<p class="MsoNormal">I sometimes display my Ordnance Survey
rasters as single band gray to allow my data to show more
clearly over the top of it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the new master I cannot achieve the same
effect. My raster goes solid grey.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Old settings:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Render as: Single Band gray<o:p></o:p></p>
<p class="MsoNormal">Single band properties – gray band: Band 1<o:p></o:p></p>
<p class="MsoNormal">Single band properties – color map:
grayscale<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">New settings:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Render type: Singleband gray<o:p></o:p></p>
<p class="MsoNormal">Gray band: Palette<o:p></o:p></p>
<p class="MsoNormal">Contrast enhancement: No enhancement<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How do I achieve the same effect as before?
The raster displays fine in colour, just not in grayscale. I
am guessing it’s down to the new raster properties in master.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p style=" margin-top:5px; margin-bottom: 10px"> <span
style="font-family: 'Verdana','sans-serif'; color: #00227c;
font-size: 10pt"> <strong>James Stott</strong> <span
style="font-size: 8pt">BSc (Hons) MSc</span> | Senior
Professional<br>
<span style="font-size: 8pt"><b style="font-weight: bold">Nicholas
Pearson Associates </b> | 30 Brock Street | Bath | BA1
2LN<br>
<b>T:</b> 01225 445548 | <b>M:</b> -<br>
<a moz-do-not-send="true"
href="http://www.npaconsult.co.uk/" style="font-family:
'Verdana','sans-serif'; color: #00227c; font-size: 8pt;
text-decoration: none;"><strong>www.npaconsult.co.uk</strong></a>
</span> </span> <br>
</p>
<table style="border: none; outline-style: none; border-collapse:
collapse; padding: 0; margin: 0;" cellpadding="0"
cellspacing="0" width="700" border="0">
<tbody>
<tr>
<td> <a moz-do-not-send="true"
href="http://www.npaconsult.co.uk/"
style="outline-width: 0; border-collapse: collapse;
text-decoration: none; outline-style: none;
border-style: none; margin: 0; padding: 0;"> <img
alt="Nicholas Pearson Associates, Logo"
src="cid:part2.07000805.09070805@sourcepole.ch"
border="0"></a><a moz-do-not-send="true"
href="http://www.npaconsult.co.uk/about-news.asp"
style="outline-width: 0; border-collapse: collapse;
text-decoration: none; outline-style: none;
border-style: none; margin: 0; padding: 0;"><img
alt="Nicholas Pearson Associates, Latest News"
src="cid:part4.00020509.05010504@sourcepole.ch"
border="0"></a> </td>
</tr>
</tbody>
</table>
<p style="margin-top: 7.5px; margin-bottom: 7.5px; text-align:
left; color: #000000; font-size: 7pt; font-family: Verdana;"> <a
moz-do-not-send="true"
href="http://www.npaconsult.co.uk/terms.asp"
style="text-decoration: none; color: #000000;"> Information
and Registered Address</a> </p>
<p style="margin-top: 5px; margin-bottom: 10px; text-align: left;
color: #666666; font-size: 7pt; font-family: Verdana;"> This
Electronic Transmission is intended only for the attention of
the addressee. It may contain privileged and confidential
information. If you are not the person for whom it is intended,
you must not copy, distribute or take any action in reliance on
it. If you have received this electronic transmission in error
please notify us immediately by telephone, delete the
transmission and destroy any hard copies. </p>
<p style="margin-top: 5px; margin-bottom: 10px; text-align: left;
color: #666666; font-size: 7pt; font-family: Verdana;"> Nicholas
Pearson Associates has used all reasonable efforts to ensure
that this message and any attachments are free from viruses.</p>
<p style="margin-top: 5px; margin-bottom: 10px; text-align: left;
color: #666666; font-size: 7pt; font-family: Verdana;"> Nicholas
Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44
(0) 01225 445548, Fax: +44 (0) 01225 312387, Website: <a
moz-do-not-send="true" href="http://www.npaconsult.co.uk/">http://www.npaconsult.co.uk</a></p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee</pre>
</body>
</html>