CesiumGS / 3d-tiles-tools

Apache License 2.0
315 stars 47 forks source link

Unable to set cartographic position while creating tileset.json #110

Closed lllllleo42 closed 7 months ago

lllllleo42 commented 8 months ago

I want to create a tileset.json from a given set of glb files, but I get an error called "Unknown arguments: cartographicPositionDegrees, 31.206812371430992, 0". How could I solve this problem?

c6bc2a8390bb45c18b796c71ff90983
javagl commented 8 months ago

It looks like you are using a version of the 3d-tiles-tools that you installed from NPM. This version does not yet include the functionality to set the cartographicPositionDegrees, because this functionality was only added a few days ago.

If you want to use this function, you can use the current state of the repository, as described in the Developer Setup : Clone the repository, run npm install, and then run the tools with npx ts-node .\src\cli\main.ts createTilesetJson ....

If this does not work, just drop a note here.

(A new release of the 3D Tiles Tools, which includes the extended functionality, will be released to NPM soon)

lllllleo42 commented 8 months ago

Thank you very much!It really helped me a lot.

javagl commented 7 months ago

The extended functionality will be part of the next release, so I assume that this is not an issue and can be closed.