Code Monkey home page Code Monkey logo

Comments (5)

yaozhihang avatar yaozhihang commented on July 19, 2024

The KML/COLLADA/glTF Exporter privides a filter option that allows you to export a single CityGML object according to its GMLID (Please refer to the pages 135-136 of the 3DCityDB-Documentation-3.3). Once the glTF object has been exported, you can simply copy it and replace the old one in your previously created glTF datasets.

from importer-exporter.

nextstopsun avatar nextstopsun commented on July 19, 2024

@yaozhihang Thanks for a reply. So how do I handle the case when I don't need a glTF file itself, but rather want to generate glTF output directly from the database to other software (i.e. web server) without the additional step of creating and storing files?

from importer-exporter.

yaozhihang avatar yaozhihang commented on July 19, 2024

Sorry, I've no idea how to handle this case using the 3DCityDB. Since the current version of the KML/COLLADA/glTF Exporter uses the collada2glTF tool to create glTF models, only glTF files can be created.

from importer-exporter.

clausnagel avatar clausnagel commented on July 19, 2024

The importer/exporter tool export can be run from the command line. You can issue a KML/COLLADA/glTF export using the -kmlExport flag. Filter criteria can be provided as separate configuration file through the -config parameter. Read more about the command line interface (CLI) in chapter 5.8 of the version 3.3 documentation.

Using the CLI, all you have to do is implement a service interface that would accept a client's request, create a corresponding configuration file, invoke a KML/COLLADA/glTF export and return the glTF output to the client. The overhead of using temporary file remains, but is hidden from the client.

from importer-exporter.

clausnagel avatar clausnagel commented on July 19, 2024

Closing this issue. Feel free to re-open if you have further questions.

from importer-exporter.

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.