「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…)
 
 
(他の1人の利用者による、間の1版が非表示)
行1: 行1:
<H3>
+
==Transparencyタブ==
Transparency Tab
+
</H3>
+
  
<P>
+
QGISはラスタレイヤーに対して透過レベルを調節して表示する機能を備えています。
QGIS has the ability to display each raster layer at varying transparency
+
現在のレイヤーを透過してその下にあるレイヤー(あれば)がどの程度見えるようにするかを示すには、transparencyスライダを利用します。
levels.<A NAME="84"></A> 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.
+
  
<P>
+
さらに、''NODATA''として扱いたいピクセル値を指定することもできます。
Additionally you can enter a rastervalue, which should be treated as
+
<EM>NODATA</EM>.
+
  
<P>
+
Custom transparencyオプションの項目ではより柔軟な透過の設定を行うことができます。
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.
+
  
<P>
+
例として、サンプルラスタファイルのlandcover.tifの水域を透過率20%に設定したいとします。
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:
+
  
<OL>
+
#landcoverファイルを読み込む
<LI>Load the rasterfile landcover
+
#凡例画面からラスターファイル名をダブルクリックするか、右クリックメニューから {{Template:DropMenuOpt|Properties}} を選択して{{Template:Dialog|properties}}ダイアログを開く
</LI>
+
#{{Template:Tab|Transparency}}タブを選択
<LI>Open the properties dialog by double-clicking on the
+
#{{Template:ToolBtnTwo|MActionNewAttribute|Add values manually}}ボタンをクリック。pixel-listテーブルに新しい行が作成される
rasterfile-name in the legend or by right-clicking and choosing
+
#ピクセル値を入力し(ここでは0を使用)、透過率を20%に設定
Properties from the popup meun.
+
#{{Template:Button|Apply}}を押して地図の表示を確認
</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>
+
[[#enum:add|4]]と[[#enum:transp|5]]のステップを繰り返すことで、その他のピクセル値に対してのカスタム透過率の設定を追加することができます。
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.
+
  
<P>
+
以上からわかるとおり、カスタム透過率の設定は非常に簡単ですが、大変手間のかかる作業でもあります。
As you can see this is quite easy to set custom transparency, but it can be
+
そこで、{{Template:ToolBtnTwo|MActionFileSave|Export to file}}ボタンによって透過率設定リストをファイルに保存することができるようになっています。
quite a lot of work. Therefor you can use the button
+
また、{{Template:ToolBtnTwo|MActionAddRasterLayer|Import from file}}ボタンで透過率設定ファイルを読み込んで、現在のラスタレイヤーに適用することができます。
mActionFileSaveExport to file to save your
+
transparency-list to a file. The button
+
mActionAddRasterLayerImport from file loads your
+
transparency-settings and applies them to the current rasterlayer.
+
 
+
<P>
+

2009年9月11日 (金) 02:11時点における最新版

Transparencyタブ

QGISはラスタレイヤーに対して透過レベルを調節して表示する機能を備えています。 現在のレイヤーを透過してその下にあるレイヤー(あれば)がどの程度見えるようにするかを示すには、transparencyスライダを利用します。 この機能は、例えば陰影表現された地形図上に分類画像をオーバーレイした場合のような、複数のラスタレイヤーをオーバーレイしたときに非常に有用です。 このような利用法によって、地図をより立体的な見た目にすることができるでしょう。

さらに、NODATAとして扱いたいピクセル値を指定することもできます。

Custom transparencyオプションの項目ではより柔軟な透過の設定を行うことができます。 全てのピクセルの透過率はこのタブで指定することができます。

例として、サンプルラスタファイルのlandcover.tifの水域を透過率20%に設定したいとします。 その場合、以下のステップを実行します。

  1. landcoverファイルを読み込む
  2. 凡例画面からラスターファイル名をダブルクリックするか、右クリックメニューから Properties を選択してpropertiesダイアログを開く
  3. Transparencyタブを選択
  4. MActionNewAttribute.png Add values manuallyボタンをクリック。pixel-listテーブルに新しい行が作成される
  5. ピクセル値を入力し(ここでは0を使用)、透過率を20%に設定
  6. Applyを押して地図の表示を確認

45のステップを繰り返すことで、その他のピクセル値に対してのカスタム透過率の設定を追加することができます。

以上からわかるとおり、カスタム透過率の設定は非常に簡単ですが、大変手間のかかる作業でもあります。 そこで、MActionFileSave.png Export to fileボタンによって透過率設定リストをファイルに保存することができるようになっています。 また、MActionAddRasterLayer.png Import from fileボタンで透過率設定ファイルを読み込んで、現在のラスタレイヤーに適用することができます。