This topic describes the ST_AsOSGB function. This function converts an object to a binary object file in the OSG format.
Syntax
bytea ST_AsOSGB(scene sceneObject);Parameters
| Parameter | Description |
|---|---|
| sceneObject | The scene object. |
Description
- This function converts a scene object to a binary object file in the OSG format.
- This function supports only the scene object whose type is osg.
Examples
SELECT ST_AsOSGB(ST_sceneFromOSGB('\xa10e916c4545fb1a0...'));
st_asosgb
----------------------------
\xa10e916c4545fb1a0...