You are on page 1of 21
3D with QGIS and Aerialod Site Open Courseware for GIS Imprimé par: Visiteur anonyme Creating data visualisations with graphs, maps and Date: lundi 9 octobre 2023, 09:11 animations Livre: 3D with QGIS and Aerialod cours Table des matiéres Introduction Calculate Flow Direction Derive Streams Calculate Distance to River . Finalize the Styling Creating the Print Layout Install and Use Aerialod 3. Conclusion 1. Introduct Sometimes a visualization in 3D is clearer to tell your story than a 2D map. A 3D map or animation is often in 2.5D, where the 3D effect is created by shading and perspective, but you don’t need special devices to view the 3D map, We'll stil refer to that as 3 in this tutorial In this tutorial we'te going to visualize the distance to rivers with a 3D animation. Well use the PCRaster Tools plugin in QGIS to calculate the distance to the rivers and welll use Aerialod to visualize it in 3D. 2. Calculate Flow Direction ‘The layers that we use have been prepared using the stream and catchment delinestion procedure with the PCRaster Tools in QGIS, which is not covered in this tutorial. The layers are provided in the tutorial data that you can download from the main course page. Let's load the layers. 1. Open QGIS Desktop with a new project. 2. Use the Browser panel to locate the files that you've downloaded. 3. Drag the DEMAtif and Rur.catchmentshp files to the map canvas. Tan a — bet seb OPERA OF FPR Pr An Bebnore REVAeRB 6 / a ow — em SORT TO © I fe tcnent + 8 oo Boat ten view @mcmn @ [Steeesecg Jee wenaeens | lsonee aoe elven ‘Well fist concentrate on the DEM and derive the flow direction that we need as an input to calculate the distance to the rivers. 4, Hide the Rur_catchment layer by unchecking its box in the Layers panel 5. In the Processing Toolbox go to PCRaster | Data management | Convert to PCRaster Format. imo ard bot pe Daramanagemert eles © ellngth Colum filo PCRater Mop pen 6.ln the Convert to PCRaster Format dialog choose DEM as Raster layer, Scolar for the Output dat type (it's continuous datal) and save the result in the folder ofthe tutorial data with the name dem.map. @ Conve Rarer Format x France [tae * Convert to PCRaster Format teres healt From psa Sima ah woud pe Sao rosso tr Ziarmarousats Aaabétiemnse Gl (| 1 O2en uu eater dct anassanrecs.. an || ohne 7. Click Run to convert the layer. Click Close to close the dialog. Now we can calculate the flow direction layer (er LDD), 4. ln the Processing Toolbox go to PCRaster | Hydrological and material transport operations | Iddereate. ‘9.1m the Lddcreate dialog choose dem as DEM layer and keep the other parameters as default. Save the result as flowdirection map in the folder with the data for this tutorial Q teen x Feroncers | to5 * Iddcreate Bee eaamatecten ma stom FF ce scenes T]EE]) Sh ettois cere doundeoenecoou enoverts ot edge? Potester documentation te Input DEM ayer casi) see ecunis 7) Remove pe at edge (ened) roe at det es as) ors eased) mao wits cls cee napus) ae yume apt) s castom options cura |[_ te) 9. Click OK, Now the ) is gone and we know thatthe layer is saved, 10. Go to the Layer Styling panel and make sure that the place city layer isthe target layer. 11. Choose the dot white symbol. Lyersting ae + O Marker han’ © Semple Marker a a ° 7 fa e oO dot black 12 Click on Simple Marker and change the Stoke stye to No Pen to remove the outine that we don't need Besides the dots we also want to show the names of the 13:n the Loyer Sting panel goto the Label Fi] tab 14. choose Single Labels and for Value choose the Name fil 15, Goto the Font ste tab and choose Liberation Sans with Style Bold, emschid Cad ae on bean sone ssa Ba lem mass Abt mare Next, we're going to finalize the map for Aerialod in the Print Layout. 5, We'll also make them white so they pop out of the 3D map. 6. Creating the Print Layout The user also needs a legend to understand which height in 3D corresponds with which dlstance. A north arrow i also important in 30, because it's harder to orient. We can finalize the map with these items inthe Print Layout 1.In the main menu goto Project | New Prin Layout. A 2. all the new Print Layout Aeralod and click OK & Fist we need to change the sheet rom landscape to port given the orientation of our catchment 3. Right-click onthe page and choose Page Properties...from the canter menu, 4. Inthe item Properties change Orientation to Portrait Now we can add the map. 5. Click the Adel map |) ¢ icon and drag a rectangle that covers the complete sheet, Note thatthe handles snap to the corners of the sheet 6, Use the Move item content {J8) tool in combination with the mouse scroll wheel to adjust the position and scale of the map. With Cel Seroll you can make small steps when you want to zoom in or oul, Now let's add a legend 7. Click the Add legendg=_ icon and drag a box where there's space outside of the catchment area, 4.In the ftem properties uncheck Auto update. ‘9. We only need the distance legend, so select all other items and use the | =| button to remove them. 10, Double-click on the distance text and change the text to Distance to river, 11 Remove the Band 1 item by selecting it and clicking the |) button, lem Propaies ae tegend ao spte ies 7M ea yaa) #) = Crone ae ned ap Cor oven ie arene etre Wes better to show the distance in km than in m, Let's change that. 12. Double-click on the ramp and type km at Sufi. Don't forget to type a space before the unit. 1's not possible to calculate the min/max values automatically as kilometers, s0 we need to type the min/max values. 13. Change the Minimum to Oand the Maximum to 40 (a round number, the details are not visile anyways) 14, Change the Width to 5 and the Height to 50 mm. 15.Click 4) to go back The legend needs afew more tweaks. 16. Uncheck the box before Background to make i transparent. Now the black fonts are not readable. 17. Expand the Fonts and Text Formatting section by clicking the black arrow. 18. Change the Font color to white Font Title font I omer ua : Grow Headings ent Group font Suboroup Headioas ret Subgroup font em Labels Font Item font ent F Now the legend looks like this: Let's add the north arrow, 19. lic the Add North Arrow , icon and drag a rectangle ina black space outside ofthe catchment where you want to place it Weill use the simple default north arrow. Don't make it too big! ‘0n 30 maps we can use the 2D scale bar, because ofthe perspective. So we're ready to export the map to a png fle 20. Click the Export as image |e, icon. Give't an output file name and make sute to choose the PNG format 21. In the Image Export Options keep the defaults and click Save When you have successfully exported our grayscale map, we're going to make it visually attractive in Aerialod, Save the project and close QGIS before you continue. 7. Install and Use Aerialod We're going to use Aerialod for creating the 3D map, its free software that is easy to install ip file. You probably need the 64 bit er a re) Orica AN LO} 3. Extract the contents ofthe zipfile somewhere on y Program Files. 4, Double-click on Aerialod.exe to run the program, eee . 5 ond ee or Crea rT the window. (Open Mop [EB icon in tne upper left and open the PNG file that you saved in the QGIS Print Lo Iwill start rendering immediately, The blue bar shows how far itis with rendering will only render when the window has focus and it will start re-rendering when you change settings. 7. Use the scroll wheel and right mouse button to respectively 200m and rotate, Explore the different settings by yourself, Change the color toa light blue 8. When you have found a nie position, save a snapshot by ccking [Sn the lower let ‘You can also save an animation of a rotating scene, You can explore the settings here, Note that it takes hours to render a large scene at hight quality. Turntable 8. Conclusion In this tutorial you've learned how to create 2.5 D visualisations in Aerialod Watch this video for the steps:

You might also like