Geodata Import in QGIS#
đź”™Back to Homepage
Vector data Import#
Tip
When importing a shapefile by drag-and-drop you have to use the file with the ending .shp!
Open vector layer#
Open vector data via Layer Tab#
Click on
Layer->Add Layer->Add Vector Layer.Click on the three points
and navigate to your vector file.Select the file and click
OpenBack in QGIS click
Add
Open vector data via drag-and-drop#
In your file browser, open the folder with the vector data you want to import.
Drag-and-drop it onto the QGIS map canvas.
Raster data Import#
Open raster data via Layer Tab#
Click on
Layer->Add Layer->Add Raster Layer.Click on the three points
and navigate to your raster file.Select the file and click
OpenBack in QGIS click
Add
Open raster data via drag-and-drop#
In your file browser, open the folder with the raster data you want to import.
Drag-and-drop it onto the QGIS map canvas.
Open NetCDF raster files#
Layer->Add Layer->Add Raster Layer-> Select your file -> clickaddA window will open and you have to select the exact dataset you want to use. -> Click
add LayersClick on the ? in the Layers window. The window
Coordination Reference System Selectwill open. -> Select the correct reference system-> ClickOK
Text data import#
Tip
To directly load .csv or EXCEL data into QGIS, the datasets need to have columns containing geometry in the form of latitude (Y-field) and longitude (X-field).
Open .csv data in QGIS#
Note
When loading vector data in text format like .csv or .txt in QGIS, this data has to have latitude and longitude columns.
X field=“LONGITUDE”Y field= “LATITUDE”
Layer->Add Layer->Open Delimited Text Layer.Click on
File nameclick on the three points
and navigate to your csv. file and click Open.In the window “Data Source manager| Delimited Text” in QGIS you can find multiple drop-down menus
File Format: Here you can specify which delimiter is used in the file you want to import. In a standard.csvfile commas,is used. If this is not the case, selectCustom delimiters. Here you can choose the exact delimiter used in your file.
Tip
To find out which delimiter is used you can open your .csv file in Notepad or Excel. There you can check which delimiter is used to separate the information.
Record and Fields Options: Under this drop-down menu, you can instruct QGIS to detect the data type of the different columns of the field and to detect column headers. Usually, you do not have to make any adjustments here.Geometry definition: In this section, you specify which columns of the file contain the spatial information to geo-referenced the data on the map. If the file has a column containing latitude and another with longitude data, you can use them to georeferenced the data. CheckPoint Coordinates. Select forX field“LONGITUDE” and forY field“LATITUDE”. UnderGeometry CRSselect the coordinate reference system (CRS). By default, QGIS will select the CRS of the project. If the file does not have spatial information choose the optionNo geometry (attribute only table).
Click
Add
Open .xlsx files in QGIS#
Drag and drop the .xlsx file in QGIS.
If the file contains multiple tables, select the table you want to work with. Click
add Layersclick on the
Processingtab ->Toolbox-> search for the toolCreate points layer from tableSelect you table as
Input LayerSelect the longitude column for
X fieldand the latitude column forY fieldClick
Run
Tip
Another option is always to transform the .xlsx file into a .csv, which is easier to open in QGIS.