QGIS Data Import: Loading Shapefiles, CSVs, Rasters, and GPS Layers

QGIS Data Import Guide for All File Types

Geographic Information System, GIS, rely on special data to build maps, analyze patterns, and support decision-making. QGIS, one of the most versatile open-source GIS platforms, allows you to add, view, and manage many different types of special datasets, whether you are a beginner or an advanced user, understanding how to import data correctly is the first and most important step in QGIS workflow.

In this guide, you will learn how to add various special data formats in QGIS, including shapefiles, CSVs, rasters, GPS data, and more. Each section explains the format, what it contains, and how to add it into your QGIS project.

Adding Shapefile (.shp)

Shapefiles are the most widely used vector format in GIS, capable of storing points, lines, and polygons. Even though it is called a shapefile, the dataset is made up of multiple supporting files that must remain together. It is reliable, lightweight, and supported across all GIS platforms

Shapefile are one of the most common vector data formats used in GIS. They can represent points, lines, and polygons, such as cities, roads, or administrative boundaries.

What is inside a Shapefile?

A Shapefile is not a single file. It contains multiple files with the same name but different extensions.

The main ones are

.shp: stores.geometry

.dbofstores:  attribute table

.shx : index file

 .prj projection: information

All these files must be kept together in the same folder to add a Shapefile in QGIS.

How to add a shapefile in QGIS

 1. Open QGIS

2. Go to Layerè  Add Layerè  Add Vector Layerè Browse to your .shp fileè click Add.

After following this path you will get the below dialogue box.

Click on navigated option.

Just select  the file of (.shp) extension. Click on Open.

You should now see the shapefile displayed on the map canvas. You can open its attribute table, change its style, or run special analysis tools.

After loading the shapefile, the layer appears on the QGIS map canvas with its full geometry and attributes. You can now view the attribute table applying styling or use it for further special analysis.

2.Adding CSV Data.

CSV file allows simple tabular data to be converted into spatial layers when attribute, latitude, and longitude columns are included. They are ideal for location-based datasets such as survey points, customer locations, or monitoring stations once imported QGIS converts the rows into point features.

How to add a csv with coordinates?

  1. Go to layerè  add layerè add delimited text layer.

After following above path you will get below dialogue box

2. Click on navigated option and Browse and select your csv file.

3. Choose the correct delimiter, usually comma.

4. Select the columns that represent x longitude and y latitude.

5. Set the geometry to point coordinates.

6. Choose the correct coordinate reference system, commonly EPSG: 4326-WGS84.

7. After clicking Add QGIS will convert your table into point layer.

8. You can then symbolize, label, or export it as a shapefile.

The CSV file has been successfully converted into point features on the map. Each row from the table is now displayed as a georeference point that can be style labelled or exported as a shapefile.

Add Raster Data.

Raster data is pixel-based and commonly used for satellite-imaginary evaluation models, land cover maps, and heat maps. Each pixel carries a value such as evaluation intensity or classification. QGIS reads most raster formats including GeoTIFF, IMG, and grid files.

How to add a Raster data with coordinates?

  1. Go to layerè  add layerè add ratser layer.

After following above path you will get below dialogue box

Click the navigated option and brows the required file format you have.

1.ASCII

ASCII Grid(.asc) is a text-based raster format that stores evaluation or surface values in a simple grid structure. It is commonly used for digital elevation models, DEMS, hydrology studies, and environmental modeling. QGIS reads ASCII rasters directly and converts them into a visual raster layer.

Path to add the data:

Layer è Add Raster Layer èBrows the file (.asc extension)

QGIS Data Import Guide for All File Types

Just select the (.asc extension file) and  click on open.

You will get require output.

The ASCII raster has been successfully loaded displaying and its grid-based iteration values on the map. You can now apply color maps, generate hillshades, or use it for further terrain and surface analysis.

2.TIFF

GeoTIFF is the most commonly used raster format in GIS because it models embeds both the image data and its facial reference within a single file. It is widely used for the satellite imaginary digital elevations models and use maps and remote sensing analysis. QGIS fully supports GeoTIFF as allowing easy visualizations and raster processing.

Path to add the data:

Layerè Add Raster Layer èBrows the file (.tif extension)

Just select the (.tif extension file) and  click on open.

You will get require output.

GeoTIFF layer has been successfully added and is now clearly displayed on the QGIS map canvas. You can enhance it with color ramps, adjust brightness, contrast to perform advanced raster operations as needed.

3.JPG Format

JPG rasters are commonly used for satellite imagery or scanned maps. When accompanied by a world file (.jgw), QGIS can correctly place the image in its geographic location. These images are lightweight and useful for quick visualization or as a background layer.

Path to add the data:

Layerè Add Raster Layer èBrows the file (.jpg extension)

You will get  following dialogue box

Just select the (.jpg extension file) and  click on open.

You will get require output.

The JPG raster image has been successfully added to QGIS and is now displayed on the map canvas. With its associated world file, the imagery aligns correctly with the coordinate system of the project.

Add GPS Data

1.GPX

GPX files store GPS-collected data such as waypoints, tracks, and routes. They are widely used in field service tracking routes and mobile-based GIS applications. QGIS can read GPX files directly and convert them into editable vector layers.

Path to add the data:

Layerè Add Vector Layer èBrows the file (.gpx extension)

Just select the (.gpx extension file) and  click on open.

You will get require output.

The GPX file has been added and its waypoints or tracks appear as vector features. These can now be edited, styled, or exported into other special formats like shapefiles.

Adding GeoJSON and JSON Files

GeoJSON is a lightweight web-friendly format commonly used for the open data portals and online maps. It stores geometry and attributes in a simple texture structure, making it easy to share and visualize. QGIS supports GeoJSON natively without any convergence.

Path to add the data:

Layerè Add Vector Layer èBrows the file (.geojson extension)

Just select the (.geojson extension file) and  click on open.

You will get require output.

The GeoJSON data loads instantly and appears with its original structure and attributes. It can now be analyzed, reprojected, or exported into any other vector format supported by QGIS.

Adding KML/KMZ Files

KML and KMZ formats are mainly used in Google Earth or sharing location-based information. They support points, lines, polygons, and labels. QGIS assembly reads both formats, including KMZ files, which are automatically decompressed.

Path to be follow:

Layerè Add Layerè Add Vector Data è Brows (.geojson extension)

Then you will see following dialogue box:

Just select the KML file and click on Open.

You will get the required output.

The KML file has been successfully added to the QGIS and its branch features are now visible on the map canvas. This allows the imported locations to be viewed, styled, and analyzed just like any other special layer.

Conclusion

Adding special data is the first and the most essential skill in QGIS. Whether you are working with shapefiles, CSV, datasets, registers, GPS files, or online layers, QGIS provides simple and powerful tools to bring your geographic data into the single workspace. Once your data is added, you can start visualizations, analysis, and mapmaking capabilities for beginners and professionals like mastering data import ensures a smooth and efficient GIS workflow, making QGIS one of the most accessible and reliable tools in the geospatial world.

For an in-depth understanding, please refer to our book, “Academic Research Fundamentals: Research Writing and Data Analysis”. It is available as an eBook here, or you may purchase the hardcopy here .