This topic describes the ST_AsB3DM function. This function converts an object to a binary object file in the batched 3D model (B3DM) format.
Syntax
bytea ST_AsB3DM(scene sceneObject);Parameters
| Parameter | Description |
|---|---|
| sceneObject | The scene object. |
Description
- This function converts a scene object to a binary object file in the B3DM format. The length of FeatureTable is 0.
- This function supports only the scene object whose type is osg.
Examples
SELECT ST_AsB3DM(ST_sceneFromOSGB('\xa10e916c4545fb1a0...'));
----------------------------
\x6233646d01000000.....