{"id":22,"date":"2015-04-14T08:26:41","date_gmt":"2015-04-14T08:26:41","guid":{"rendered":"http:\/\/transnationalhistory.net\/mapping\/?page_id=22"},"modified":"2023-08-29T15:13:38","modified_gmt":"2023-08-29T15:13:38","slug":"baselayer","status":"publish","type":"page","link":"https:\/\/transnationalhistory.net\/mapping\/tutorials\/baselayer\/","title":{"rendered":"Finding and Adding a Base Layer"},"content":{"rendered":"<p style=\"text-align: right;\"><em><strong>Tutorial 1<\/strong><\/em><\/p>\n<p>&nbsp;<\/p>\n<p>If you have already opened QGIS, you will be probably facing a blank page with some sidebars and buttons to choose from. In this first tutorial, we are going to start with the very beginning of map making on QGIS. To get started you will need a <b>base layer <\/b>&#8211; some boundaries, limits, or natural elements that will structure your map and\u00a0will help you define the scale and background of your map.<\/p>\n<p><b>STEP 1: DOWNLOAD A BASE LAYER<\/b><\/p>\n<p><a href=\"http:\/\/www.naturalearthdata.com\/downloads\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-32 size-thumbnail\" src=\"http:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/1-Natural-Earth-Data-150x150.jpg\" alt=\"Natural Earth Data\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.naturalearthdata.com\/\" target=\"_blank\" rel=\"noopener\">Natural Earth Data<\/a> offers a wide range of base layers to get started with. By clicking on &#8220;Get the Data&#8221; we will \u00a0have access to a large choice of base layers. We will be choosing the most detailed type of Physical elements by choosing\u00a0<strong>Large scale data, 1:10m, Physical.<\/strong><\/p>\n<p><a href=\"http:\/\/www.naturalearthdata.com\/http\/\/www.naturalearthdata.com\/download\/10m\/physical\/ne_10m_coastline.zip\" target=\"_blank\" rel=\"noopener\">Downloading<strong> Coastlines<\/strong><\/a>\u00a0will be a great starting point.\u00a0With coastlines we will be able to display all continents and islands of the world on our map.<\/p>\n<p>Once the .zip file has been downloaded, open it with your standard uncompressing software or with <a href=\"http:\/\/www.winzip.com\/\" target=\"_blank\" rel=\"noopener\">WinZip<\/a>. All the files will be extracted into a new folder. Always try to keep your QGIS folders tidy and organised in sub-folders for each layer or project, as your layer collection might grow quite quickly, depending on your project!<\/p>\n<p><strong>Note<\/strong>: you can save your project into a .qgs file (by clicking on\u00a0<strong>Save<\/strong>\u00a0or\u00a0<strong>Save as<\/strong>). Keep in mind that your layers will not be included\u00a0within that project file, so you will need to keep your layer files stored in the same folder.<\/p>\n<p><strong>Tip: Always keep track of your sources (= your layers), evaluate how accurate and official they are, and be always wary of any copyright. Layers may be created by official institutions or passionate amateurs: keep that in mind and make sure the layer you are downloading is fit for your project.<\/strong><\/p>\n<p><strong>STEP 2: INSERT A LAYER ONTO QGIS<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Now let&#8217;s open QGIS and try to display these coastlines. All you need to do is to <strong>click on the &#8220;Add vector layer&#8221; button<\/strong> and\u00a0<strong>Browse<\/strong> your folders in order to load the coastline <strong>shapefile <\/strong>(.shp).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-33 aligncenter\" src=\"http:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/2-Add-Vector-Layer.jpg\" alt=\"2 Add Vector Layer\" width=\"140\" height=\"37\" \/><\/p>\n<p>Your coastline file should be named\u00a0<strong>ne_10m_coastline.shp<\/strong>. Open that file: it will be loaded onto QGIS.\u00a0You now have a map with all the continents and islands of the world.<\/p>\n<p><a href=\"http:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/1-World-Coastlines.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-328\" src=\"http:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/1-World-Coastlines.jpg\" alt=\"1 World Coastlines\" width=\"750\" height=\"360\" srcset=\"https:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/1-World-Coastlines.jpg 750w, https:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/1-World-Coastlines-300x144.jpg 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>STEP 3: REPEAT THE PROCESS<\/strong><\/p>\n<p>A blank map of the world will not get you too far if you wish to show naval trade routes in the 18th century. You will need extra elements before starting to map your data. Let&#8217;s add rivers to this map. <a href=\"http:\/\/www.naturalearthdata.com\/downloads\/10m-physical-vectors\/\" target=\"_blank\" rel=\"noopener\">Natural Earth Data<\/a> has a very detailed collection of rivers and lake central lines . <a href=\"http:\/\/www.naturalearthdata.com\/http\/\/www.naturalearthdata.com\/download\/10m\/physical\/ne_10m_rivers_lake_centerlines.zip\" target=\"_blank\" rel=\"noopener\">Let&#8217;s download the files<\/a>\u00a0and insert them again onto our map.<\/p>\n<p><strong>Tip 1<\/strong>: a digital map is, after all, a combination of chosen layers, each displaying a particular element.<br \/>\n<strong>Tip 2<\/strong>: as you can see, lakes are only materialised by a line that runs in the middle of it, since this layer is only made of lines. You will need to find another file that shows lakes in their full areas!<\/p>\n<p><strong>STEP 4: CHANGE THE STYLE OF YOUR LAYERS<\/strong><\/p>\n<p><a href=\"http:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/4-Layer-Properties.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-37 size-full\" src=\"http:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/4-Layer-Properties.jpg\" alt=\"4 Layer Properties\" width=\"385\" height=\"372\" srcset=\"https:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/4-Layer-Properties.jpg 385w, https:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/4-Layer-Properties-300x290.jpg 300w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/a><\/p>\n<p>The map we have now is starting to be interesting, but the colour and style of these layers could be personalised. Each layer has a set of properties that you can edit. In your list of layers, <strong>right click on the layer<\/strong> you wish to edit, and choose <strong>Properties<\/strong>.<\/p>\n<p>Under\u00a0<strong>Style<\/strong>, you can change the colour, thickness, transparency, and style of your layer. Let&#8217;s make the coastlines a bit thicker (0.40 mm) and black, with slightly thicker (0.30 mm) blue lines for rivers. Don&#8217;t forget to click <b>OK<\/b>\u00a0when done.<\/p>\n<p>The result will be neater and closer to what you want to complete. Zoom on certain areas to double-check that the rendition is what you expected. For instance, here&#8217;s what South America looks like.<\/p>\n<p><a href=\"http:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/5-South-America.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-39\" src=\"http:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/5-South-America.jpg\" alt=\"5 South America\" width=\"411\" height=\"482\" srcset=\"https:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/5-South-America.jpg 411w, https:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/5-South-America-256x300.jpg 256w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Tip<\/strong>: Sometimes you may not see any change after editing the style of your layer. Keep in mind that two layers may be on top of each other (for instance, coastlines and national borders). Your layer list has in fact a hierarchical order:\u00a0you may shift a layer\u00a0to the top if you want that layer to prevail.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-54 aligncenter\" src=\"http:\/\/transnationalhistory.net\/mapping\/wp-content\/uploads\/2015\/04\/1-move-layers.jpg\" alt=\"1 move layers\" width=\"211\" height=\"97\" \/><\/p>\n<p><a href=\"http:\/\/transnationalhistory.net\/mapping\/tutorials\/baselayer\/advanced\/\"><strong>One step further\u00a0on this topic:\u00a0<\/strong>Simplifying coastlines &amp; Adding Raster Layers<\/a><\/p>\n<p><strong>Additional Resources<\/strong><\/p>\n<p>&#8211; <a href=\"http:\/\/www.naturalearthdata.com\/\" target=\"_blank\" rel=\"noopener\">Natural Earth Data<\/a>: to download your first base layers<\/p>\n<p>&#8211; <a href=\"http:\/\/www.qgistutorials.com\/en\/docs\/raster_styling_and_analysis.html\" target=\"_blank\" rel=\"noopener\">Basic Raster Styling and Analysis<\/a>: You may also want to come up with your own raster layer. This tutorial will show how.<\/p>\n<p>&nbsp;<\/p>\n<p>Last update: 18 May\u00a02015 on QGIS 2.8.1 Wien.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: right;\"><a title=\"Point Vector Layers: how to depict points on a map\" href=\"http:\/\/transnationalhistory.net\/mapping\/tutorials\/pointvectorlayers\/\">Next tutorial:<\/a><br \/>\n<a title=\"Point Vector Layers: how to depict points on a map\" href=\"http:\/\/transnationalhistory.net\/mapping\/tutorials\/pointvectorlayers\/\"> <strong>Point Vector Layers<\/strong><\/a><br \/>\n<a title=\"Point Vector Layers: how to depict points on a map\" href=\"http:\/\/transnationalhistory.net\/mapping\/tutorials\/pointvectorlayers\/\"> How to depict points on a map<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tutorial 1 &nbsp; If you have already opened QGIS, you will be probably facing a blank page with some sidebars and buttons to choose from. In this first tutorial, we are going to start with the very beginning of map making on QGIS. To get started you will need a base layer &#8211; some boundaries, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":8,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-22","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/transnationalhistory.net\/mapping\/wp-json\/wp\/v2\/pages\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/transnationalhistory.net\/mapping\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/transnationalhistory.net\/mapping\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/transnationalhistory.net\/mapping\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/transnationalhistory.net\/mapping\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":2,"href":"https:\/\/transnationalhistory.net\/mapping\/wp-json\/wp\/v2\/pages\/22\/revisions"}],"predecessor-version":[{"id":591,"href":"https:\/\/transnationalhistory.net\/mapping\/wp-json\/wp\/v2\/pages\/22\/revisions\/591"}],"up":[{"embeddable":true,"href":"https:\/\/transnationalhistory.net\/mapping\/wp-json\/wp\/v2\/pages\/8"}],"wp:attachment":[{"href":"https:\/\/transnationalhistory.net\/mapping\/wp-json\/wp\/v2\/media?parent=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}