Geodata Import in QGIS#
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
Open
Back in QGIS click
Add
Open vector data via drag-and-drop#
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
Open
Back in QGIS click
Add
Open raster data via drag-and-drop#
Open NetCDF raster files#
Layer
->Add Layer
->Add Raster Layer
-> Select your file -> clickadd
A window will open and you have to select the exact dataset you want to use. -> Click
add Layers
Click on the ? in the Layers window. The window
Coordination Reference System Select
will 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, these data has to have latitude and longitude columns.
X field
=“LONGITUDE”Y field
= “LATITUDE”
Layer
->Add Layer
->Open Delimited Text Layer
.Click on
File name
click on the three points and navigate to your csv. file and clickOpen
.In the window “Data Source manager| Delimited Text” in QGIS you can find multiple drop-down menues
File Format
: Here you can specify which delimiter is used in the file you want to import. In a standard .csv file commas,
is used. If this is not the case, selectCostume 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 CRS
select 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 multible tables, select the table you want to work with. Click
add Layers
click on the
Processing
tab ->Toolbox
-> search for the toolCreat points layer from table
Select you table as
Input Layer
Select the longitude column for
X field
and the latitude column forY field
Click
Run
Tip
A other option is always to transform the .xlsx file into a .csv, which is eaysier to open in QGIS.
QGGIS Version 3.22.15