-
Hi there. I have another question regarding showing 3D Tiles attributes. My 3D Tiles data have building names and their heights as their attributes. How I can show these attributes on Terria.io? I looked at the featureInfoTemplate specifications and some examples. It looks like I need a separate json file to store attribute data to use this option? Can I show attributes stored in my 3D Tiles data directly? When I used Cesium.js, I could show those attributes but I don't know how to do it with Terria.io. Can anyone kindly point a right direction? Thank you in advance. Hiroo |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Hey @imakihi, Have you tried loading the 3d tiles in Terria? It should 🌟 just work 🌟— if you click in a feature in the tileset, you should see the attributes for that feature pop up in the top right of the window. We do support putting attributes in a separate JSON file, but it's not necessary if they're already embedded in the tileset. |
Beta Was this translation helpful? Give feedback.
-
@RussellGrew @imakihi aha, we've looked into it and it looks like feature picking was never incorporated in TerriaJS v7 - i.e. current master. There is a branch that has it for v7 here that you might be able to use: https://github.com/TerriaJS/terriajs/compare/3d-tiles-styling However, as we are not working on v7 any more, our very strong recommendation is that you use v8 for all new work. |
Beta Was this translation helpful? Give feedback.
-
@meh9 It sounds like I need to move to V8. Best regards. |
Beta Was this translation helpful? Give feedback.
-
Hi all. I just updated from V7 to V8 and I can show attributes without any issues. |
Beta Was this translation helpful? Give feedback.
@RussellGrew @imakihi aha, we've looked into it and it looks like feature picking was never incorporated in TerriaJS v7 - i.e. current master. There is a branch that has it for v7 here that you might be able to use: https://github.com/TerriaJS/terriajs/compare/3d-tiles-styling
However, as we are not working on v7 any more, our very strong recommendation is that you use v8 for all new work.