Mars and other planetary

272 views
Skip to first unread message

Steven

unread,
Jul 6, 2014, 7:15:10 PM7/6/14
to cesiu...@googlegroups.com
Hello all,

Does Cesium support Mars or other planetary imagery currently? or does Cesium team have plans to make Cesium support Mars and other planetary in the future? 
I am interested in how to use Cesium to display some Mars data. 
Thanks,

Steven

Christian Ledermann

unread,
Jul 7, 2014, 4:46:36 AM7/7/14
to cesiu...@googlegroups.com
AFAIK, you only need the data to be projected in an 'earth coordinate
system', nasa, jpl suplies mars imagery in 4326. I would try this
approach first
> --
> 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/d/optout.



--
Best Regards,

Christian Ledermann

London - UK
Mobile : +44 7899488511

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

Patrick Cozzi

unread,
Jul 7, 2014, 8:40:09 AM7/7/14
to cesiu...@googlegroups.com
Check out this: http://devtopics.de/2013/06/20/putting-cesium-on-mars-part-1/

Cesium uses Ellipsoid.WGS84 by default to define the shape of the globe.  For a Mars app, you should change this to use the ellipsoid definition for Mars.  There's not a trivial way to do this right now, but you could just change the numbers used by WGS84.

Patrick


On Monday, July 7, 2014 3:46:36 AM UTC-5, Christian Ledermann wrote:
AFAIK, you only need the data to be projected in an 'earth coordinate
system', nasa, jpl suplies mars imagery in 4326. I would try this
approach first

On Mon, Jul 7, 2014 at 12:15 AM, Steven <steven_...@hotmail.com> wrote:
> Hello all,
>
> Does Cesium support Mars or other planetary imagery currently? or does
> Cesium team have plans to make Cesium support Mars and other planetary in
> the future?
> I am interested in how to use Cesium to display some Mars data.
> Thanks,
>
> Steven
>
> --
> 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

Steven

unread,
Jul 7, 2014, 3:43:23 PM7/7/14
to cesiu...@googlegroups.com
Hi Christian,

I cannot project data on an Earth coordinate system, because the top priority of my app is accuracy.
My app is to test and verify some data products.
Thanks for the reply.

Steven

在 2014年7月7日星期一UTC-7上午1时46分36秒,Christian Ledermann写道:

Steven

unread,
Jul 7, 2014, 3:46:08 PM7/7/14
to cesiu...@googlegroups.com
Hi Patrick,

Thanks, awesome blog.

Steven

在 2014年7月7日星期一UTC-7上午5时40分09秒,Patrick Cozzi写道:
Check out this: http://devtopics.de/2013/06/20/putting-cesium-on-mars-part-1/

Cesium uses Ellipsoid.WGS84 by default to define the shape of the globe.  For a Mars app, you should change this to use the ellipsoid definition for Mars.  There's not a trivial way to do this right now, but you could just change the numbers used by WGS84.

Patrick


On Monday, July 7, 2014 3:46:36 AM UTC-5, Christian Ledermann wrote:
AFAIK, you only need the data to be projected in an 'earth coordinate
system', nasa, jpl suplies mars imagery in 4326. I would try this
approach first

On Mon, Jul 7, 2014 at 12:15 AM, Steven <steven_...@hotmail.com> wrote:
> Hello all,
>
> Does Cesium support Mars or other planetary imagery currently? or does
> Cesium team have plans to make Cesium support Mars and other planetary in
> the future?
> I am interested in how to use Cesium to display some Mars data.
> Thanks,
>
> Steven
>
> --
> 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

Scott Hunter

unread,
Jul 7, 2014, 4:13:47 PM7/7/14
to cesiu...@googlegroups.com
To change the ellipsoid used by the globe to use the Mars ellipsoid, you'll need to create a new Globe object and pass in an ellipsoid with the appropriate x/y/z values.  For example:

var viewer = new Cesium.Viewer(...);
viewer.scene.globe = new Cesium.Globe(new Cesium.Ellipsoid(...));

You'll then need to configure imageryLayers on the new Globe object to add the appropriate Mars imagery.

There are likely to be other Earth-specific assumptions in the code.  For example, you'll want to remove Earth's moon.

viewer.scene.moon.destroy();
viewer.scene.moon = undefined;


Matthew Amato

unread,
Jul 7, 2014, 4:21:11 PM7/7/14
to cesiu...@googlegroups.com
Is there a reason we don't have an option to CesiumWidget and Viewer to specify a different Globe to use?  Seems like it would be a easy change to make since the CesiumWidget constructor is simply creating the WGS84 Globe instance itself anyway.

Chris Shenton

unread,
Aug 20, 2014, 1:57:08 PM8/20/14
to cesiu...@googlegroups.com
I'd love to be able to use new planets/moons to display NASA science data. If there were a relatively easy way to define new bodies with body-specific geometry, that would make a big impression with our community. I expect, once such a feature were available, the community could create definitions for planets in our solar system, the sun, and then the moons.


Reply all
Reply to author
Forward
0 new messages