README.md 1.22 KB
Newer Older
Athanasios's avatar
Athanasios committed
1
2
3
# Dojo 3D Portrayal Client 

![](figures/new-york.jpg)
Athanasios's avatar
Athanasios committed
4
This is a 3D Portrayal Service client that is compatible with an [extended](https://gitlab.com/tomeof/node-3dpsx) version of the [3D Portrayal Service](https://www.ogc.org/standards/3dp) which can consume an [i3s](https://github.com/Esri/i3s-spec) layer in [Cesium](https://cesium.com) globe.
Athanasios's avatar
Athanasios committed
5
6
7
8


## Installing

Athanasios's avatar
Athanasios committed
9
The client is implemented using the [Dojo Toolkit](https://dojotoolkit.org). Clone or download the repository and place the contents in a folder and use a web server to publish it.
Athanasios's avatar
Athanasios committed
10
11
12

## Usage

Athanasios's avatar
Athanasios committed
13
You can alter the default host, port and service endpoint. Click on "Get Layers" to get the server capabilities. Click on "Add layer" to add a temporary i3s layer. The expiry duration can be found in the config.js file (default is 24 hours). Click on the Set button and pick two points on the Cesium viewer to define a bounding box. Then, just navigate in the scene. If you freeze the scene, then no additional requests to the service are made while you navigate the scene.
Athanasios's avatar
Athanasios committed
14
15
16
17
18
19
20

Layers available in the default host:
* Hamburg buildings
* Berlin buildings
* New York buildings
* Portland buildings
* Boston buildings
Athanasios's avatar
Athanasios committed
21
22
23
24
25
* Geneva buildings

## Demo

[http://81.169.187.7:3201](http://81.169.187.7:3201)