Help with terrain visualization

376 views
Skip to first unread message

regina...@yahoo.com

unread,
Jan 1, 2016, 7:32:31 PM1/1/16
to cesium-dev
Hi,
I have to do for my school project terrain visualization in web browser using Cesium. So I obtained data from http://earthexplorer.usgs.gov - it gave me 2 kind of files - .dt2 and.tif files. Because I didn’t work with application before I have actually no idea what should I do now. I know it is quite silly question, but could you help me, please? (I’m working on Mac) It would be very helpful for me, if I had “guide” or list things or processes which I have to make. I’m really sorry that I’m bothering you with this problem, but I’m really “lost”. Thank you very very much :)


Kind regards

Tomáš

Mark Erikson

unread,
Jan 1, 2016, 9:58:18 PM1/1/16
to cesium-dev, regina...@yahoo.com

It's a bit complex, actually.  Cesium has its own file formats for terrain data - "heightmap" and "quantized mesh".  What you have there are DTED Level 2 and GeoTIFF formats.  There IS an open-source tool that can be used to convert other formats to Cesium's heightmap format, at https://github.com/geo-data/cesium-terrain-builder

What exactly do you need to view/show for your project?

Tomáš Regina

unread,
Jan 2, 2016, 6:03:28 AM1/2/16
to Mark Erikson, cesium-dev
Well, I have to make web page with map window. In this map window there should be 3D model of my area with some options like zoom, rotation etc. . So I should now use cesium terrain builder and convert one of these formats (DT2 or GeoTIFF) to heightam or quantized mesh? 

Thanks.

Tom

Sent from iPhone

Dňa 2. 1. 2016, o 3:58, Mark Erikson <mark.e...@gmail.com> napísal:

Jim Bellenger

unread,
Jan 4, 2016, 8:22:39 AM1/4/16
to cesiu...@googlegroups.com
With multiple .dt2 and GeoTIFF files I suggest you build a VRT file (gdalbuildvrt) using all of the files.  The .vrt file would than be passed to the ctb-tile program to build the heightmap terrain tiles.

Jim

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

Reply all
Reply to author
Forward
0 new messages