HOW TO

Host 3D Web Scenes

Last Published: April 25, 2020

Summary


[O-Image] Netherlands flag
This article was contributed by Esri Nederland, the Esri distributor for the Netherlands.

ArcGIS Online offers a CityEngine Web Viewer that allows ArcGIS and CityEngine users to share their 3D projects with a large audience. If using the viewer in ArcGIS Online is not an option, organizations may host the CityEngine Web Viewer on their own infrastructure. This article provides an illustrated step by step workflow on how to set up the CityEngine Web Viewer on a user's infrastructure.

Procedure



A. Download the CityEngine Web Viewer

1. Download the latest Web Viewer package from ArcGIS Online: CityEngine WebViewer application package

B. Place the viewer on the web server
(Steps for IIS with default wwwroot location)

1. Unzip the downloaded package to the web server's document root (or into a subfolder). With IIS, this is 'C:\inetpub\wwwroot' by default.

2. Delete 'ceviewer.html' if this file exists in the web viewer folder.

3. Rename the file 'ceviewer_offline.html' to 'viewer.html'.
[O-Image]

C. Create a location for the 3D Web Scenes

1. Create a folder called ‘webscenes’ at the same level as the 'webviewer' folder. With default IIS settings, this would be 'C:\inetpub\wwwroot\webscenes\'.

2. Place the web scene(s) (.3ws files) in the newly created folder 'webscenes'.
[O-Image]

D. Configure the .3ws MIME type in IIS
(Only applicable if IIS is used)

1. Open the IIS Manager.

2. Click MIME Types under the IIS category.
[O-Image]
3. Click the link ‘Add�’ in the Actions pane on the right.
[O-Image]

• For the file name extension, enter .3ws.
• For MIME type, enter 'application/octet-stream'.
[O-Image]
• Click OK.

The .3ws MIME type is now in the MIME Types list.

E. Accessing the 3D Web Scenes

1. Access Web Scenes with the following URL:

Code:
http://<server.domain>/<path_to_webviewer>/viewer.html?3dWebScene=.../webscenes/<name_of_webscene.3ws>

In this article's example, this would be:

'http://localhost/webviewer/viewer.html?3dWebScene=../webscenes/Rotterdam.3ws'
Note:
The user may also browse and select a local 3D Scene from the file system using:

Code:
http://<server.domain>/<path_to_webviewer>/viewer.html?3dWebScenes=.



The 3D Web Scene is running as a locally hosted application.
[O-Image]

Article ID: 000012036

Software:
  • ArcGIS CityEngine Prev
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options