1. A concise explanation of the problem you’re experiencing.
I am in the process of learning Cesium, and going through the “Beginner” part in Sandcastle.
Looks like I can get most of them working.
But when it comes to the “GoogleEarthEnterprise” one, I can’t get it to work, it gives me the following errors in the console:
Failed to retrieve /proxy/?http%3A%2F%2Fwww.earthenterprise.org%2F3d%2FdbRoot.v5%3Foutput%3Dproto. Using defaults.
An error occurred in “GoogleEarthEnterpriseImageryProvider”: An error occurred while accessing http://www.earthenterprise.org/3d/flatfile?q2-0-q.1.
An error occurred in “GoogleEarthEnterpriseTerrainProvider”: An error occurred while accessing http://www.earthenterprise.org/3d/flatfile?q2-0-q.1.
I cannot tell if the server itself is down, or if there is something wrong somewhere…looks like this url doesn’t work in the Google Earth Client.
http://kh.google.com is what works with Google EC. But it still doesn’t work in Cesium.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
The code is what is given in Sandcastle.
var geeMetadata = new Cesium.GoogleEarthEnterpriseMetadata({
url : ‘http://www.earthenterprise.org/3d’,
proxy : new Cesium.DefaultProxy(’/proxy/’)
});
var viewer = new Cesium.Viewer(‘cesiumContainer’, {
imageryProvider : new Cesium.GoogleEarthEnterpriseImageryProvider({
metadata : geeMetadata
}),
terrainProvider : new Cesium.GoogleEarthEnterpriseTerrainProvider({
metadata : geeMetadata
}),
baseLayerPicker : false
});
Is the url http://www.earthenterprise.org/3d not valid anymore? I have tried with my own GEE server running on Ubuntu, and I get the same errors with a different URL
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I would like to connect to a or my Google Enterprise Server, using Cesium.
Is that possible? And if not, why do you have an example in Sandcastle?
4. The Cesium version you’re using, your operating system and browser.
Cesium 1.38 in Sandcastle, I have tried both on Windows 10 and Mac Sierra 10.12.6, using the latest Chrome browser.
Thank you for any help you can give me!