Whenever I try to add a layer from a csv file, I run into a weird problem. The layer is not showing up on the map and the icon that shows up next to the legend entry is different than what normally shows up- see the image attached (sublap map test vehicle 7 - 10)

Screenshot of my layer legend


This is because you are adding the CSV file as table from Add Vector Layer. You need to use Delimited Text to add CSV point data as you can see below:

enter image description here


Alternatively to the Delimited Text importer, you can wrap a vrt file around your CSV to tell QGIS where to find the geometry columns, and define the geometry type and CRS.

See How to convert CSV file in VRT and http://www.gdal.org/drv_csv.html for details on the vrt.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.