Menu

Acquiring & Converting DEM Data in VMG Gasmod

Overview

One of the powerful features in VMG Gasmod that expedites model creation is the ability to import topographic data and then automatically subdivide a pipe network to honor that topography. There are US and Canadian websites (usually governmental) that provide free Digital Elevation Model (DEM) data and VMG Gasmod has been developed to accept this type of file format.

There are multiple DEM file formats so conversion is sometimes required. This article provides the user the steps to acquire DEM data and, ultimately, import it into VMG Gasmod.  

If topographic data is available in your area but not in DEM format, it might still be possible to convert it into DEM format using the procedure in Section 3 below.

Acquisition of Canadian DEM Data
  1. For Canadian DEM information the data from the following website has proven useful.
  2. Go to the above website and Find a Location or using the map, select a Clipping Region of interest. Gasmod1-0001.png
  3. Click Select Data and choose Elevation Model under Elevation Data; the region of interest will be highlighted.Gasmod2-0003.png
  4. Under Select Data options choose DEM (your only option is a GeoTIFF).Gasmod3-0002.png
  5. Click Submit Request, enter your email address, click Submit and you will be emailed a link to download the data.
  6. Click the link in the email you receive and select a location to save the *.zip. Browse to that location and extract all of the files. In the *.tif folder the *.tif file exists. 
 
Acquisition of US DEM Data
  1. For the US DEM information, the 1-deg DEM Terrain Data at the following site has proven useful:  http://www.webgis.com/index.html
  2. Go to the above website and select Digital Terrain data-1-deg DEM.Gasmod4-0001.png
  3. Select the State you want DEM info for through the map or list view and then choose the county.
  4. Click on the tile(s) (*.zip file) you wish to download. Once downloaded, extract the *.DEM file to a preferred location.Gasmod5-0001.png
 
Conversion to VMG Gasmod Compatible File
  1. Open OSGeo4W QGIS Browser - 32 bit version (available at no cost from https://trac.osgeo.org/osgeo4w) and browse in the left window to the location of your extracted file. Gasmod6-0001.png
  2. Double click the file and it should be loaded as a layer into QGIS.Gasmod7-0001.png
  3. Go to the Raster - Conversion - Translate menu.Gasmod8-0001.png
  4.  The input layer should be populated with the existing layer file. On the Output File line, click Select and browse to where you want to save the converted *.DEM, give it a desired name and make sure to set Save As type to USGS Optional ASCII DEM.Gasmod9-0001.png
  5. Enure the Target SRS line is set to ESPG: 4269. Click OK and the conversion will take place.Gasmod10-0001.png
  6. Ensure that you shut down QGIS before trying to import the converted *.DEM into VMG Gasmod otherwise it may fail.
 
Import into VMG Gasmod
  1. Open the VMG Gasmod project and select File - Import Data - DEM.Gasmod11-0001.png
  2. Browse to the converted *.DEM file and select it. VMG Gasmod should import the *.DEM info and create a shape file.Gasmod12.png
  3. The above steps can be repeated to cover areas of interest that span multiple tiles. 
Gasmod13.png 
Saving DEM Info for Network Extents
  1. To reduce the size of the project and *.DEM file, the ability to create a *.DEM file for the region locally surrounding the pipeline network is available. Once the desired *.DEM info has been imported into VMG Gasmod as per the steps above and the gathering system has been drawn, go to File - Export Data - Network Extents DEM. This will export a *.DEM with boundaries just outside the limits of the pipeline network. It will be located and named in the project folder as C:\VMG\”project name”\”project name”.DEM. This file can be imported into the existing project or others.  

Gasmod14.png

Gasmod15.png 

Please contact your local VMG office for more information.

Gordon Slemko, P.Eng., VMG Calgary

To Top