poliastro / cesium-app

MIT License
9 stars 5 forks source link

Earth map resource gone, globe doesn't render #4

Open kerel-fs opened 4 years ago

kerel-fs commented 4 years ago

The examples are using the following resource for the Earth map: https://upload.wikimedia.org/wikipedia/commons/c/c4/Earthmap1000x500compac.jpg

As this resource is gone, the earth will not be rendered and the following error message appears in the console:

An error occurred in "SingleTileImageryProvider": Failed to load image https://upload.wikimedia.org/wikipedia/commons/c/c4/Earthmap1000x500compac.jpg.
astrojuanlu commented 4 years ago

Thanks for opening the issue @kerel-fs, I suspect it has to do with the new Cesium release, see:

kerel-fs commented 4 years ago

Indeed, when opening the example files in Cesium Ion an Earth is shown.

So I guess there are two problems:

Sedictious commented 4 years ago

Thanka for bringing this up @kerel-fs

The cesium-app uses a texture by default in order to be able to render planetary bodies other than earth.

There are two potential fixes:

astrojuanlu commented 4 years ago

From the deletion logs:

https://commons.wikimedia.org/wiki/Commons:Deletion_requests/File:Earthmap1000x500compac.jpg

Permission link doesn't contain any permission to publish this as PD.

For this app I would vote for @Sedictious option (2): Render the default Earth and have texture maps be optional.

astrojuanlu commented 4 years ago

More sources of textures that are free to use:

kerel-fs commented 4 years ago

Another source for various moon and mars basemaps:

Sedictious commented 4 years ago

Is anyone aware of the license of NASA's image sets? I couldn't find anything but I guess we can't re-upload them and reference them from our repo...

astrojuanlu commented 4 years ago

@Sedictious this is the image use policy: https://visibleearth.nasa.gov/image-use-policy

Therefore, we should be allowed to reference or upload them in return of giving credit to NASA!