Export SLPK (Esri Scene Layer Package)

Esri scene layer packages (SLPK) are custom, web-optimized files that can be shared on ArcGIS Online and viewed with the WebScene Viewer. For details, refer to https://github.com/Esri/i3s-spec/.

Select the content to export in the Viewport window, and begin exporting. Click File > Export Models > Esri Scene Layer Package from the main menu.

Export options

In addition to the general export options, the following options are available for SLPK export:

OptionDescription

Combine Layers

Instead of writing one package per layer, you can write one package containing the data in all layers. If you chose to merge all layers, the per-layer options are not shown.

Emit Reports

Reports generated by the attached CGA rule are written to attribute fields.

File size

The size of the file.

  • Small File — Low Detail—Creates a small file; all selected models are exported with possible reduced quality.
  • Midsize File — Medium Detail—Creates a midsize file; models are exported with medium level of detail.
  • Large File — Good Detail—Creates a large file; models are exported with good level of detail.
  • Huge File — High Detail—Creates a huge file; models are exported with high level of detail.

Scene Environment

Choose between local and global scene export. Local scenes remain in the coordinate system of the scene, and global scenes are converted to be viewable on the whole globe.

In addition to the global export options, there is an extra export page with the following per-layer options:

OptionDescription

Export

Check boxes denote if a layer's contents are exported.

Layer Name

The layer name, as it is set in the CityEngine scene.

Export tips

If a scene layer created from a CityEngine export doesn't export correctly, consider reducing the size of the SLPK by doing one of the following:

  • Choose a smaller extent for export (select fewer objects).
  • Fine-tune the texture quality export options (use compact or half-size).
  • Reduce the geometric complexity of the models (for example, lower level of detail or less details on streets).

When preparing an SLPK, keep in mind that a scene layer may not run as well (or run at all) on other, less powerful systems (less memory, less powerful graphics card). Reduce the exported extent and .spk file size to ensure wider compatibility.

Note:

The SLPK format has a limit on the geometric complexity of a single model. If, after triangulation, a model has more than 127,000 triangles, it may not display in clients.

Publish the SLPK on ArcGIS Online

Upload a file and publish a scene layer.

Upload to ArcGIS Online

Complete the following steps to upload an SLPK:

  1. Locate the exported SLPK in the Navigator window.
  2. Right-click the SLPK and click Share As.

    The Scene Package dialog box appears.

  3. Click Upload package to my ArcGIS Online account and name the SLPK.
  4. Fill in the required fields for Item Description.
  5. Click Analyze to validate the SLPK for any errors or issues.

    You must validate and resolve all errors before you can save the SLPK to disk or share it to ArcGIS Online. If any issues are encountered, an error is reported. You must fix the error before you can continue.

  6. Click Share to upload the SLPK to ArcGIS Online.

.spk files can be uploaded to other ArcGIS portals as well. See Share data on a different portal

Publish a scene layer from the SLPK

After uploading the SLPK to ArcGIS Online or ArcGIS Enterprise, you must publish it to a scene layer. To create a scene layer, do the following:

  1. In the Navigator window, click Portal > My Content.
  2. Find the SLPK you just uploaded and double-click it.

    Your browser opens with the correct item open.

  3. Click Publish to create a scene layer.

    The title of the package is preset as Scene Title. Change it to only alphanumeric characters and underscores.

  4. Change the tags if necessary.
  5. Click Publish.

    After waiting for the service to be created, you can open the scene layer.