1. Help Center
  2. Tips and Tricks

GIS Data Formatting Prior to Import

Data Cleaning for Multiple Asset Types Using QGIS

If the data file being used for your project has multiple asset types (points, lines, and/or polygons), use this guide to clean the file prior to importing into Unearth.

First, download QGIS. We recommend the long-term release version as it is the most reliable. Please visit QGIS's User Guide for more detailed help articles if needed. 
  1. Open QGIS and have the GIS file(s) you'd like to clean ready. Drag and drop the GIS file(s) into QGIS.Screen Shot 2022-06-23 at 2.26.02 PM
    1. You will be asked to select the files you want to import and the CRS (Coordinate Reference System) - select the first CRS option.
    2. Once the file(s) have been uploaded, make sure the CRS of the map is "WGS 84 EPSG:4326." It should look like this: Screen Shot 2022-06-23 at 2.28.25 PM
    3. If you do not see EPSG:4326, click on the coordinate globe. Then, in the next window, use the search bar and search WGS 84, then locate and select "WGS 84 EPSG:4326." Click "OK" to continue.
    4. Now your data will be ready to export in a format that will work in Unearth!
  2. When you imported the original GIS file, you will see how many separate asset types there are (i.e., sanitary lines, sanitary manholes, etc.). To correctly import these into Unearth, we need to break out each of these asset types. 
    1. Navigate to the left side of the window and locate the list of asset types under the "Layers" list.
      Screen Shot 2022-06-23 at 2.38.17 PM
    2. For point assets or single-type line assets: Click to select an asset type - it will turn blue when selected. Right click on the selected asset and select "Export." Screen Shot 2022-06-23 at 2.39.51 PM
      1. Save the file, ensuring it is being saved as a GeoJSON (Unearth's preferred filetype) and that you are saving it in an accessible location. Click on the 3 dots to open where you would like to save the file on your local device. The CRS should be EPSG:4326 - WGS 84.
        Screen Shot 2022-06-23 at 2.41.15 PM
    3. For multi-type line assets: To export the line asset type, you MAY need to divide the file into two separate files (mainline and laterals, for instance, if needed). If there is only one asset type, follow the previous section step 2. If there are two or more asset types in one layer or file, follow these steps:
      1. To create individual line files, such as a mainline or lateral only file, locate the selector tool: Screen Shot 2022-06-23 at 2.50.00 PM Click on the dropdown arrow and select "Select Feature(s)."
      2. Locate the correct line type such as mainlines and click on the asset to highlight/select it. Hold command (Mac) or control (PC) to select multiple mainlines at once. 
      3. Once all the mainlines have been selected, right-click on the asset type name (bottom left on the screen). Select "Export," then "Save Selected Features As," and follow the steps in step 2i.
      4. If there are any other line asset types you need to separate, follow the same steps in step C for each one. 

Now that your data is cleaned into the correct file type and individual assets, follow the first part of this article to import the assets into Unearth.


If you run into any issues or have any questions, please reach out to us at support@unearthlabs.com.


Revised June 2022