NEWEST CityEngine WebViewer application package (= offline viewer)

5457
18
Jump to solution
01-14-2013 07:47 AM
MatthiasBuehler1
Frequent Contributor II
Download here :

http://www.arcgis.com/home/item.html?id=38fede3935a440e49cf316dcae6aae47

Please read description carefully.


Cheers !

Matt
Tags (3)
0 Kudos
1 Solution

Accepted Solutions
MatthiasBuehler1
Frequent Contributor II
Hi !


I'd recommend to go through all stuff here ( tutorial videos and workflow tutorials ) first, before diving in actual projects :

http://forums.arcgis.com/threads/64843-CityEngine-Collection-RESOURCES-FAQ-HELP

Concerning the Portland project : There's a way you can get access to it, but you have to request access to the ArcGIS online group named 'ArcGIS for 3D Cities':
http://www.arcgis.com/home/groups.html
Once activated, you can download the CE project of Portland here :
http://www.arcgis.com/home/item.html?id=1d7e43f8ab3444609a40af573850c6e0



Ok ?

Matt

View solution in original post

0 Kudos
18 Replies
Jaros_awKowalczyk
New Contributor
How much carefully?
I think i've done all things properly.
I downloaded and unzipped a file, deleted one of them and rename another to 'viewer.html'.
The folders where like this:
/[root of server]
+myCityEngineWebApp
| +webviewer
| +webscenes
| +copy of webviewer [i think that's unnecessary here]
In Mozilla Firefox i go to an address:
http://localhost/myCityEngineWebApp/webviewer/viewer.html?3dWebScene=../webscenes/myWebscene.3ws

and i have an error and scene doesn't show up. Here's my log:
14ms: GL detect: WebGL 1.0 More
15ms: Loading scene file : ./../webscenes/myWebscene.3ws
335ms: Unable to load data Error status 404 on ./../webscenes/myWebscene.3ws?gzipHeader=true

What am i doing wrong?
My server is IIS 6.
0 Kudos
AndreasUlmer
Occasional Contributor
How much carefully?
My server is IIS 6.


Not too familiar with IIS, but I believe you need to register .3ws as valid file extension.


- In IIS manager,
- either on the webscenes dir or on the whole site
- add extension : .3ws, MIME type: application/octet-stream

[ATTACH=CONFIG]20734[/ATTACH]
0 Kudos
Jaros_awKowalczyk
New Contributor
Nice! It worked! Thanks a lot!
0 Kudos
MariyaIvanova
New Contributor
Works fine - Thanks a lot!
0 Kudos
LlewCain
New Contributor II
Hi Matt

I have installed the CE viewer for my local PC and it works fine. I have done the same installation into the wwwroot folder (following the instructions) for my IIS 6 server and I am not able to view a 3ws file either from localhost or from another pc using machine name or ip address. I have also set the MIME 3ws extension.

I have the latest version of Chrome and I get this error
Server error:
The website encountered an error while retrieving http://MYSERVERNAME/WebViewer/viewer.html?3dWebScene=../WebScenes/Boston.3ws. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this web page later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.

I really would like to be able to share models internal to our network so any assistance will be gratefully received.

Llew
0 Kudos
vipulsoni
Occasional Contributor
Hi,

Could you post a snap of the page in which you are getting the error message. are you not even able to see the city engine viewer initial loader ?
0 Kudos
LlewCain
New Contributor II
Hi

I had some interesting things happen over night with a server restart. I managed to kill our IIS by registering the 3ws MIME extension for the default site which created a web.config file in the wwwroot folder. This caused the server to throw up an error and none of our web pages would load. I removed the config file and the sites work again.

So I then tested the 3ws file again and I am getting progress but still no active page. The page loads in Chrome but all I get is a white screen.

When I run Fiddler I see an error here:  GET /webviewer/js/dojo/dojo/_firebug/firebug.js HTTP/1.1

Llew
0 Kudos
AndreasUlmer
Occasional Contributor
Hi Llew

a) what happens when you point to http://myservername/WebViewer/viewer.html ? (without the ?3dWebScene param)
does it show the same as http://www.arcgis.com/apps/CEWebViewer/viewer.html ?
* if yes, application is set up fine.
* if not, please look into chrome error console and post the error output
(Menu - Tools - Javascript console)


if a) works fine
b) please describe in more detail what happens when you point to http://myservername/WebViewer/viewer.html?3dWebScene=../WebScenes/Boston.3ws
* does the loading progress show?
* when does the white screen appear?
on the white screen page, look into chrome error console and post the error output
(Menu - Tools - Javascript console)



Hi
So I then tested the 3ws file again and I am getting progress but still no active page. The page loads in Chrome but all I get is a white screen.
Llew
0 Kudos
LlewCain
New Contributor II
Hi

When I try to load Myserver/webviewer/viewer.html, Chrome gives me this error: 
GET http://anzgeo3/webviewer/js/dojo/dojo/_firebug/firebug.js 404 (Not Found).  See image attached.

When I load http://www.arcgis.com/apps/CEWebViewer/viewer.html I get the ESRI viewer no problems.

Thanks for the help.

Llew
0 Kudos