Giter Club home page Giter Club logo

Comments (10)

BWibo avatar BWibo commented on July 19, 2024

This is no longer actively developed. It's very likely, that the GDAL version you are using is no longer compatible with CTB. Checkout this Docker image to use the tool without building it your own.
https://github.com/tum-gis/cesium-terrain-builder-docker

from cesium-terrain-builder.

xzg5101 avatar xzg5101 commented on July 19, 2024

This is no longer actively developed. It's very likely, that the GDAL version you are using is no longer compatible with CTB. Checkout this Docker image to use the tool without building it your own. https://github.com/tum-gis/cesium-terrain-builder-docker

Thank you very much for your reply. I was sick for the past 5 days so I did not see your suggestion right a way. My aim is actually automate the process of converting contour file (dwg/dxf) into cesiuim terrains, and add this function to a local toolkit program. I am not very familiar with docker and heard it would be pretty difficult to put it together with my app. Do you have any suggestion, comment, or thought on how to achieve this?

from cesium-terrain-builder.

BWibo avatar BWibo commented on July 19, 2024

I don't think so. You can run CTB inside Docker and use it like any other command line tool. If you are new to Docker there is learning curve for sure, but I guaratee you it's worth looking into!

from cesium-terrain-builder.

xzg5101 avatar xzg5101 commented on July 19, 2024

I don't think so. You can run CTB inside Docker and use it like any other command line tool. If you are new to Docker there is learning curve for sure, but I guaratee you it's worth looking into!

Do you know any library or python packages that would allow me to create .terrain file?

from cesium-terrain-builder.

BWibo avatar BWibo commented on July 19, 2024

No, I have nothing in mind by heart, but wait let me google that for you. ;-)

from cesium-terrain-builder.

xzg5101 avatar xzg5101 commented on July 19, 2024

Well, I managed to build gdal 2.4.2 and use CTB from the other fork today eventually. Turned out that sucessfully building it just the key of open the door of issues. There are a lot of things for a rookie like me to learn before starting anything at all, and the general health condition of the C++ GIS repos I saw in these days freaked me out a bit. The process of debugging is basically marching in a blackbox to me. Also sadly your google guide did not provide me any useful information as that was the first thing I did, which brought me here, but if it gave you joy at all I guess its worthwhile. I'll definetly learn docker, but its probably not something I would use for this task this time. Thank you for the suggestion anyway.

from cesium-terrain-builder.

BWibo avatar BWibo commented on July 19, 2024

Yes, I'd recommend to learn Docker. It's not too hard and really worth the effort. In many cases it will save you from building things on your own, which can be quite hard.

A quick search gave me this:

Please report back if one of those turned out to be helpful.

from cesium-terrain-builder.

xzg5101 avatar xzg5101 commented on July 19, 2024

I have checked the first two links before, and they are not helpful other than lead me to CTB. The third one looks promising, but it has a lot of dependencies to install. I might have to try the third one, because for some reason CTB only output the top two layer of terrain tiles for some of my input files. Thank you for the information.

from cesium-terrain-builder.

lilithgrigoryan avatar lilithgrigoryan commented on July 19, 2024

Same problem occurred. As I understand, newer vesions of gdal do not export this function to gdallibrary but it is still in source files.

One thing you can try is to install older gdal versions (not sure which specific version, but most probably 2.4.0 and older). I got some problems here and didn't manage to solve them. Other thing that actually worked for me was downloading GDAL sources and copying everything from gdaloverviewdataset.cpp file into cesium-terrain-builder source files. This worked fine.

from cesium-terrain-builder.

enzozyx avatar enzozyx commented on July 19, 2024

check your gdal version, gdal version > 3.4, you can not found this method GDALCreateOverviewDataset. I switch the version from 3.8 to 3.4, it`s ok.

from cesium-terrain-builder.

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.