Skip to content

Latest commit

 

History

History
231 lines (204 loc) · 6.59 KB

Point_ReadMe.md

File metadata and controls

231 lines (204 loc) · 6.59 KB

Point Scene Layer (1.9)

Point scene layers contain point features and their attributes. Point scene layers are often used to visualize large amounts of 3D data like trees or buildings. Most phenomena that can be visualized by 3D symbols can be displayed with a point scene layer.

Examples:

NYC 2015 Tree Survey SLPK

NYC 2015 Tree Survey service

Example of a point scene layer

Point Scene Layer

Point Scene Layer Structure

The point scene layer is structured into a tree of multiple JSON files. Point scene layers can be represented as a scene layer package (*.slpk) or a I3S service. A point scene layer contains the following:

Point scene layer packages contain metadata and optionally contain a hash table for faster indexing.

Example of point scene layer structure

.<host>/SceneServer/layers
	+--0 // scene layer document
	+-- nodepages
	|  +-- 0
	|  +-- (...)
	+-- nodes
	|  +--root
	|  |  +-- attributes
	|  |  |  +--f_2
	|  |  |  +--f_4
	|  |  |  +--(...)
	|  |  +-- features*
	|  |  |  +-- 0
	|  |  +-- geometries    
	|  |  |  +-- 0
	|  +-- (...)
	+--statistics
	|  +-- f_1
	|  | +--0
	|  +-- f_2
	|  | +--0
	|  +-- (...)
	+--resources
	    +-- styles
	 	| +-- root

* Only required for 1.6 compatibility for older clients.

HTTP API Overview

The following API methods are available for Point Scene Layer:

Scene layer document

Type JSON
URL Template http://serviceURL/layers/{layerID}
Example http://my.server.com/PointSceneLayer/SceneServer/layers/0
Description This is the root document for the service containing properties common to the entire layer.
layerID: Integer. ID of the associated layer. Esri products expect this to be `0`.

3DSceneLayer

3D node index document

Type JSON
URL Template http://serviceURL/layers/{layerID}/nodes/{nodeID}
Example http://my.server.com/PointSceneLayer/SceneServer/layers/0/nodes/98
Description Description of the node.
layerID: Integer. ID of the associated layer. Esri clients expect this to be `0`.
nodeID: Integer. ID of the associated resource.

3DNodeIndexDocument

Attributes

Type bin
URL Template http://serviceURL/layers/{layerID}/nodes/{nodeID}/attributes/f_{attributeID}/0
Example http://my.server.com/PointSceneLayer/SceneServer/layers/0/nodes/98/attributes/f_8/0
Description The value for a specific attribute within a node.
layerID: Integer. ID of the associated layer. Esri products expect this to be `0`.
nodeID: Integer. ID of the associated resource. attributeID: Integer. ID of the specific attribute for the layer.

Feature

Type JSON
URL Template http://serviceURL/layers/{layerID}/nodes/{nodeID}/features/0
Example http://my.server.com/PointSceneLayer/SceneServer/layers/0/nodes/98/features/0
Description Point location and feature IDs.
layerID: Integer. ID of the associated layer. Esri products expect this to be `0`.
nodeID: Integer. ID of the associated resource.
attributeID: Integer. ID of the specific attribute for the layer.

featureData

Geometry

Type bin, draco
URL Template http://serviceURL/layers/{layerID}/nodes/{nodeID}/geometries/{geometryID}
Example http://my.server.com/PointSceneLayer/SceneServer/layers/0/nodes/98/geometries/0
Description The geometry resource (mesh information).
layerID Integer. ID of the associated layer. Esri products expect this to be `0`.
nodeID Integer. ID of the associated node.
geometryID Integer. This ID returns one of the geometries available for this node. The same geometry may be available in a different format.

The available geometry formats are specified in geometryDefinitions on the layer document.

Statistics

Type JSON
URL Template http://serviceURL/layers/{layerID}/statistics/f_{attributeID}/0
Example http://my.server.com/PointSceneLayer/SceneServer/layers/0/statistics/f_8/0
Description The statistics for the entire layer for a specific attribute.
layerID: Integer. ID of the associated layer. Esri products expect this to be `0`.
attributeID: Integer. ID of the specific attribute for the layer

statistics

Resources

Type JSON
URL Template http://serviceURL/layers/{layerID}/resources/styles/{resourceType}/resource/{uniqueId}
Example http://my.server.com/PointSceneLayer/SceneServer/layers/0/resources/styles/gltf/resource/5fe9e487e2230d61de71aff13744c5e9
Description A specific symbology resource.
layerID: Integer. ID of the associated layer. Esri products expect this to be `0`.
resourceType: String. Possible values include JPEG, PNG, GLB.GZ
uniqueId: Integer. Unique ID of the specific resource for the symbol

resources