Git Product home page Git Product logo

Comments (4)

fnicollet avatar fnicollet commented on June 19, 2024

Also the CORS headers issue prevent the online example from working (the one in the readme):
https://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=662d86203a93fab5f8385c0360d4d70b

from portal.

MuhammedKalkan avatar MuhammedKalkan commented on June 19, 2024

Thank you for the extensive explanation

I want to explain these two projects . TGS is a Quantized Mesh generator from TIFF, HGT,..etc other common formats into terraindb files (Cesium Terrain Database format). Also it is capable of serving but important part is generating which is unavailable yet. (Remote databases in TTS are pregenerated terrains by TGS or STK)

TTS on the other hand, that you have installed, is another project that aims for most users to be able to use their existent terraindb data files with minimal effort. Created by TGS or Cesium STK Terrainserver

In the "Remote Databases" section, I clicked "Request" on "Gtopo30.terraindb". It didn't really do anything, the Request button is just greyed out (no download progress?).

You will be supplied with a download link to your email. You can get your terraindb file there and add it locally for serving. Check your spam folder

While you add it, you will define a serve path. Which will be something like

http://127.0.0.1/db/yourdbservepath

Afterwards you can start viewing by adding this to your cesium application

var cesiumTerrainProviderMeshes = new Cesium.CesiumTerrainProvider({
     url: 'http://127.0.0.1/db/yourdbservepath',
     requestWaterMask: true,
     requestVertexNormals : true
});

As for the CORS headers, it seems one of my updates removed that, i have added it again so you can try it whereever you want.

from portal.

fnicollet avatar fnicollet commented on June 19, 2024

Thanks, the CORS headers would be a nice addition as right now, you need to setup a reverse proxy for port 8080, which is quite annoying.
I don't understand your explanation about TGS. The TTS is the Tile Server, which is the software you install.

But then where is the "Terrain Generator Server" which create the terraindb files from TIFF files?
There is nothing in the README about it. Is it a tool provided by Cesium? Is it one of your own tool?

There seem to be no "TGS" code in this repo, and nothing on your website, this is very opaque.

Thanks,
Fabien

from portal.

MuhammedKalkan avatar MuhammedKalkan commented on June 19, 2024

TGS is this tool and produces and serves terraindb files. Confusing part for you is source is not released and in development phase at the moment.

TTS is another tool which only serves these files.

from portal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.