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

提供: OSGeo.JP Wiki
移動: 案内検索
([Raster Properties Dialog:Transparency Tab]箇所のタグ調整・画像挿入)
 
行1: 行1:
==Transparency Tab==
+
==Transparencyタブ==
  
QGIS has the ability to display each raster layer at varying transparency
+
QGISはラスタレイヤーに対して透過レベルを調節して表示する機能を備えています。
levels. Use the transparency slider to indicate to
+
現在のレイヤーを透過してその下にあるレイヤー(あれば)がどの程度見えるようにするかを示すには、transparencyスライダを利用します。
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''として扱いたいピクセル値を指定することもできます。
''NODATA''.
+
  
An even more flexible way to customize the transparency can be done in the
+
Custom transparencyオプションの項目ではより柔軟な透過の設定を行うことができます。
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の水域を透過率20%に設定したいとします。
landcover.tif to a transparency of 20%. The following steps
+
その場合、以下のステップを実行します。
are neccessary:
+
  
#Load the rasterfile landcover
+
#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.
+
#凡例画面からラスターファイル名をダブルクリックするか、右クリックメニューから {{Template:DropMenuOpt|Properties}} を選択して{{Template:Dialog|properties}}ダイアログを開く
#select the {{Template:Tab|Transparency}} tab
+
#{{Template:Tab|Transparency}}タブを選択
#<span id="enum:add">Click the {{Template:ToolBtnTwo|MActionNewAttribute|Add values manually}} button. A new row will appear in the pixel-list.</span>
+
#{{Template:ToolBtnTwo|MActionNewAttribute|Add values manually}}ボタンをクリック。pixel-listテーブルに新しい行が作成される
#<span id="enum:transp">enter the raster-value (we use 0 here) and adjust the transparency to 20%</span>
+
#ピクセル値を入力し(ここでは0を使用)、透過率を20%に設定
#press the {{Template:Button|Apply}} button and have a look at the map
+
#{{Template:Button|Apply}}を押して地図の表示を確認
  
You can repeat the steps [[#enum:add|4]] and [[#enum:transp|5]] to adjust
+
[[#enum:add|4]][[#enum:transp|5]]のステップを繰り返すことで、その他のピクセル値に対してのカスタム透過率の設定を追加することができます。
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
+
そこで、{{Template:ToolBtnTwo|MActionFileSave|Export to file}}ボタンによって透過率設定リストをファイルに保存することができるようになっています。
{{Template:ToolBtnTwo|MActionFileSave|Export to file}} to save your
+
また、{{Template:ToolBtnTwo|MActionAddRasterLayer|Import from file}}ボタンで透過率設定ファイルを読み込んで、現在のラスタレイヤーに適用することができます。
transparency-list to a file. The button
+
{{Template:ToolBtnTwo|MActionAddRasterLayer|Import from file}} loads your
+
transparency-settings and applies them to the current rasterlayer.
+

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ボタンで透過率設定ファイルを読み込んで、現在のラスタレイヤーに適用することができます。