Skip To Content

Create Integrated Mesh Scene Layer Package

Summary

Creates a scene layer package from OpenSceneGraph binary (OSGB) data.

Usage

  • Although the OSGB format does not support coordinate systems, it typically stores the coordinates of its data in a local reference grid. A metadata file may be included with the OSGB data that reveals the local reference grid along with the center point of the Open Scene Graph model. The coordinate system of the output scene layer package will match the coordinates of the OSGB data.

  • Specify the Anchor Point parameter to place the center of the OSGB file in real world coordinates. If there are multiple points in the feature class, only the first one will be used to georeference the data.

Syntax

CreateIntegratedMeshSceneLayerPackage_management (in_dataset, out_slpk, {anchor_point}, {file_suffix})
ParameterExplanationData Type
in_dataset
[in_dataset,...]

The OSGB files, or folders containing OSGB files, that will be imported into the integrated mesh scene layer package.

File; Folder
out_slpk

The integrated mesh scene layer package that will be produced.

File
anchor_point
(Optional)

The point feature that will be used to position the center of the OpenSceneGraph model. If there are multiple points in the feature class, only the first one will be used to georeference the data.

Feature Layer
file_suffix
(Optional)

Specifies the files that will be processed for the input dataset.

  • *All binary files, regardless of their extension, will be processed to determine if they are in the OSGB format. This is the default.
  • OSGBOnly files with the OSGB extension will be processed.
String

Code sample

CreateIntegratedMeshSceneLayerPackage example (Python window)

The following sample demonstrates the use of this tool in the Python window.

import arcpy
arcpy.env.workspace = "C:/temp"
arcpy.CreateIntegratedMeshSceneLayerPackage_management("terrain_osgb", "mesh.slpk", "anchor.shp", "OSGB")

Licensing information

  • ArcGIS Desktop Basic: Yes
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics