class: title-slide, center, middle # GIS in Archaeology ## 08 - Making nicer Maps ### Martin Hinz #### Institut für Archäologische Wissenschaften, Universität Bern 20/11/24 .footnote[ .right[ .tiny[ You can download a [pdf of this presentation](gis_in_archaeology_08.pdf). ] ] ] --- # Choosing a Base Map -- + Think about what someone reading your map needs to see for context -- + Think about how the base map interacts with the data on your map --- # Base Maps - Hierarchy -- + If your data is the most important part of the map, make sure it looks more important than the base map -- + Avoid base maps that strongly emphasize features that aren't relevant on your map --- # Base Maps - Colors -- + Choose base maps with colors that complement the colors on your map -- + The contrast between the color on your map and the color on the base map should be enough to make your layers clearly visible --- ## Options for Background Maps ### Stamen Work also for small scale .pull-left[ TonerBackground
] .pull-right[ TerrainBackground
] --- ## Options for Background Maps ### Esri More natural Variants, large scale .pull-left[ WorldTerrain
] .pull-right[ WorldPhysical
] --- ## Options for Background Maps ### Esri More neutral Variants, large scale .pull-left[ WorldShadedRelief
] .pull-right[ WorldGrayCanvas
] --- ## Options for Background Maps ### CartoDB Good for man made features .center[ Positron
] --- ## Building a background map from scratch If there is no Basemap according to our needs, we have to build on on our own... * Political borders (if necessary) * Waterbodies * Mountains --- ## Political borders (if necessary) * depends on the area and scale you are working with * good source for Switzerland: https://map.geo.admin.ch * in general: https://www.naturalearthdata.com ![:width 48%](data:image/png;base64,#images/geoadmin.jpg) ![:width 48%](data:image/png;base64,#images/ned.png) .caption[Source: https://map.geo.admin.ch; https://www.naturalearthdata.com] --- ## Waterbodies .pull-left[ large scale: * Natural Earth Data > Physical * Ocean * Rivers + lake centerlines * Lakes + Reservoirs * World wide + Europe supplement ] .pull-right[ small scale: * depends on your region and scale * [CCM River and Catchment Database, version 2.1 (CCM2)](https://joint-research-centre.ec.europa.eu/scientific-tools-databases/catchment-characterisation-and-modelling-ccm_en) for Europe ] ![:width 48%](data:image/png;base64,#images/ned_rivers.png) ![:width 48%](data:image/png;base64,#images/ccm2.png) .caption[Source: https://www.naturalearthdata.com; https://joint-research-centre.ec.europa.eu] --- ## Mountains -> DEM (Digital Elevation Model) .pull-left[ * DEM: a computer based representation of elevation data * Mostly available as raster data, sometimes as TIN * large scale: Mostly from remote (satellite) data * small scale: areal photography or measurements, or even ground based surveys * methods * Radar * LiDAR * Structure from motion * ... ] .pull-right[ ![:width 50%](data:image/png;base64,#images/spotview.gif)![:width 50%](data:image/png;base64,#images/GUID-6D12B139-0878-494D-ABC4-01C0250FB757-web.png) .caption[Sources: https://crisp.nus.edu.sg; https://desktop.arcgis.com] ] DEM can come in EPSG 4326 (WGS 84 lat/lng). Then might be necessary to reproject the DEM to a projected (meter based) CRS. We cover this in the next session... --- ## Mountains .pull-left[ rendered: * Natural Earth Data > Raster * Gray Earth * Shaded Relief ![](data:image/png;base64,#images/ned_shaded.png) ] .pull-right[ DEM: * depends on your region and scale * GMTED2010 (https://topotools.cr.usgs.gov/gmted_viewer/viewer.htm) 7.5 arc second resolution (~ 225 m along the equator) * SRTM (e.g. https://dwtkns.com/srtm30m) 3 arc second resolution (~ 90 meters along the equator) * ASTER (e.g. https://search.earthdata.nasa.gov/) 3 arc second resolution (~ 30 meters along the equator) * TanDEM-X (90 m after registration, 12 m only with project submission) * LiDAR ] --- ## Lets put it together - Download the [Bernese Archaeological sites](https://github.com/BernCoDALab/gia/raw/main/lectures/08/data/fundstellen_mit_hoehen.zip) - Download the [Kantonal Borders of Switzerland](https://github.com/BernCoDALab/gia/raw/main/lectures/08/data/kantonsgrenzen.zip) - Download the Waterbodies - [Rivers](https://github.com/BernCoDALab/gia/raw/main/lectures/08/data/rivers_switzerland.zip) - [Lakes](https://github.com/BernCoDALab/gia/raw/main/lectures/08/data/lakes_switzerland.zip) - Download the [DEM for the Kanton of Bern](https://github.com/BernCoDALab/gia/raw/main/lectures/08/data/dem_switzerland_2056.tif) (GMTED2010, 7.5 arc seconds) - Start QGIS and add all layers All not best possible resolution, but they will serve their purpose .right[ ![:width 50%](data:image/png;base64,#images/map_intermediate.png) ] --- ## Your Map will probably look like this - after you arranged the layers in a meaninful order... ![:width 75%](data:image/png;base64,#images/map_begin.png) --- ## Styling Lakes topo water * Right Click on the layer * Properties > Symbology * Most simple: Select topo water from the suggested styles ![:width 48%](data:image/png;base64,#images/sym_lakes1.png) ![:width 48%](data:image/png;base64,#images/sym_lakes2.png) .caption[Source: Lakes symbology topo water + result.] --- ## Styling Lakes shapeburst * More elaborated: Select shapeburst from layer type * select a different (darker) shade of blue as second color * set a distance (eg. 3 mm) * add a blur (eg. 50%) * Maybe already too fancy for scientific maps!? ![:width 48%](data:image/png;base64,#images/sym_lakes3.png) ![:width 48%](data:image/png;base64,#images/sym_lakes4.png) .caption[Source: Lakes symbology topo water + result.] --- ## Styling Rivers topo hydrology * Right Click on the layer * Properties > Symbology * Most simple: Select topo hydrology from the suggested styles ![:width 48%](data:image/png;base64,#images/sym_river01.png) ![:width 48%](data:image/png;base64,#images/sym_river02.png) .caption[Source: Rivers symbology topo hydrology + result.] --- ## Styling Rivers size based More advanced: Sometimes you have informations about the size of rivers. Quite often it is in the form of [Strahler number](https://en.wikipedia.org/wiki/Strahler_number). We can use this information to specify the river width. .pull-left[ * Select 'Graduated' as style option * Select 'Size' as method * Select 'stream_ord' as value * Select sizes and Classify (Best with 'Equal Interval') ] .pull-right[ ![:width 50%](data:image/png;base64,#images/strahler-flussordnung.png) ] ![:width 45%](data:image/png;base64,#images/sym_river03.png) ![:width 45%](data:image/png;base64,#images/sym_river04.png) .caption[Source: Rivers symbology graduated + result.] --- ## Visualisation of Topography We need a DEM (Digital Elevation Model) * Either: Hillshade combined with color ramp visualisation of elevation (more colorful) * Or: Hillshade combined with polygon (more 'scientific') .center[ ![:width 45%](data:image/png;base64,#images/ner_10m_hypso_water_river_lake.gif) ![:width 45%](data:image/png;base64,#images/ner_10m_shaded_relief.gif) .caption[Source: http://https://www.naturalearthdata.com/] ] --- ## Topographic color ramp For this, we make our polygon layer invisible * Select Properties > Symbology from the DEM layer * Select Pseudocolor * Select 'Create new color ramp' * Select 'catalog: cpt-city' from the following dialog * There, under Topography, select a color ramp of your choice * "Classify", "Apply" and "OK" .center[ ![:width 48%](data:image/png;base64,#images/topo_color1.png) ![:width 48%](data:image/png;base64,#images/topo_color2.png) ] --- ## Topographic color ramp Result Not bad, but a bit flat... .center[ ![:width 48%](data:image/png;base64,#images/topo_color3.png) ] We need to add hill shading! --- ## Hillshading > Hillshading is a technique used to create a realistic view of terrain by creating a three-dimensional surface from a two-dimensional display of it. Hillshading creates a hypothetical illumination of a surface by setting a position for a light source and calculating an illumination value for each cell based on the cell's relative orientation to the light, or based on the slope and aspect of the cell. - http://www.geography.hunter.cuny.edu .center[ ![:width 45%](data:image/png;base64,#images/image001.gif) ![:width 45%](data:image/png;base64,#images/image002.gif) .caption[Source: http://www.geography.hunter.cuny.edu] ] --- ## Hill Shading We need the DEM Raster layer twice: once for the color, once for the hillshading * Right click on the layer and dublicate * Right click on the upper copy and select Properties > Symbology * Select 'Hill Shading' as Visualisation * You can change angle of sunlight * Select 'Multi-Directional' and 'Multiply' as Blending Mode .center[ ![:width 48%](data:image/png;base64,#images/hillshading01.png) ![:width 48%](data:image/png;base64,#images/hillshading02.png) ] --- ## Hill Shading Result That looks rather nice! It also looks nice if we put the vectors below the hillshade and make the colored DEM invisible. .center[ ![:width 48%](data:image/png;base64,#images/hillshading03.png)![:width 48%](data:image/png;base64,#images/hillshading04.png) ] --- ## Overview Map * more than one map in the map layout * often necessary to indicate the general location of the mapped area * can also be 'multi staged' * can also be a detailed map... .center[ ![:width 48%](data:image/png;base64,#images/qgis3_layout.png)![:width 42%](data:image/png;base64,#images/3510.png) .caption[Examples of Overview and Detail map layout. Source: http://http://www.qgistutorials.com] ] --- ## Create an Overview Map in QGIS (1) * Add another Worldwide Basemap layer to your map, eg. ESRI Gray light * Start the Print Composer * Add the current map * Select 'Lock Layer' .center[ ![:width 48%](data:image/png;base64,#images/minimap01.png)![:width 42%](data:image/png;base64,#images/minimap02.png) ] --- ## Create an Overview Map in QGIS (2) * Go back to the main window * Zoom to a europe wide extend * remove all layers except the background layer * Go back to the Print Composer Window * Add another map eg. to the left upper corner .center[ ![:width 48%](data:image/png;base64,#images/minimap03.png)![:width 42%](data:image/png;base64,#images/minimap04.png) ] --- ## Create an Overview Map in QGIS (3) * Select the small map * In the Elements Tab, select Overview * click on the + item * Select map 1 as map frame You might also like to frame the minimap * Find 'Frame' in the element properties and check the box .center[ ![:width 48%](data:image/png;base64,#images/minimap05.png) ] --- # What We've Covered -- + Different Basemaps -- + Getting Vector and Raster Data -- + Styling Water Bodies -- + Getting and Styling DEMs -- + Hillshading -- + Making an Overview Maps --- ## More Map Design with QGIS .pull-left[ Gretchen Peterson and Anita Graser QGIS Map Design, 2nd Edition (Locate Press, 2018), pp. 200 ISBN: 978-0989421751. ] .pull-right[ ![:width 90%](data:image/png;base64,#images/qmd2.png) ] --- # Homework **No Homework!** --- class: inverse, middle, center # Any questions? ![:width 20%](data:image/png;base64,#images/bloody-point.jpg) .caption[Source: https://www.instagram.com/sadtopographies] .footnote[ .right[ .tiny[ You might find the course material (including the presentations) at https://github.com/BernCoDALab/gia You can see the rendered presentations at https://berncodalab.github.io/gia You can contact me at <a href="mailto:martin.hinz@unibe.ch">martin.hinz@unibe.ch</a> ] ] ]