Google Earth as Imagery provider?

811 views
Skip to first unread message

dav3...@gmail.com

unread,
Feb 6, 2013, 5:58:19 PM2/6/13
to cesiu...@googlegroups.com
Is it possible to use Google Earth's public server (or GoogleEarth enterprise server) as an imagery provider for cesium?

GEE will not work as a WMS server. Has anybody tried to hook up the layers?

I have a GoogleEarth Enterprise server and would like to run it with Cesium for linux on a standalone network.

Thanks,
-Dave

Kevin Ring

unread,
Feb 6, 2013, 6:05:46 PM2/6/13
to cesiu...@googlegroups.com, dav3...@gmail.com
Hi Dave,

I think this should be pretty easy to do, but I don't have access to a Google Earth Enterprise server.  I'd be happy to help you along the way if you decide to tackle it, though.  I honestly think it can be done in less than 100 lines of code, and maybe less than a dozen if you don't count some boilerplate copied from another imagery provider.

Do you know offhand if the enterprise server license agreement allows third party apps to access the imagery?  I suspect the challenges in this are legal, not technical.

Kevin

Kevin Ring

unread,
Feb 6, 2013, 6:06:56 PM2/6/13
to cesiu...@googlegroups.com, dav3...@gmail.com
I should have mentioned, I know the public server's terms of use forbid access by third party apps.  That's why I'm hesitant to develop an imagery provider against that.

David Hite

unread,
Feb 6, 2013, 6:24:22 PM2/6/13
to cesiu...@googlegroups.com
Thanks Kevin!
As far as I can tell there isn't any "legal" prohibition for me. http://www.google.com/enterprise/earth/terms_v4.html

Please point me to the imagery provider code/examples! Thanks again,
-Dave

--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Kevin Ring

unread,
Feb 6, 2013, 7:27:52 PM2/6/13
to cesiu...@googlegroups.com, dav3...@gmail.com
Great!  Implementing an imagery provider is a relatively simple matter of implementing the ImageryProvider interface:

A good example to start with is the TileMapServiceImageryProvider:

I think Google Earth may use a similar tile layout to this one, in which case it will be very easy.  If not, we can talk about the next steps.

By the way, you should check out the Contributor's Guide if you haven't already:

If you get this working, we'd love to incorporate it into Cesium, but we'll need you to sign the Contributor's License Agreement.  There's one for individuals and one for corporations:
http://www.agi.com/licenses/individual-cla-agi-v1.0.txt

It essentially just says that you own your contributions and that we're allowed to use them.  If you're doing this on company time, it may be worth getting started on the process now because it may take a little while for your legal folks to sign off on it.

Thanks!

Kevin

carl.fi...@gmail.com

unread,
Jun 17, 2013, 11:49:58 AM6/17/13
to cesiu...@googlegroups.com, dav3...@gmail.com
Did you have any luck getting this to work? I'd like to connect to a Google Earth Enterprise server and I'd rather not reinvent the wheel.

Thanks,
Carl

Caleb Morse

unread,
Jun 18, 2013, 4:20:51 PM6/18/13
to cesiu...@googlegroups.com, dav3...@gmail.com, carl.fi...@gmail.com
Hi Carl, I did manage to get it working. I want to contribute the code back, but right now I am waiting for my employer to approve it. I'm hoping to get the approval soon.

Caleb Morse

unread,
Jul 28, 2013, 2:31:44 PM7/28/13
to cesiu...@googlegroups.com, dav3...@gmail.com, carl.fi...@gmail.com
Carl, it looks like we're very close to getting approval. Sorry for how long it's taking!
Reply all
Reply to author
Forward
0 new messages