Scene Service

Description

A scene service is an ArcGIS Server web service originating from a 3D scene in ArcGIS Pro. Scene services (also known as web scene layers) allow you to share 3D content via web scenes to your Portal for ArcGIS organization. Web scenes are similar in concept to web maps. However, instead of displaying a 2D map or feature services, they use 3D scene services and give you access to 3D content originally created in ArcGIS Pro.

You need to install and configure the following ArcGIS components to share a scene service:

Once the above components are installed, do the following:

All scene services begin inside ArcGIS Pro where you author a 3D scene. When you've finished authoring and are ready to publish, select the desired layers in the Contents pane, right-click, and choose Share As Web Layer. The items in the Share Web Layer pane help you tune and configure your content for sharing to your organization. For full instructions, open the Portal for ArcGIS Help and click Share maps, apps, and scenes > Publish hosted layers > Publish scenes.

NoteNote:

When you publish a scene service, you can choose to have its cache automatically generated by ArcGIS Server. Depending on the size of the cache, it may take some time before you can view and consume the service in Web Scene Viewer.

Request Parameters

Parameter

Details

f

The response format. The default response format is html.

Values: html | json

Example Usage

http://myportal.domain.com/server/rest/services/Hosted/downtown/SceneServer/

JSON Response Example

{
    "serviceName": "Downtown",
    "serviceVersion": "1.4",
    "supportedBindings": [
        "REST"
    ],
    "layers": [
        {
            "id": 0,
            "version": "DE2A8CA5-04C8-4D1D-8D15-1BEF07B4C458",
            "name": "downtown",
            "href": "./layers/0",
            "ZFactor": 1,
            "alias": "downtown",
            "description": "",
            "copyrightText": "",
            "capabilities": [
                "View",
                "Query"
            ],
            "store": {
                "id": "B4A96D41-212B-4C89-9337-8A97D09A3E67",
                "profile": "meshpyramids",
                "rootNode": "./nodes/root",
                "version": "1.4",
                "extent": [
                    -122.39322065783433,
                    37.78655216996529,
                    -122.38515083926168,
                    37.791307296087865
                ],
                "indexCRS": "http://www.opengis.net/def/crs/EPSG/0/4326",
                "vertexCRS": "http://www.opengis.net/def/crs/EPSG/0/4326",
                "nidEncoding": "application/vnd.esri.i3s.json+gzip; version=1.4",
                "featureEncoding": "application/vnd.esri.i3s.json+gzip; version=1.4",
                "geometryEncoding": "application/octet-stream; version=1.4",
                "textureEncoding": "image/jpeg",
                "lodType": "MeshPyramid",
                "reductionType": "none",
                "indexingScheme": {
                    "name": "esriRTree",
                    "inclusive": true,
                    "dimensionality": 3,
                    "childrenCardinality": [
                        0,
                        9
                    ],
                    "neighborCardinality": [
                        0,
                        9
                    ]
                },
                "defaultGeometrySchema": {
                    "header": [
                        {
                            "property": "vertexCount",
                            "type": "UInt32"
                        },
                        {
                            "property": "featureCount",
                            "type": "UInt32"
                        }
                    ],
                    "topology": "Indexed",
                    "ordering": [
                        "position",
                        "normal",
                        "uv0",
                        "color"
                    ],
                    "vertexAttributes": {
                        "position": {
                            "valueType": "Float32",
                            "valuesPerElement": 3
                        },
                        "normal": {
                            "valueType": "Float32",
                            "valuesPerElement": 3
                        },
                        "uv0": {
                            "valueType": "Float32",
                            "valuesPerElement": 2
                        },
                        "color": {
                            "valueType": "UInt8",
                            "valuesPerElement": 4
                        }
                    },
                    "faces": {
                        "position": {
                            "valueType": "UInt32",
                            "valuesPerElement": 1
                        },
                        "normal": {
                            "valueType": "UInt32",
                            "valuesPerElement": 1
                        },
                        "uv0": {
                            "valueType": "UInt32",
                            "valuesPerElement": 1
                        },
                        "color": {
                            "valueType": "UInt32",
                            "valuesPerElement": 1
                        }
                    },
                    "featureAttributeOrder": [
                        "id",
                        "faceRange"
                    ],
                    "featureAttributes": {
                        "id": {
                            "valueType": "UInt64"
                        },
                        "faceRange": {
                            "valuesPerElement": 2
                        }
                    }
                },
                "fields": [
                    {
                        "name": "OBJECTID",
                        "type": "esriFieldTypeOID",
                        "alias": "OBJECTID"
                    },
                    {
                        "name": "SHAPE",
                        "type": "esriFieldTypeGeometry",
                        "alias": "SHAPE"
                    },
                    {
                        "name": "NAME",
                        "type": "esriFieldTypeString",
                        "alias": "NAME"
                    }
                ]
            }
        }
    ]
}

3/3/2017