ST_AsOSGB
Updated at:
Copy as MD
Serializes a scene object into binary OSGB format and returns it as a bytea value.
Syntax
bytea ST_AsOSGB(scene sceneObject);Parameters
| Parameter | Description |
|---|---|
sceneObject | The scene object to serialize. Must be of type osg. |
ST_AsOSGBonly accepts scene objects of typeosg.
Example
The following example constructs a scene object from raw OSGB bytes using ST_sceneFromOSGB, then serializes it back to OSGB format using ST_AsOSGB.
SELECT ST_AsOSGB(ST_sceneFromOSGB('\xa10e916c4545fb1a0...'));
st_asosgb
----------------------------
\xa10e916c4545fb1a0...See also
ST_sceneFromOSGB
Is this page helpful?