Comments (5)
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.
@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.
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.
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.
Closing this issue. Feel free to re-open if you have further questions.
from importer-exporter.
Related Issues (20)
- VIS Export and KML Export HOT 1
- URL for web map HOT 1
- Global appearances are ignored in CityJSON exports
- URL and cityobjectsJsonUrl for the JSON files HOT 5
- Date error when exporting HOT 2
- importer for surfaces with inner rings creates invalid POLYHEDRALSURFACE HOT 2
- Installation issue on mac HOT 2
- NoClassDefFoundError: org/citydb/gui/plugin/view/ViewExtension when running the Importer/Exporter CLI HOT 4
- 3DCityDB-Importer-Exporter-4.3.0-Setup.jar does not install core, only plugins HOT 6
- Problem with citygml file validation HOT 3
- When using the CLI import options, can I specify that it should update? HOT 1
- Properly calculate the area/volume of a building/city object HOT 2
- Can't export to tiled CityGML files HOT 8
- 3d CityDatabase HOT 12
- Thank you! @clausnagel
- Bug in About link
- Importer/Exporter 5.4.2: ADE manager tab gone? HOT 3
- ERROR: geometry requires more points HOT 2
- GLTF Export -> All Buldings in one gltf file? HOT 1
- CityJSON 2.0 support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from importer-exporter.