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 ArcGIS Enterprise 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:
- ArcGIS GIS Server (10.3.1 and later)
- Portal for ArcGIS (10.3.1 and later)
- ArcGIS Data Store (10.3.1 and later)
- ArcGIS Pro (1.1 and later)
Once the above components are installed, do the following:
- If you want to store your scene vector data (points, lines, and polygons) in ArcGIS Data Store, register it as ArcGIS Server's managed database. If you want to use an enterprise geodatabase to store the vector data, register the enterprise geodatabase as the managed database and run the configuredatastore command line utility in ArcGIS Data Store with the --nosql-only option set to true. For instructions, open the command utility reference in the ArcGIS Data Store help. In either scenario, ArcGIS Data Store is required, as it stores cached elevation surface data used in the scene service. See Configure a hosting server to learn how to register a managed database.
- Federate ArcGIS Server with your portal.
- Designate ArcGIS Server as the portal's hosting server.
- Configure ArcGIS Pro licenses with your organization and connect ArcGIS Pro to your organization.
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.
Note:
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
https://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": "https://www.opengis.net/def/crs/EPSG/0/4326",
"vertexCRS": "https://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"
}
]
}
}
]
}