「Raster Properties Dialog:Transparency Tab」の版間の差分

提供: OSGeo.JP Wiki
移動: 案内検索
(ページの作成: <H3> Transparency Tab </H3> <P> QGIS has the ability to display each raster layer at varying transparency levels.<A NAME="84"></A> Use the transparency slider to indicate to wha…)
 
([Raster Properties Dialog:Transparency Tab]箇所のタグ調整・画像挿入)
行1: 行1:
<H3>
+
==Transparency Tab==
Transparency Tab
+
</H3>
+
  
<P>
 
 
QGIS has the ability to display each raster layer at varying transparency
 
QGIS has the ability to display each raster layer at varying transparency
levels.<A NAME="84"></A> Use the transparency slider to indicate to
+
levels. Use the transparency slider to indicate to
 
what extent the underlying layers (if any) should be visible though the
 
what extent the underlying layers (if any) should be visible though the
 
current raster layer.  
 
current raster layer.  
行13: 行10:
 
more three dimensional.
 
more three dimensional.
  
<P>
 
 
Additionally you can enter a rastervalue, which should be treated as
 
Additionally you can enter a rastervalue, which should be treated as
<EM>NODATA</EM>.
+
''NODATA''.
  
<P>
 
 
An even more flexible way to customize the transparency can be done in the
 
An even more flexible way to customize the transparency can be done in the
 
Custom transparency options section.
 
Custom transparency options section.
 
The transparency of every pixel can be set in this tab.
 
The transparency of every pixel can be set in this tab.
  
<P>
 
 
As an example we want to set the water of our example rasterfile
 
As an example we want to set the water of our example rasterfile
 
landcover.tif to a transparency of 20%. The following steps
 
landcover.tif to a transparency of 20%. The following steps
 
are neccessary:
 
are neccessary:
  
<OL>
+
#Load the rasterfile landcover
<LI>Load the rasterfile landcover
+
#Open the {{Template:Dialog|properties}} dialog by double-clicking on the rasterfile-name in the legend or by right-clicking and choosing {{Template:DropMenuOpt|Properties}} from the popup meun.
</LI>
+
#select the {{Template:Tab|Transparency}} tab
<LI>Open the properties dialog by double-clicking on the
+
#<span id="enum:add">Click the {{Template:ToolBtnTwo|MActionNewAttribute|Add values manually}} button. A new row will appear in the pixel-list.</span>
rasterfile-name in the legend or by right-clicking and choosing
+
#<span id="enum:transp">enter the raster-value (we use 0 here) and adjust the transparency to 20%</span>
Properties from the popup meun.
+
#press the {{Template:Button|Apply}} button and have a look at the map
</LI>
+
<LI>select the Transparency tab
+
</LI>
+
<LI><A NAME="enum:add"></A> Click the mActionNewAttributeAdd values manually
+
button. A new row will appear in the pixel-list.
+
</LI>
+
<LI><A NAME="enum:transp"></A> enter the raster-value (we use 0 here) and adjust the
+
transparency to 20%
+
</LI>
+
<LI>press the Apply button and have a look at the map
+
</LI>
+
</OL>
+
  
<P>
+
You can repeat the steps [[#enum:add|4]] and [[#enum:transp|5]] to adjust
You can repeat the steps <A HREF="#enum:add">4</A> and <A HREF="#enum:transp">5</A> to adjust
+
 
more values with custom transparency.
 
more values with custom transparency.
  
<P>
 
 
As you can see this is quite easy to set custom transparency, but it can be
 
As you can see this is quite easy to set custom transparency, but it can be
 
quite a lot of work. Therefor you can use the button
 
quite a lot of work. Therefor you can use the button
mActionFileSaveExport to file to save your
+
{{Template:ToolBtnTwo|MActionFileSave|Export to file}} to save your
 
transparency-list to a file. The button
 
transparency-list to a file. The button
mActionAddRasterLayerImport from file loads your
+
{{Template:ToolBtnTwo|MActionAddRasterLayer|Import from file}} loads your
 
transparency-settings and applies them to the current rasterlayer.
 
transparency-settings and applies them to the current rasterlayer.
 
<P>
 

2009年9月9日 (水) 00:51時点における版

Transparency Tab

QGIS has the ability to display each raster layer at varying transparency levels. Use the transparency slider to indicate to what extent the underlying layers (if any) should be visible though the current raster layer. This is very useful, if you like to overlay more than one rasterlayer, e.g. a shaded relief-map overlayed by a classified rastermap. This will make the look of the map more three dimensional.

Additionally you can enter a rastervalue, which should be treated as NODATA.

An even more flexible way to customize the transparency can be done in the Custom transparency options section. The transparency of every pixel can be set in this tab.

As an example we want to set the water of our example rasterfile landcover.tif to a transparency of 20%. The following steps are neccessary:

  1. Load the rasterfile landcover
  2. Open the properties dialog by double-clicking on the rasterfile-name in the legend or by right-clicking and choosing Properties from the popup meun.
  3. select the Transparency tab
  4. Click the MActionNewAttribute.png Add values manually button. A new row will appear in the pixel-list.
  5. enter the raster-value (we use 0 here) and adjust the transparency to 20%
  6. press the Apply button and have a look at the map

You can repeat the steps 4 and 5 to adjust more values with custom transparency.

As you can see this is quite easy to set custom transparency, but it can be quite a lot of work. Therefor you can use the button MActionFileSave.png Export to file to save your transparency-list to a file. The button MActionAddRasterLayer.png Import from file loads your transparency-settings and applies them to the current rasterlayer.