Hello Cesium community,
I’m trying to implement a measurement feature and found some old examples that use the ion-sdk-measurements package. However, these links seem to be unstable or no longer accessible.
I’ve also tried searching for it on public CDNs like jsDelivr, unpkg, and cdnjs, but to no avail.
With that in mind, I have a few questions:
Is the ion-sdk-measurements package still recommended for use, or is it considered deprecated?
If it’s still relevant, is there a stable and official public CDN link we can use?
If this package is indeed deprecated, what official alternative does the Cesium team recommend for building measurement functionality now? Is building it from scratch using the Entity API as documented in some tutorials the most recommended way now?
Thank you very much for your help and insight!
Hi @Muhammad_Nizar,
Thanks for your post and for being a part of the Cesium community.
The ion-sdk-measurements package is part of the Cesium ion SDK library. Cesium ion SDK extends the open source CesiumJS JavaScript library and includes additional GPU-accelerated 3D analysis tools, but unlike CesiumJS it is not open source. You can read more about the library and how to get in touch about starting an evaluation if you wish here Cesium ion SDK – Cesium
I hope that is helpful in clearing up the distinction between CesiumJS and Cesium ion SDK. Please let us know if you have questions about CesiumJS and we are happy to help.
Thanks,
Luke
Hi Luke,
Thank you so much for the quick reply and the clear explanation. That perfectly clarifies the distinction between the open-source CesiumJS and the commercial Cesium ion SDK.
Our apologies for the confusion. We indeed thought ion-sdk-measurements was part of the open-source library, which explains why we couldn’t find the package dependencies.
Our core goal is to implement a measurement tool (for distance and area) within our application. This is currently a research and trial project, so we are focused on prototyping with the open-source CesiumJS library for this initial evaluation.
Given this, we’d like to take you up on your offer for help regarding CesiumJS.
Could you please point us in the right direction or explain the recommended approach for building a custom measurement tool using only the open-source CesiumJS library? Our most critical requirement is ensuring the measurements can accurately “clamp” to the surface of 3D Tilesets, similar to what we were hoping to achieve with the SDK.
Thanks again for your time and for clearing this up.
Best regards,
Nizar