Using Cesium terrain provider with my .terrain files

1,733 views
Skip to first unread message

adam.d...@gmail.com

unread,
Sep 24, 2013, 11:22:53 AM9/24/13
to cesiu...@googlegroups.com
I have some .terrain files that I want to display on my globe but whenever I try to run my application it is still trying to get the 0.terrain/Terrain/0/1 & 0.terrain/Terrain/0/0 files. I am not sure what I am doing wrong and am slightly confused how to implement this. I have read the instructions on: https://github.com/AnalyticalGraphicsInc/cesium/wiki/Cesium-Terrain-Server

But still running into this problem.

Kevin Ring

unread,
Sep 24, 2013, 11:28:16 AM9/24/13
to cesiu...@googlegroups.com
Hey Adam,

Cesium requires that the root tiles be available.  You can't have terrain exclusively for a small area, though you can certainly only have high-res terrain for a small area if you want.  In any case, the two root tiles must exist.

Kevin


On Tue, Sep 24, 2013 at 11:22 AM, <adam.d...@gmail.com> wrote:
I have some .terrain files that I want to display on my globe but whenever I try to run my application it is still trying to get the 0.terrain/Terrain/0/1 & 0.terrain/Terrain/0/0 files. I am not sure what I am doing wrong and am slightly confused how to implement this. I have read the instructions on: https://github.com/AnalyticalGraphicsInc/cesium/wiki/Cesium-Terrain-Server

But still running into this problem.

--
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.

adam.d...@gmail.com

unread,
Sep 24, 2013, 11:30:59 AM9/24/13
to cesiu...@googlegroups.com
And do those root tiles have to be in the format of TMS?

Kevin Ring

unread,
Sep 24, 2013, 11:33:51 AM9/24/13
to cesiu...@googlegroups.com
The directory structure does have to match TMS, yes.  The format of each file must be the Cesium terrain format documented on that wiki page.  I'm not sure if I understand your question.

Kevin


On Tue, Sep 24, 2013 at 11:30 AM, <adam.d...@gmail.com> wrote:
And do those root tiles have to be in the format of TMS?

adam.d...@gmail.com

unread,
Sep 24, 2013, 11:38:13 AM9/24/13
to cesiu...@googlegroups.com
I have read that page but still a little confused. Basically I have some terrain data in SRTM.asc form. I want to use this but don't follow where I go from here.

Kevin Ring

unread,
Sep 24, 2013, 11:41:41 AM9/24/13
to cesiu...@googlegroups.com
Ok, you said initially you had .terrain files.

There are some other threads about how to create .terrain files from input data sources.  It's not easy, but start there if you want to give it a try.

I'm currently working on a terrain server that will make it extremely easy to visualize your own terrain data in Cesium.  It will be a paid product.  I can let you know when it's available if you're interested.

Kevin


On Tue, Sep 24, 2013 at 11:38 AM, <adam.d...@gmail.com> wrote:
I have read that page but still a little confused. Basically I have some terrain data in SRTM.asc form. I want to use this but don't follow where I go from here.

adam.d...@gmail.com

unread,
Sep 24, 2013, 11:43:50 AM9/24/13
to cesiu...@googlegroups.com
Oh yes so I did sorry I didn't mean that. Could you point me to any useful ones? And yes that would be useful thanks.
Reply all
Reply to author
Forward
0 new messages