-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instructions needed regarding how to use TGS #39
Comments
Also the CORS headers issue prevent the online example from working (the one in the readme): |
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
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
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. |
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. But then where is the "Terrain Generator Server" which create the terraindb files from TIFF files? There seem to be no "TGS" code in this repo, and nothing on your website, this is very opaque. Thanks, |
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. |
Hello,
We are looking into solutions to be able to use a custom TIFF file as elevation data in Cesium. It seems like you need a server to serve quatified meshes, which seem to be what this Github project is about.
I installed TGS and registered (fnicollet gmail com) but I don't really understand how it really works.
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?).
In the "Local Databases" section, it seems like you can only add files with the "terraindb" extension. What are terraindb files exactly? How do you create them? I mean from "regular" GIS formats.
If I access the URL:
I get:
So I don't really know what URL I should put in my JS to be able to load a terrain from TGS. I think it should be something like
I tried a few combinations but nothing worked. What's the URL scheme here?
Also, I installed the online example (https://www.terrainserver.com) locally on my web server but I get errors because you don't have CORS headers:
it would be nice to have this headers for testing.
It looks like your project is still in his early days, so it is probably all some documentation issues
Thanks for your help!
Fabien
The text was updated successfully, but these errors were encountered: