Exercise: Displaying German Geobasis data (GBD)
From AWF-Wiki
Load a German base map "Amtliche Karte"
- Download the tutorial data GBData.zip as a compressed archive file from Stud.IP.
- Start QGIS 2.14 Right click into the layers window, Add group and type Amtliche Karte. Highlight the new goup.
- Click the Add raster layer button and select all files with the extension *.tif from the folder .\GBData\AK5v. Press and hold down CTRL, and then click each file with the extension *.tif.OK.
- Now you are asked to specify the Coordinate Reference System for the first tif file. This is the default behaviour of QGIS 2.14 loading data sets without CRS description. The data were delivered by LGLN Lower Saxony that is fully covered by the UTM-Zone 32 with the horizontal geodetic datum ETRS89. Therefore the EPSG-Code is 25832. In this case the easting value is not prefixed by the UTM zone number and a false easting value of 500km is added. There are several other EPSG-Codes defined by the AdV (Arbeitsgemeinschaft der Vermessungsverwaltungen in Germany). Please check the metadata of your data provider to select the right EPSG-code. Type into the text field "Filter": 25832 and than click on ETRS89 / UTM zone 32N to select the right CRS for the tiles of the "Amtliche Karte" OK. Confirm this CRS for all other selected tiles with OK.
- Mark "Amtliche Karte" in the Layers window, right click Zoom to group to have an overview on all tiles. You may switch off the checkbox before a layer or a group to disable rendering. If we mark one single layer and right click Zoom to layer we see only the extent of one tile. Right click Properties --> Metadata to obtain informations on the data type (8 bit), dimensions (4000 x 4000 pixel), and pixel size on the ground (0.25x0.25m).
Load a digital aerial ortho photo "DOP20"
- Click the Add raster layer button and select the file dop20_colir_32560000_5716000_utm32_etrs89.tif in the folder .\GBData\DOP. In the Layers window drag and drop this layer on top of the group "Amtliche Karte". Mark and right click Zoom to layer. The display of the digital orthophoto (DOP) doesn't look appealing. Right click Properties --> Transparency and change the drop list "Transparency band" from Band 4 (Alpha) to None. Apply. A true color composite is rendered.
- Create a false color composite. click Properties --> Style. Change the band assignment "Red band": Band 4, "Green band": Band 3, "Blue band": Band 2 and the contrast enhancement to Stretch to MinMax. Click first Load and second Apply to display an enhanced standard false color composite.
- Improve the rendering speed. Make that you already use the new [Display settings] of QGIS 2.14 select the DOP layer in the layers window Properties --> Pyramids. Mark all resolution pyramids and click Build pyramids. The zoom performance is even more improved.
- Overlay the DOP with the Amtliche Karte (Fig. A). In the layers window drag and drop the layer dop20_colir_32560000_5716000_utm32_etrs89 under the group Amtliche Karte. Find out which Amtliche Karte tiles cover the DOP! Change the transparency ot the Amtliche Karte. Zoom to the layer (325615717_col). With the "Identify Feature" tool the integer numbers of the AK5 classes are shown as result. Mark the AK5 layer in the Layers window, Properties --> Transparency. Activate Add values from Display and select parts of the AK5 which should be transparent. Apply.
- Copy the color table setting of one layer to all other AK5 layers: Mark the AK5 layer 325615717_col in the Layers window, right click Copy Style. Mark another AK5 layer, right click Paste Style.
- Save the layer and color table settings in a project file to proceed later with your work. Project --> Save as ...