---
title: Import Google Earth Imagery into Hec Ras
description: "# Motivation This article is written for those who want to integrate Google Earth imagery and terrain data into your HEC-RAS projects, providing a comprehensive visual background for your hydraulic models. # **Preparing Your Geographic Data** Begin by precisely defining…"
url: "https://civilwhiz.com/docs/import-google-earth-imagery-into-hec-ras/"
updated: "2025-06-09"
category: Operation
---

# Import Google Earth Imagery into Hec Ras

# Motivation

This article is written for those who want to integrate Google Earth imagery and terrain data into your HEC-RAS projects, providing a comprehensive visual background for your hydraulic models.

# **Preparing Your Geographic Data**

Begin by precisely defining your area of interest within **Google Earth Web or Pro**. Delineate the project boundary using its polygon or path tools, then **export this area as a KML or KMZ file**. This KML file contains the geographic coordinates of your defined boundary; it serves more like “tracing“ in your project and identify important place marks for you to place your links or junctions.

![Point and Polygon](/wp-content/uploads/2025/06/google-earth-project.png)

Next, convert this KML file into a **Shapefile**, a format compatible with HEC-RAS. You can use online or offline tools. Online tools include [https://products.aspose.app/gis/conversion/kml-to-shp](https://products.aspose.app/gis/conversion/kml-to-shp) or [https://kmz2shp.com/](https://kmz2shp.com/). Upload your KML file, initiate the conversion, and then download the resulting Shapefile. Remember that a Shapefile comprises multiple associated files (e.g., .shp, .shx, .dbf, .prj), often provided together in a .zip archive; ensure all components are downloaded. For our purpose, it’s the `Point` and the `Polygon` shape files that really matter.

![Google earth project](/wp-content/uploads/2025/06/tracing-layer-import.png)

# **Setting Up HEC-RAS Mapper**

With your geographic data prepared, open HEC-RAS and launch **RAS Mapper**. The first critical step here is to **set the projection** for your project. Accurate projection is paramount for data alignment; comprehensive guidance on this can be found at [here](https://civilwhiz.com/docs/how-to-get-projection-file-for-hec-ras/).

## ALOS PALSAR dataset

Simultaneously, acquire the necessary **terrain data** for your site. Navigate to [https://search.asf.alaska.edu/#/](https://search.asf.alaska.edu/#/), specify the date and select the **“ALOS PALSAR” dataset**. Locate your project site on the interactive map and download the pertinent dataset(s), which will arrive as a .zip file containing a Digital Elevation Model (DEM) with a *.dem.tif extension.

![Alos Palsar](/wp-content/uploads/2025/06/alos-palsar.png)

## Import RAS Terrain

Once downloaded, return to RAS Mapper, select **Terrain -> Create a new RAS terrain**, and **import the *.dem.tif file** as your new terrain layer.

![import DEM TIF](/wp-content/uploads/2025/06/importdemtif.png)

## Google Hybrid web imagery

To integrate the visual background, go to **Map Layers->Add Web Imagery** within RAS Mapper and choose **Google Hybrid**. This adds a dynamic satellite and map overlay.

![With Google Hybrid](/wp-content/uploads/2025/06/with-google-hybrid.png)

## Add `Point` and `Polygon` Shape overlay

Finally, bring in your delineated boundary by navigating to **Features -> Add Existing Layer**, and **select the .shp file** you converted earlier, the `Point` and `Polygon` Layer in this case.

![Google earth project](/wp-content/uploads/2025/06/tracing-layer-import.png)

# **Verifying Alignment**

A crucial final step is a **sanity check**. Toggle the visibility of the Google Hybrid layer on and off within RAS Mapper. You should be able to verify that your imported terrain aligns perfectly with both the Google Hybrid Map Layers and your converted Shapefile boundary, as shown in the below two images.

![With Google Hybrid](/wp-content/uploads/2025/06/with-google-hybrid.png)

![Sans Google Hybrid](/wp-content/uploads/2025/06/sans-google-hybrid.png)

  [![](https://civilwhiz.com/wp-content/uploads/2025/02/someoneme.jpg)](https://civilwhiz.com/author/civilwhiz/)[Ngu Soon Hui](https://civilwhiz.com/author/civilwhiz/)

My passion is in [sharing knowledge](/about/) — Civil 3D or otherwise– with the world.

I’m also the [benevolent dictator for life](https://mes100.com/about-ngu-soon-hui/) at MES Innovation Sdn Bhd.
