This is a proof-of-concept demo based on the provided research. It demonstrates:
- Initializing a CesiumJS Viewer.
- Loading vector data (simulating Triply API output) from a GeoJSON file.
- Using a Clipping Plane to create a cross-section view (for underground visualization).
Because this demo loads an external data file (stub_data.geojson), you cannot simply open the index.html file in your browser due to security restrictions (CORS). You must run a local web server.
If you have Node.js installed, run:
npx serve .Then open the URL shown (usually http://localhost:3000).
Alternatively, if you have Python installed:
python3 -m http.serverThen open http://localhost:8000.