CesiumGS / cesium-workshop

An example application that visualizes and annotates a 3D city using the Cesium platform.
https://cesium.com/docs/tutorials/cesium-workshop/
Apache License 2.0
164 stars 104 forks source link

Users need access to the NYC tileset #10

Open hpinkos opened 5 years ago

hpinkos commented 5 years ago

The workshop includes instructions for signing up for an ion account, but then they have no way to access the NYC tileset because it is not in the asset depot.

@mramato is this something we can make available for users to add to their accounts?

mramato commented 5 years ago

Absolutely, I honestly don't know why we've waited so long to do it. We just need to be sure to use the latest version of the data set and get it clamped to CWT.

shehzan10 commented 5 years ago

Is there any interest in generate 2 tilesets - 1 White (as currently exists) and 1 colored - like the "usual" citygml data representation with red roofs etc?

mramato commented 5 years ago

I don't think we want to put 2 copies of NYC in the Asset Depot, so a single copy is preferred, clamped to CWT. We should decide if there is specific tile properties/metadata we want to include. For example we could change the workshop to color all of the roofs red based on metadata? Might be too much for a first iteration, just throwing ideas out there.

mramato commented 5 years ago

But my default answer is, white tileset clamped to CWT and that's it.

hpinkos commented 4 years ago

Also reported by @jonathanvhive in https://github.com/AnalyticalGraphicsInc/cesium-ion-community/issues/242

luipir commented 4 years ago

AssetId changed from 3839 to 75343 var city = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({ url: Cesium.IonResource.fromAssetId(75343) }));

and heightOffset respect ellipsoid would be set to 0 instead of -32

luipir commented 4 years ago

there are also some minor error in the App.js... do you want a PR to fix them?

luipir commented 4 years ago

don a PR to fix access to the asset... that have to be added into MyAssets https://github.com/CesiumGS/cesium-workshop/pull/18