Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

(https://www.3ds.

com/) (https://w

The GEOVIA Blog


(https://blogs.3ds.com/geovia)
Discover, Model and Harness our Natural and Urban
Environments

Learn how to display Surpac Data in


Google Earth
March 8, 2019
By Ash Colton (https://blogs.3ds.com/geovia/author/ashcolton/)

Sometimes there is a need for displaying Surpac data (.str) in Google Earth and vice versa. To support
this, I took the opportunity to develop a dedicated macro, which is downloadable here
(https://blogs.3ds.com/geovia/wp-content/uploads/sites/21/2019/03/B-Link-blog-to-zip-file-Macros-
for-surpac_to_google_earth.zip).

The Macro is simple to use but currently only works for zones 31 to 60. If you are working in MGA you
can convert back and forth using the MGA option.

The options panel allows you to create slightly different effects in google earth depending on what you
are trying to achieve.
(https://blogs.3ds.com/geovia/wp-content/uploads/sites/21/2019/03/1-Displaying-Surpac-Data-in-
Google-Earth.png)

The image below shows a string file converted to kml using orange lines and flatten z values checked.

(https://blogs.3ds.com/geovia/wp-content/uploads/sites/21/2019/03/2-Displaying-Surpac-Data-in-
Google-Earth.png)
Below shows a string file using the option to not flatten z values

(https://blogs.3ds.com/geovia/wp-content/uploads/sites/21/2019/03/3-Displaying-Surpac-Data-in-
Google-Earth.png)

The second macro allows you to digitise any area on google earth and then save it as a .kml file. You can
then take the .kml file and turn it into a string file for use in Surpac.

The first step is to digitise an area on Google Earth. I use the ruler function for this and then save it.
(https://blogs.3ds.com/geovia/wp-content/uploads/sites/21/2019/03/4-Displaying-Surpac-Data-in-
Google-Earth.png)

Find the saved file in the Google Earth panel and right click on it.  Choose “Save Place As”

(https://blogs.3ds.com/geovia/wp-

content/uploads/sites/21/2019/03/5-Displaying-Surpac-Data-in-Google-Earth.png)
Ensure the “Save as type” is set to kml and not kmz

(https://blogs.3ds.com/geovia/wp-content/uploads/sites/21/2019/03/6-Displaying-Surpac-Data-in-
Google-Earth.png)

In Surpac, find the .kml file and run the second macro, kml to str.

(https://blogs.3ds.com/geovia/wp-

content/uploads/sites/21/2019/03/7-Displaying-Surpac-Data-in-Google-Earth.png)

This will create a string file in the Surpac navigator which has the same name as the kml file. In this
example it is road.str
(https://blogs.3ds.com/geovia/wp-

content/uploads/sites/21/2019/03/8-Displaying-Surpac-Data-in-Google-Earth.png)

You can extend this functionality by digitising boundaries in Google Earth and taking screen shots
using the boundary as a reference.

The boundary can then be used in Surpac for draping images over dtm’s giving you the effect below.

(https://blogs.3ds.com/geovia/wp-content/uploads/sites/21/2019/03/9-Displaying-Surpac-Data-in-
Google-Earth.png)
Please note: Before running the macros ensure your string files are in text format and not binary!  From
Surpac 6.9 onwards everything is saved in binary by default. (This can be changed using plugin
preferences in the customise tab)

0 Comments Dassault Systèmes GEOVIA 


1 Login

 Recommend 6 t Tweet f Share Sort by Best

Start the discussion…

LOG IN WITH OR SIGN UP WITH DISQUS ?

Name

✉ Subscribe d Add Disqus to your siteAdd DisqusAdd


Disqus' Privacy PolicyPrivacy PolicyPrivacy

Search

SUBSCRIBE….

Stay up-to-date with mining news, product tips & tricks and more delivered to your email inbox!

First name *

Email address *

Terms *
I acknowledge I have read and I hereby accept the PRIVACY POLICY
(HTTPS://WWW.3DS.COM/PRIVACY-POLICY/) under which my Personal Data will be used by Dassault
Systèmes.

Subscribe

QUICK LINKS
GEOVIA Home (https://www.3ds.com/products-services/geovia)

GEOVIA Webinars (https://blogs.3ds.com/geovia/webinars/)

GEOVIA Events Calendar (https://blogs.3ds.com/geovia/events/)

Submit your Tips & Tricks! (https://blogs.3ds.com/geovia/submit-tip-trick/)

RECENT POSTS
CHECKING LINEAR CLEARANCE AROUND EXISTING AND PLANNED DRILLHOLES IN SURPAC (/GEOVIA/CHECKING-
LINEAR-CLEARANCE-AROUND-EXISTING-AND-PLANNED-DRILLHOLES-TO-HELP-ENSURE-WORKER-SAFETY/)
SURPAC WEBINAR AUTOMATIZACIÓN DE DISEÑO ROBUSTO DE CASERONES (/GEOVIA/SURPAC-WEBINAR-
AUTOMATIZACION-DE-DISENO-ROBUSTO-DE-CASERONES/)
NAVIGATING COMMUNICATION & COLLABORATION ON THE 3DEXPERIENCE PLATFORM (/GEOVIA/NAVIGATING-
COMMUNICATION-AND-COLLABORATION-ON-THE-3DEXPERIENCE-PLATFORM/)
DISCOVER THE RECENT UPDATES IN SURPAC AND MINESCHED (/GEOVIA/DISCOVER-THE-RECENT-UPDATES-IN-
SURPAC-AND-MINESCHED/)
TAP INTO THE KNOWLEDGE BASE FOR PCBC BLOCK CAVING (/GEOVIA/TAP-INTO-THE-KNOWLEDGE-BASE-FOR-PCBC-
BLOCK-CAVING/)

CATEGORIES
3DEXPERIENCE PLATFORM (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-TIPS-AND-
TRICKS/3DEXPERIENCE-PLATFORM/)
EVENTS (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/EVENTS/)
GEMS (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-TIPS-AND-TRICKS/GEMS/)
INDUSTRY NEWS (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/INDUSTRY-NEWS/)
INDUSTRY SOLUTIONS (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/INDUSTRY-SOLUTIONS/)
INNOVATION (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/INNOVATION/)
INSITE (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-TIPS-AND-TRICKS/INSITE/)
MINESCHED (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-TIPS-AND-TRICKS/MINESCHED/)
MINEX (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-TIPS-AND-TRICKS/MINEX/)
PCBC (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-TIPS-AND-TRICKS/PCBC/)
PRODUCT NEWS (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-NEWS/)
PRODUCT TIPS AND TRICKS (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-TIPS-AND-TRICKS/)
SURPAC (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-TIPS-AND-TRICKS/SURPAC/)
TALES FROM THE ROAD (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/TALES-FROM-THE-ROAD/)
USER SPOTLIGHTS (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/USER-SPOTLIGHTS/)
WHITTLE (HTTPS://BLOGS.3DS.COM/GEOVIA/CATEGORY/PRODUCT-TIPS-AND-TRICKS/WHITTLE/)

ARCHIVES
Archives Select Month

LEGAL INFO (HTTPS://WWW.3DS.COM/LEGAL-INFORMATION/) | TERMS OF USE (HTTPS://WWW.3DS.COM/TERMS-OF-USE/) | PRIVACY POLICY


(HTTPS://WWW.3DS.COM/PRIVACY-POLICY/) | PIRACY (HTTPS://WWW.3DS.COM/PIRACY/)
© 2002-2019 DASSAULT SYSTÈMES - ALL RIGHTS RESERVED

You might also like