• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Google Earth Blog

The amazing things about Google Earth

  • Home
  • About
  • Basics
  • Links
  • Tips
  • 3D Models
  • Sightseeing
  • Videos

Controlling Google Earth via the Liquid Galaxy protocol

November 27, 2015

Given that the Google Earth API is coming to an end we are looking at alternative solutions. Yesterday we had a look at Google Earth’s internal browser and what its capabilities are. Today we are looking at a way of controlling Google Earth from another application.

Liquid Galaxy is the name given to a Google Earth demonstration using multiple displays to give an immersive experience. To see it in action, see the photos and videos on of various installations here. Liquid Galaxy works by allowing Google Earth on one computer to communicate with instances of Google Earth on other computers and synchronize their views so as to give the impression that there is a single instance of Google Earth running across multiple screens. To achieve this, Google Earth has a special Liquid Galaxy protocol that can be used to instruct Google Earth to show a particular location from a particular angle. It is possible to use this protocol for uses other than Liquid Galaxy installations.

Paul van Dinther of PlanetInAction has kindly released a small program that demonstrates this functionality. It is a Windows only program called GExplorer and it replicates the functionality of a JavaScript by the same name he created that works with the Google Earth plugin.

See this YouTube video to get an idea of what it does:

To try it for yourself first download the program here (Windows only).

Next, you need to configure Google Earth to accept Liquid Galaxy protocol instructions. To do this you need to edit the drivers.ini file found in the Google Earth program folder. The file is typically found in the folder
C:\Program Files (x86)\Google\Google Earth\client (for Google Earth)
or
C:\Program Files (x86)\Google\Google Earth Pro\client (for Google Earth Pro)

We found Windows Notepad does not display the file properly so you will need a more advanced editor. We used SciTE which can be obtained from here. Edit the drivers.ini file and insert the following lines at the start of the SETTINGS section.

ViewSync/send = false
ViewSync/receive = true
ViewSync/port = 21567
ViewSync/yawOffset = 0
ViewSync/pitchOffset = 0.0
ViewSync/rollOffset = 0.0
ViewSync/horizFov = 60

It should look like this:

Windows will not let you save it directly to the Google Earth program folder so save it on your desktop and then copy it to the Google Earth program folder.

Start Google Earth and GExplorer and make sure the GExplorer window is on the same monitor as Google Earth.

Initially nothing will happen because GExplorer is broadcasting to the wrong IP address. Click on the “Get my broadcast IP” button to adjust the IP address or type it in if you have different network requirements (Such as an actual Liquid Galaxy setup with multiple computers). If all is well it should say “UDP Connected” in red.

Next click “Start”.

The Google Earth view should now leap to the start latitude and longitude location. You will also notice that the view moves around as you move your mouse. You can now control Google Earth with a combination of the WASD keys and the mouse. SHIFT and CTRL can also be used to control height. Amplify any control input by holding down the spacebar with any combination of the above keys.

The view animates smoothly based on control inputs. The responsiveness can be modified with the “Inertia” dropdown. Low numbers means more responsive.

“Tilt limit” specifies the maximum angle you can look up or down. Try changing it to 90.

As you turn left or right the camera automatically rolls like an aircraft. If you don’t want this behaviour you can turn it off by ticking the “No roll” checkbox.

You can also switch between “Earth”, “Moon” or “Mars” by changing a dropdown.

Paul also suggests the great idea of creating a mobile app with the same functionality which would allow you to control Google Earth from your mobile phone. If any of our readers creates such an app please let us know about it in the comments.

About Timothy Whitehead

Timothy has been using Google Earth since 2004 when it was still called Keyhole before it was renamed Google Earth in 2005 and has been a huge fan ever since. He is a programmer working for Red Wing Aerobatx and lives in Cape Town, South Africa.

  • More Posts(754)

Filed Under: Site News Tagged With: liquid galaxy, paul van dinther, planetinaction.com

Reader Interactions






PLEASE NOTE: Google Earth Blog is no longer writing regular posts. As a result, we are not accepting new comments or questions about Google Earth. If you have a question, use the official Google Earth and Maps Forums or the Google Earth Community Forums.

Comments

  1. Kris says

    November 27, 2015 at 6:50 am

    I’d just like to thank you for your interesting GE Blog, I enjoy to follow your experiments and hints.

    And…I pray for an API that allows us to access GE-Plugin-like functionality in Maps, for my part I really really need access to historic imagery layers through a JS-API, or at least a GUI widget to let the user slide through historic imagery… 🙁

  2. Andrew (Alf) Leahy says

    November 27, 2015 at 11:29 pm

    Hi Tim, in 2011 Reese Butler a Google Summer of Code student worked on a rudimentary Earth controller for Android. See https://code.google.com/p/liquid-galaxy/wiki/GSoC2011_Android

    Reese’s project was to work up some concepts around handheld controllers that we could possibly use in Liquid Galaxy installations.

    Cheers, Andrew | Liquid Galaxy GSoC Mentor

  3. Engelbert Heim says

    January 19, 2016 at 3:35 am

    Hi everybody, thanks for the profound stories around Google Earth!

    i’m a hobby-developer for paragliding flight simulator and did this with the GE – API.
    so of course i am very interested in alternatives to the API. A look inside the source of GExplorer made two things clear for me:

    a) The interface includes all functions i will need for my device.
    b) The application is working with an Library called PIA_Globals, which ist not included.

    Do you think it is possible to get access to this code also?

    • Timothy Whitehead says

      January 19, 2016 at 3:44 am

      I suggest you get in contact with Paul Van Dinther as it is his software:
      http://www.planetinaction.com/contact.htm



PLEASE NOTE: Google Earth Blog is no longer writing regular posts. As a result, we are not accepting new comments or questions about Google Earth. If you have a question, use the official Google Earth and Maps Forums or the Google Earth Community Forums.

Primary Sidebar

RSS
Follow by Email
Facebook
Twitter




Categories

  • 3D Models (792)
  • Applications (708)
  • Business (288)
  • Environment (353)
  • Flying (208)
  • GE Plugin (282)
  • Google Earth News (1,764)
  • Google Earth Tips (592)
  • GPS (136)
  • Navigation (227)
  • Network Links (214)
  • Sailing (121)
  • Science (499)
  • Sightseeing (1,903)
  • Site News (587)
  • Sky (67)
  • Sports (154)
  • Street View (50)
  • Tours (117)
  • Video (421)
  • Weather (180)

Get new posts by email

Get new posts by email:

Google Earth Satellites

Copyright 2005-© 2023 Frank Taylor. All Rights Reserved.

This blog and its author are not an official source of information from Google that produces and owns Google Earth Google and Google Earth are trademarks of Google Inc.. All image screenshots from Google Earth are Copyright Google. All other trademarks appearing here are the trademarks of their respective owners.