This topic describes the ST_SceneFromOSGB function. This function constructs a scene object from the input OSG object.
Syntax
scene ST_SceneFromOSGB(bytea osgb,
integer srid default 0,
integer lod default 0);
scene ST_SceneFromOSGB(bytea osgb,
integer srid,
integer lod,
float8[] affine);
Parameters
Parameter | Description |
---|---|
osgb | The OSG object in binary representation. |
srid | The spatial reference identifier. Default value: 0. |
lod | The LOD level. Default value: 0. |
affine | An array of affine transformations. The number of fields in the affine parameter must be 12 or 16. If the affine parameter contains 16 fields, the last four fields are ignored. |
Description
This function constructs a scene object from the input OSG object.
Examples
SELECT Box3D(ST_sceneFromOSGB('\xa10e916c4545fb1a0...'));
box3d
--------------------------------------------
BOX3D(-156.239562988281 63.6093330383301 -32.4500007629395,-53.4085960388184 166.440292358398 29.9221706390381)