How to Convert .CSV to .KML Using QGIS


This article will walk you through how to convert .CSV to .KML using QGIS

Prerequisites

  • QGIS on your computer. 

  • A .CSV file with label, latitude, longitude, and heights.
    Note that for jobs on a local grid, you need to have ellipsoid heights. If your site uses a local grid, please use The Propeller Coordinate Converter to convert your heights.

  • A site with global projections (has EPSG codes).

Instructions

1. Prepare your .CSV file with the format: Label, Latitude, Longitude, and Height. Using decimal degrees instead of degrees, minutes, and seconds for your point coordinates is recommended.


2.  Launch your QGIS. In the Menu tab, navigate to Layer > Add Layer > Add Delimited Text Layer. 


3. This will prompt the Create a Layer dialogue box. Import your .CSV file and make sure to correctly define the File Format and Geometry Definition for lat and long. Click OK. 


4. The Coordinate Reference System Selector will enable you to select the correct reference system for your data. Since our Viewer operates on WGS84 and your CSV values are in lat and long, select EPSG 4326. Click OK.  


5. If being imported, this is how the points in your CSV file would be displayed in the Viewer panel of QGIS.


6. To export it in .KML, right click the layer, select Save As. This will prompt the save vector dialogue box. Select .KML as the file format and set the CRS to WGS84.


Make sure to set the AltitudeMode as clampToGround so that it will work properly in the Viewer. 

7. Upload the KML file to the platform through the Design tab.  After uploading, ensure the KML layer has been clamped to the ground. 


 I still can't do it!

We wrote these articles to equip you with everything you need to get the job done on your own, but we understand that sometimes this isn't sufficient. If you're stuck, you can connect with our support team by clicking the support button on the top right corner of your user portal.