Failed to display the attribute and Developer Error while loading heavy data

1. A concise explanation of the problem you’re experiencing.

I tried to publish the data in CityGML format to the web using 3DcityDB and 3DcityDBwebclient. Using 3DImporterExporter tool I successfully convert the data to KML/COLLDA format.

By using Add layer option in 3Dwebclient page (index.html) I published the Collada and Json files and created scene URL. Here I am facing couple of problems:

Problem 1 : When I load my entire data after some time I encounter the error “Render has stopped” with the following error:

An error occurred while rendering. Rendering has stopped.

DeveloperError: Expected width to be greater than 0, actual value was 0 Error

at new DeveloperError ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:540:19](http://localhost:8000/ThirdParty/Cesium/Cesium.js:540:19))

at Function.Check.typeOf.number.greaterThan ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:699:19](http://localhost:8000/ThirdParty/Cesium/Cesium.js:699:19))

at new Texture ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:88180:29](http://localhost:8000/ThirdParty/Cesium/Cesium.js:88180:29))

at createTextures ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:208711:36](http://localhost:8000/ThirdParty/Cesium/Cesium.js:208711:36))

at updateFramebuffers ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:208757:13](http://localhost:8000/ThirdParty/Cesium/Cesium.js:208757:13))

at GlobeDepth.update ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:208838:9](http://localhost:8000/ThirdParty/Cesium/Cesium.js:208838:9))

at updateAndClearFramebuffers ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:224894:31](http://localhost:8000/ThirdParty/Cesium/Cesium.js:224894:31))

at executeCommandsInViewport ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:224719:17](http://localhost:8000/ThirdParty/Cesium/Cesium.js:224719:17))

at updateAndExecuteCommands ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:224575:13](http://localhost:8000/ThirdParty/Cesium/Cesium.js:224575:13))

at render ([http://localhost:8000/ThirdParty/Cesium/Cesium.js:225111:9](http://localhost:8000/ThirdParty/Cesium/Cesium.js:225111:9))

Problem 2 : Failed to display the attributes in the web page (ref BrowserError.PNG ), but attributes are displayed when I used Google earth pro (ref GoogleEarth.PNG) .

Kindly help me to resolve this issue.

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.

1. A concise explanation of the problem you’re experiencing.

I tried to publish my data in citygml format to the web using 3DCityDB ,Cesium

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.

BrowserError.PNG

I think there might be something invalid in that dataset that CesiumJS isn’t account for. It’s hard to tell without seeing it.

I think to get the best performance/workflow you can try converting your CityGML to 3D Tiles. You can try that by uploading it on Cesium ion (https://cesium.com/ion/). It also might be worth trying because it might show some error there that’ll tell us what the problem is. At the very least it’d make the data easier to share so we can debug it.

Let me know if you get it working.

Hi

Thanks for your reply. Unfortunately I am not able to upload the data in cesium ion due our organisation data policy. So that I tried to implement the task by keeping the data in-house. Is there any validation tool exist to check the data or is there any way to detect the issue by myself?

Kindly let me know.

There is a downloadable command-line version of the ion tiling pipeline:

So you could use that to get an optimized 3D tileset that of your CityGML data that streams fast. Otherwise you might have to get the unminified version of CesiumJS (source is at https://github.com/AnalyticalGraphicsInc/cesium) and go to where it’s throwing the error and figure out why.

Hi Omar

Thanks for the reply. As per your suggestion I tried the second option. At the time of installation I got the following error. I am using Nodejs version v10.15.1

2294 verbose stack Error: sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw== integrity checksum failed when using sha512: wanted sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw== but got sha512-9do13XjsuHV50Q0BYcZQRFJWISwq/8tb8/sIvSbU7zMPMW1J5BepDr0lZE3wyeEc3SmFn0zgU9RaSGNGr+vRYw==. (3123 bytes)

2294 verbose stack at Transform.on (C:\Program Files\nodejs\node_modules\npm\node_modules\ssri\index.js:310:19)

2294 verbose stack at Transform.emit (events.js:194:15)

2294 verbose stack at endReadableNT (_stream_readable.js:1103:12)

2294 verbose stack at process._tickCallback (internal/process/next_tick.js:63:19)

2295 verbose cwd C:\Program Files\3DCityDB-Importer-Exporter\3d-web-map-client\3dcitydb-web-map-1.6.1\cesium-master\cesium-master

2296 verbose Windows_NT 6.1.7601

2297 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"

2298 verbose node v10.15.1

2299 verbose npm v6.4.1

2300 error code EINTEGRITY

2301 error sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw== integrity checksum failed when using sha512: wanted sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw== but got sha512-9do13XjsuHV50Q0BYcZQRFJWISwq/8tb8/sIvSbU7zMPMW1J5BepDr0lZE3wyeEc3SmFn0zgU9RaSGNGr+vRYw==. (3123 bytes)

2302 verbose exit [ 1, true ]

I think this might be a problem with npm/your network. See some of the suggested solutions here: