Follow

Importing Contours from Surfer into Google Earth

Working in Google EarthTM is becoming an increasingly popular method for sharing and displaying maps among colleagues and between consultants and clients. It is a simple and easy way to import maps and display information over an aerial image, and best of all, Google Earth is used ubiquitously. For these reasons, Golden Software has added the ability to export from Surfer 10 and up to KML and KMZ formats, so users can export their maps and open them directly in Google Earth.

This article will create a colored contour map, export it to a KML file and open it in Google Earth to see the results.

    1. Open Surfer.
    2. Create the map. For example, click Home | New Map| Contour, select Conifer.grd from the Sample files, and click Open. The contour map is created.
    3. If available, the coordinate system information is automatically entered for the Contours layer. In this case, the map is in UTM coordinates.
    4. KML files require that the coordinates of the map be in Lat/Long units, and Surfer will automatically convert the coordinates of the map to lat/long upon export. However, this does require that a coordinate system for the map is specified. To check this, click Map in the Contents window, and in the Properties window click the Coordinate System tab.
    5. If there is a coordinate system specified, then you can skip to the next step. If not, click the Change button, select the coordinate system for the map and click OK. 
    6. Add any color and customizations to the map. For example, select Contours in the Contents window.
      1. In the Properties window, on the General page, check the Fill contours check box.
      2. Click the Levels tab and change the Level method to Advanced.
      3. Click the Edit Levels button.
      4. In the Levels for Map dialog, click the Line column header.
        1. In the Line dialog, select Gradational in the Properties section.
        2. Click the Color button, and in the Colormap dialog select the Rainbow preset.
        3. Click OK and OK.
      5. In the Levels for Map dialog, click the Fill column header.
        1. In the Fill dialog, click the Foreground Color button.
        2. In the Colormap dialog, select the Rainbow preset and move the Opacity slider to 50%.
        3. Click OK and OK.
      6. In the Levels for Map dialog, click the Label column header.
      7. Change the Set value to 0 and click OK.
      8. Click OK in the Levels for Map dialog.
    7. In the Contents window, uncheck the check boxes next to Right Axis, Left Axis, Top Axis and Bottom Axis

KML_contourmap.png
Create your map with a specified coordinate system, color and transparency, ready for export to Google Earth.

  1. Click File | Export.
  2. Give the file a name, choose to save it in Google Earth KML format, and click Save.
  3. Click OK in the Export Options dialog and the KML file is created.
  4. Open Google Earth.
  5. In Google Earth, click File | Open, select the KML file and click Open. The contour map is loaded and displayed over the aerial photo. The color and transparency properties are transferred.

KML_GE.png
Open the KML file in Google Earth and the map is automatically placed in the correct location over the aerial image.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.