[Qgis-user] QGIS Master and Rasters to grayscale

Marco Hugentobler marco.hugentobler at sourcepole.ch
Tue Jun 19 02:48:37 PDT 2012


>I have included links to two example jpgs to show what happens. 1.9.jpg 
shows what happens when I use the method detailed below.

Is it a raster with integer values (but without color table)? In that 
case, switch the renderer type to singleband pseudo color and insert the 
color for each value.

Marco

Am 19.06.2012 11:18, schrieb James Stott:
>
> I have included links to two example jpgs to show what happens. 
> 1.9.jpg shows what happens when I use the method detailed below.
>
> I would like the raster to display as in the 1.8 jpg.
>
> QGIS 1.8 https://docs.google.com/open?id=0B6r5nAOdEBZrSjhyaHdoUW9LY0U
>
> QGIS 1.9 https://docs.google.com/open?id=0B6r5nAOdEBZrLUJ1dDNNM3BJZVE
>
> *James Stott* BSc (Hons) MSc | Senior Professional
> *Nicholas Pearson Associates * | 30 Brock Street | Bath | BA1 2LN
> *T:* 01225 445548 | *M:* -
> *www.npaconsult.co.uk* <http://www.npaconsult.co.uk/>
>
> *From:*qgis-user-bounces at lists.osgeo.org 
> [mailto:qgis-user-bounces at lists.osgeo.org] *On Behalf Of *Marco 
> Hugentobler
> *Sent:* 19 June 2012 09:49
> *To:* qgis-user at lists.osgeo.org
> *Subject:* Re: [Qgis-user] QGIS Master and Rasters to grayscale
>
> Hi James
>
> 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.
>
> Having this by default (options page) is not yet available with the 
> new raster classes. A bugticket is already filled.
>
> Regards,
> Marco
>
> Am 19.06.2012 10:17, schrieb James Stott:
>
> I sometimes display my Ordnance Survey rasters  as single band gray to 
> allow my data to show more clearly over the top of it.
>
> In the new master I cannot achieve the same effect. My raster goes 
> solid grey.
>
> Old settings:
>
> Render as: Single Band gray
>
> Single band properties – gray band: Band 1
>
> Single band properties – color map: grayscale
>
> New settings:
>
> Render type: Singleband gray
>
> Gray band: Palette
>
> Contrast enhancement: No enhancement
>
> 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.
>
> *James Stott*BSc (Hons) MSc| Senior Professional
> *Nicholas Pearson Associates *| 30 Brock Street | Bath | BA1 2LN
> *T:* 01225 445548 | *M:* -
> *www.npaconsult.co.uk* <http://www.npaconsult.co.uk/>
>
> Nicholas Pearson Associates, Logo 
> <http://www.npaconsult.co.uk/>Nicholas Pearson Associates, Latest News 
> <http://www.npaconsult.co.uk/about-news.asp>
>
> Information and Registered Address 
> <http://www.npaconsult.co.uk/terms.asp>
>
> 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.
>
> Nicholas Pearson Associates has used all reasonable efforts to ensure 
> that this message and any attachments are free from viruses.
>
> Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 
> (0) 01225 445548, Fax: +44 (0) 01225 312387, Website: 
> http://www.npaconsult.co.uk <http://www.npaconsult.co.uk/>
>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org  <mailto:Qgis-user at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
> -- 
> Dr. Marco Hugentobler
> Sourcepole -  Linux&  Open Source Solutions
> Weberstrasse 5, CH-8004 Zürich, Switzerland
> marco.hugentobler at sourcepole.ch  <mailto:marco.hugentobler at sourcepole.ch>  http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120619/ce4028df/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 18289 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120619/ce4028df/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 19584 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120619/ce4028df/attachment-0001.jpe>


More information about the Qgis-user mailing list