Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Earth within custom C++ Linux application

I am exploring using Google Earth within a C++ application I am writing for Linux. This application would be operating at a very high resolution (approx. 6000 x 3000 pixels). I am confident about the graphics performance of Google Earth in the high resolution and the Linux environment. My question is: What is the best way to integrate Google Earth into my Linux C++ application? I have read about the Google Earth COM API (and that it's outdated now). What would be the preferred method to integrate Google Earth into my application?

Specifics for integration: I am hoping to have the Google Earth in the "background" covering the entire 6000 x 3000 resolution with a small "control box" overlay that will interact with the earth.

Thanks for your responses!

kf

like image 487
flynn Avatar asked Nov 01 '12 02:11

flynn


People also ask

Which programming was used in Google Earth?

The Google Earth Engine uses the programming language JavaScript. Similarly to other programming languages, there is support online - you can google JavaScript and Earth Engine tutorials.

Does Google Earth give liveview?

You can use Google Earth, the platform that enables you to view any place on Earth -- including terrain and buildings, galaxies in outer space and canyons of the ocean -- to view live images. To be able to view Google Earth live you need to install their client software.

Is Google Earth an application software?

Google Earth is arguably the most well-known and widely used geographic information system (GIS) software available. It enables individuals to create, store, view, and interact with data as it relates to location.


1 Answers

As far as I can tell there are only two APIs to access Google Earth content - the Javascript API, and the Windows based C# API (which seem to just be wrapper classes that call the Javascript API.) I don't know but I believe the Google Maps API to also be in Javascript.

Given that you are in Linux and using C++ my suggestion would be to embed a browser in your app and create C++ wrappers to make the Javascript calls that you need (like the Windows C# API.)

If you start an open source project other people may be willing to help you create C++ wrappers.

like image 178
CramerTV Avatar answered Sep 28 '22 00:09

CramerTV