「Raster Properties Dialog:Transparency Tab」の版間の差分
(ページの作成: <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: | ||
− | + | ==Transparency Tab== | |
− | Transparency Tab | + | |
− | + | ||
− | |||
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. | + | 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. | ||
− | |||
Additionally you can enter a rastervalue, which should be treated as | 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 | 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. | ||
− | |||
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: | ||
− | + | #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. | |
− | + | #select the {{Template:Tab|Transparency}} tab | |
− | + | #<span id="enum:add">Click the {{Template:ToolBtnTwo|MActionNewAttribute|Add values manually}} button. A new row will appear in the pixel-list.</span> | |
− | + | #<span id="enum:transp">enter the raster-value (we use 0 here) and adjust the transparency to 20%</span> | |
− | + | #press the {{Template:Button|Apply}} button and have a look at the map | |
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | </ | + | |
− | < | + | |
− | + | ||
− | </ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | You can repeat the steps [[#enum:add|4]] and [[#enum:transp|5]] to adjust | |
− | You can repeat the steps | + | |
more values with custom transparency. | more values with custom transparency. | ||
− | |||
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 | ||
− | + | {{Template:ToolBtnTwo|MActionFileSave|Export to file}} to save your | |
transparency-list to a file. The button | transparency-list to a file. The button | ||
− | + | {{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. | ||
− | |||
− |
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:
- Load the rasterfile landcover
- 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.
- select the Transparency tab
- Click the Add values manually button. A new row will appear in the pixel-list.
- enter the raster-value (we use 0 here) and adjust the transparency to 20%
- 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 Export to file to save your transparency-list to a file. The button Import from file loads your transparency-settings and applies them to the current rasterlayer.