All Products
Search
Document Center

PolarDB:ST_AsB3DM

Last Updated:Mar 28, 2026

Converts an OSG scene object to a binary file in the batched 3D model (B3DM) format.

Syntax

bytea ST_AsB3DM(scene sceneObject);

Parameters

ParameterDescription
sceneObjectThe scene object to convert. Must be of type osg.

Usage notes

  • The FeatureTable in the output B3DM file has a length of 0.

  • Only scene objects of type osg are supported.

Examples

SELECT ST_AsB3DM(ST_sceneFromOSGB('\xa10e916c4545fb1a0...'));

Output:

\x6233646d01000000.....