QGIS 3 for Absolute Beginners

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] [Applause] [Music] [Applause] hi and welcome to this introduction to QGIS or qgs this is a video for the absolute beginner but if you are used to another GIS this video will also give you a quick introduction to the basic functions of qgs the video is quick paced and you will almost certainly need to pause it at times in order to keep up if you want to work along with the instructions before we get into the practical stuff I need to inform you on some theoretical nonsense that you don't need to know to get started but you need to know something about it to understand why things may not be as straightforward as you might first expect it first of all GIS is a vast and complex subject after all you can spend years at college learning about it and still just scratch the surface this video will not make your GIS pro it will however give you enough knowledge to create your own maps for fun for your community or even for a small business one of the main reasons for the complexity is that we try to twist real world data into something that makes sense on a flat computer screen or a paper a lot of this science stuff is taken care of by qgs but it will have consequences in the work we do for instance when we try to show large areas of the round earth flat on the screen things will get distorted and depending on what we want to do with the result we may need to compensate for this in different ways this is really important if we for instance want to measure distances and areas in an exact way curious is open-source software and free to use in any way you want the maps you create are yours to do with as you please as long as you respect any data providers terms of usage you can freely download and install qgs for Windows Mac OS or Linux from QGIS dot oregon on the web page you can also find news documentation reference for uses and developers as well as resources for the qgs community Kyrgyz is free to use but it is encouraged to support the project and you can do so in many different ways from now on I will assume you have downloaded and installed Kyrgyz on your computer I will be using qgs on Linux with English as the GUI language but it shouldn't matter much because the GUI looks very similar on all platforms when you first start qgs you will see a pretty simple interface with a menu and buttons at the top some panels to the left and a big area in the center right at the bottom of the window there is a status bar with information and some input fields and tools as you can see in my version there's a colored text to inform me that a new version of qgs is available I'm going to use version 3.4 in this video and depending on what version you are using things may look cowork slightly different but you should be fine even if you are from my future and are using version 318 or even newer versions just get started we are going to add a simple world map find the coordinate field in the status bar and type in world and press Enter we can now start to work with an actual map use the mouse wheel to zoom in and out of the map if you want final control of your zooming you can press the control key on your keyboard while scrolling if you want to pan the map just press down on the scroll wheel and move the map there are dedicated buttons and tools for panning and zooming but I find the scroll wheel convenient and it always work even if you have did a different tool selected there are useful buttons like zoom to full but that like so many other tasks in qgs can also be achieved by a keyboard shortcut in this case ctrl shift F will zoom the map to the full extent let's just get some more of the science stuff out of the way in the right of the window you can see a symbol with a text that says epsg 4 3 2 6 this is the projection of the map which is the method curious uses to stretch the world to a flat surface you can change this projection by pressing the area where the text is there's a lot of pre actions to choose from and not all will work for all projects for now you could try type 3 8 5 7 or pseudo Mercator in the filter field select the row with epsg 3 8 5 7 and click OK this will change the look of your map but also its properties as you move your mouse around the map you can see the numbers in the coordinate field change these numbers represent the mouse cursors position in the selected projection coordinates if you change back to epsg 4 3 2 6 or wsg 84 you will see that the numbers changed to if you have a national coordinate system or projection that you want to use you can search for it here you can for instance look for a UTM projection for your area of interest which is better suited for local map work if you are on the northern hemisphere or north of the Equator type in 3 to 6 in the filter and if you are in the South use 3 to 7 then scroll down until you see a list of pre actions that start with wgs84 try clicking on one and look at the preview of the area suitable to use the pre action for find the pre action for your area and apply it to your project UTM is not suitable for large global areas it will require you to zoom in a lot to make sense and then we probably need some more data in the panels to the left there's a browser panel this is a resource tree with your local file system connect and network resources and other defined data sources in the list you can expand some areas and if you look under XYZ tiles you will find one online data source predefined it will require that you are online otherwise you should be able to just add the OpenStreetMap data source directly to your project you can do this by right click drag and drop or double click now we can continue to zoom in more closely on your map you must however remember that you may have a local coordinate system selected if you don't want to worry about that anymore for the remainder of this video you could switch to the sued or Mercator or EPS D three eight five seven pre action if you look at the layers panel you should now have two layers there the initial world layer and the new OpenStreetMap layer you probably can't see the word layer because it is underneath the OpenStreetMap layer if you want to change the order of the layers just drag and drop the layers in the order you want them sometimes it can be tricky to place a layer at the top but then you just right-click it and select move to top you can turn the visibility of a layer on and off with the checkbox for that layer so let's start to be creative find a location with an area of water maybe in your local community before we continue we should save our project click the Save button use the menu or simply use the ctrl s keyboard shortcut find a folder location and save your project with a suitable name in the top of the program window the project name will now be visible let's close qgs and start it again your recent projects will be presented in the main window as recent projects you can either open them by double-clicking on them here or use the open project button or menu but you can also use the browser to find the project file you saved and open it from there for this project we should now create some of our own custom layers data comes in a lot of different formats but qgs has made it easier to work with a few of these first of all this raster data and vector data the OpenStreetMap layer is a form of raster data and that world layer is vector data they behave differently and have different properties that can be manipulated in this video we will only create vector layers to start with click the button new temporary scratch layer this will open up a simple dialog where you give the layer a name and select a geometry type for the first layer we will create a layer called land and select polygon as geometry type the rest of the settings do matter but for now they are not important and can be left as default one thing about temporary scratch layers are that they are just that temporary if you close your project for any reason the data that is in that type of layer will be lost but it is a convenient way to experiment and work with intermediate data layers as soon as you create the layer it will be in edit mode you can see that by the pen icon on the layer symbol and that the toggle editing tool button is pressed you can toggle editing for the selected layer on and off by pressing this button you can only edit the data in a layer when it is in edit mode now select the add polygon feature tool and create your custom island every click with the left mouse button will add a point to the polygon called up vertex if you make a mistake you can remove the added vertex by pressing delete or back button when you are done you press the right mouse button this finishes the polygon and you can start adding another one if you like to edit the shape of a polygon you can use that vertex tool to select the vertex you hover over it and click the left mouse button now you can move it to a new location and click again to place it there you can also click on a segment to select and move it in the same way to add a new vertex on a segment just click the plus sign visible on the segment when you hover over it you can select one or several vertices by click and drag you can then move them all together the same way or remove them by pressing delete or back on the keyboard save your edits by pressing save layer edits and toggle editing for the layer off do you remember that this is just a temporary layer so let's make it permanent in the layers panel you can see a chip symbol at the temporary layer one way to make the layer permanent is to right-click it and select make permanent another is just to click the chip symbol you can save vector data in a large number of formats but for this video we will be using the default geo package format first you browse to a location where you would like to save your layer and give the package a file name then you name your layer and press ok now your island is stored permanently in a geo package file let's make it pretty make sure the layer is selected in the layers panel then click the styling panel button or just press the f7 key on the keyboard it is possible to make simpler style changes directly from the layers panel and more complex in other ways but the most convenient way is with a styling panel the default is a single symbol which is fine for this layer lines and points will be styled differently but we will get back to those later for now you can change the layer color and transparency but you can also select one of the presets if you like when you select different presets you can see that the contents in the style list changes you can build your own style in this list manually and say that as a template to for now just select a template that is a simple color and select a simple field line in the style layer list this will show the detailed properties of a simple field style layer try experimenting with a fill color line color thickness and stroke style note that you get a different color selector depending on if you click on the color patch or the drop down arrow if you want to you can pick a color from anywhere on the screen also note that colors can have transparency transparency can also be set for the entire layer in the layer rendering settings you in the style panel you can also style a label for the polygons in the layer these can also be of different types but a single label is fine for now to create a label you can type a text inside single quotation marks in the label with the field just type in island in the field we will change this later now you can experiment with the font settings and for now you can also check the buffer and shadow settings you can also look at the placement settings and try to find something you like there are a lot more settings but that is for another video you may want to use different names for the islands the best way to do this is to store additional information for the polygons in a table this table is already created so all we have to do is to edit some columns in it select the land layer and hit f6 on the keyboard you can also right-click the layer select open attribute table attributes or what the information about our polygons are called each attribute has its own column in the attribute table you can have as many columns as you'd like and to start with there's only one column with a unique object ID toggle editing for the layer on by pressing the pen button in the attribute table toolbar click the new field button and type in the field name name also select the field type as text you can define the size of this text field to limit the reserved space for data but if you leave it at the default it will adjust automatically now fill in a name for each of your polygons save your edits and toggle editing off then you can close the attribute table if you have an object selected you can deselect everything with a deselect features button to use the individual names on your Islands you select the land layer go to the styling panel and the label settings there you select a name field instead of the island text now each of your polygons should have the name you created as a label try to add a new island with the editing tools to see if you remember how also remember that you finish your polygons with the right mouse button this time you will get a form to fill in when you are done that is because this is now a permanent layer with associated attributes just fill in the form and ignore the ID field now it is time to save your project if you look at the title bar of the program there will be a store by the project name if there are unsaved changes in the project when the project is saved you should start a new project by pressing the new button selecting new from the project menu or hitting ctrl n on the keyboard this will give you a new empty project to work with use the browser and locate the geo package you created for your land layer expand the new package and add the land layer to the new project as you can see it looks nothing like what you created before that is because style is not saved with the layer data as standard normally style is saved in the project file but if you want to use your data in different projects you might want to style the layer only once open the previous project again you can discard the newly created project to save the layer style with the layer data you will need to go into the layer properties you do this either by right-clicking the layer and selecting properties or by double clicking the layer the layer properties dialog have a lot of property settings including the style and label settings for now we are only interested in the style bottom at the bottom of the dialog click it and select save as default followed by data source database and that's it now you can try to create a new empty project again and add your layer to it it should appear with the saved style settings save this new project with the name Treasure Island to create the illusion of water around the island we will create a duplicate of the land layer right click and select duplicate layer this will not create a copy of the data only a new layer in the layer panel the new layer will still point to the same data as the original layer rename the copy ocean by selecting it and pressing f2 on the keyboard activate the layer and remove the labels by selecting no labels in the style panel in the style settings change single symbol to inverted polygons and change the color to a suitable blue color without any outline for this layer we will create a bit more advanced style by adding more style layers click the add symbol layer button and select a new symbol layer change the symbol type to shape burst fill set the first color to black with a lot of transparency and the second color to fully transparent change the shading style to set distance and try changing it to ten also increase blur to seventeen finally adjust the settings for the first color so that you get a subtle shading effect around your islands you could also try using a light color instead of black now let's build something on the island we will start with some robes but we will create them in a different way than we did when we created the land layer this time we will create the layer directly in the Geo package and add attribute columns before we start editing the robes start by clicking the new geo package layer button or hit ctrl shift n on the keyboard browse for and select the previous created geo package give the new layer a table name I'm going to name mine roots select line as the geometry I want to create routes of different type like path and trail I also want to be able to give at least some of them names therefore I right type and click Add to fields list followed by name both should be of the type text and if you would like to have other fields in your table you go ahead and add them now or you can add them later as this is a new layer in an existing geo package you will get prompted when you click OK if you want to overwrite or add new layer to the Geo package here you should select add new layer your newly created layer may have been added under the existing layers so start by moving it to the top of the layers in the list then select it and toggle the editing on for the layer then click the add line feature button and start clicking out your first route as before each click with the left mouse button will add a vertex and you finish the object by pressing the right mouse button when you create roads you will likely want some of them to connect to each other nicely therefore we will now activate an advanced feature called snapping incurious right-click somewhere in the tools area and activate the snapping toolbar to activate snapping you click on the magnet button you can then set the snapping properties but for now the default is fine as you move the edit tool it will snap the vertices that are within the set distance of the mouse cursor this makes it easy to start a new route exactly at the existing ones create some more routes of different types and be careful when you type the text in the fields so you type the same thing for routes that should be of the same type you can give some of them names too if you'd like when you are done save your edits and toggle editing for the layer off to style this layer you should use categorized styling instead of single symbol select type as column and if you would like to set a default style for all types of routes you can create that now but the default is fine when you hit classify the standard is that a line will be created in a different color for each type in the attribute table to edit the individual categories you double click the symbol for each and edit the style properties in the same way as you did for the land layer previously I'm creating a simple dotted black line for my paths and a slightly thicker dashed line for my trails there's a lot more you can experiment with when it comes to symbology incurious but to cover it all in this video it would be hours long so for now you can experiment on your own if you like labels four lines are similar to those for polygons but the placement options are a bit different for instance you can create curved labels along the line just create a reasonably simple label and try some different settings until you are satisfied if you want to have the pleated stylus the default for the layer you can also say the style like we did before as a final layer we will add some points the same way as for routes this will be created as a new geo package table in the existing geo package but with the geometry type point selected I'm just going to call this layer points and I'll add the fields type and name as text fields to the attribute table as before this should be a new layer and not overwriting the previous I'm going to add points for a lighthouse some normal houses and of course a treasure if snapping bothers you you can turn it off by clicking the magnet button or pressing the letter S on the keyboard which will toggle snapping on and off save your edits and toggle editing off this layer will also have a categorized style where each category based on the type attribute will get a suitable symbol points are styled similar to polygons and lines but there's a few more options for the type of symbols that normally can be used my houses will be simple black squares while the lighthouse will be an SVG marker instead of the simple marker the treasure will be an X that I create by using the simple plus symbol and rotating it 45 degrees for the treasure I will also add a shadow effect by activating the real-time effects an activating drop shadow with a suitable offset and transparency the point layer style it is also saved as default style in the Geo package source database from the layer properties dialog so now is a good time to save your project hit ctrl s or use the Save button you might want to create a nice layout for your map as well you could just export the map canvas or the map area that is shown in the main window to an image file just look in the project menu under import/export but it would be nice to add a title maybe a scale and some symbol explanations to do this you can use a built-in application for layouts you create new or manage existing print layouts from the project menu you don't have to give the layout the name but sometimes it helps the layout tool has its own window menu tools and panels the main area are your work area where you add your layouts and work with items in these the virtual paper can be changed by right-clicking on it and selecting properties if your layout should have multiple unique pages you can add any number of additional pages from the layout menu to start with we need to add a map item use the add map tool click drag a rectangular area for your new map item you can resize and move this item any way you'd like but if you want to pan the map itself you need to change to the pan content tool and don't forget to change back when you are done if you'd like to change the scale you can do that in the map item properties panel just select the map and the panel should be activated in the item properties for the map you can change and set a lot of properties for now it's probably enough to add a simple frame to create a title you add a label item much the same way as the map item use the tool and click drag a rectangle you edit the text and text properties in the item properties panel to explain the symbols in the map a symbol description or a legend can be added as a default every layer symbol is added to the legend but by D selecting the auto-update option you can remove items and edit texts as you please for my legend I will not use a frame and I will remove the background as well in order to add some sense of the size I'll also add a scale bar and style that appropriately to tie it all up I add a small text explanation that could include a source reference if you for instance use OpenStreetMap in your product since my map only have my own data in it I can decide a license for it regardless in this case it is Creative Commons 0 which basically means it is completely free to use by anyone I also include a reference to qgs because why not the layout can be exported to image files or PDFs but also printed the paper if you would like that this was a short introduction to mapping with qgs as I'm sure you have noticed there's a lot more in the software that I haven't covered in this video on internet there's a lot of sources with blogs articles training materials support forums and yes more videos some are more specialized on a specific topic others are more general when you run into problems try a simple search on internet for the problem and you will most likely find a solution or a suggestion you can also post a question to something you can't find the answer to on a support forum like Stack Exchange you could also see if your country has a national qgs user group they may have additional support channels for problems of a more national character I will now suggest that you repeat everything you have learned in this video on your own a few times the more treasure islands the better if you don't remember how something was done just re-watch the video also remember to check the pages on q GS org for documentation as well as ways for you to take a more active part in this growing community and finally happy mapping with qgs [Music] [Applause] [Music] [Applause] [Music] you
Info
Channel: Klas Karlsson
Views: 523,861
Rating: 4.9373612 out of 5
Keywords: QGIS, Beginners, Guide, GIS, GeoPackage, OpenSource
Id: kCnNWyl9qSE
Channel Id: undefined
Length: 32min 59sec (1979 seconds)
Published: Sun Mar 31 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.