This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
The React Compiler is not enabled on this template. To add it, see this documentation.
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.
If you want to extract a small, visualizable sample from the Dublin Entwine EPT dataset, use PDAL's readers.ept to stream only the tiles you need and write a PLY that the app can load.
- Install PDAL (conda recommended):
conda install -c conda-forge pdalOr on Debian/Ubuntu (may be older):
sudo apt update
sudo apt install pdal- A sample PDAL pipeline is included at
dublin_extract_pipeline.json. Run it from the project root:
pdal pipeline dublin_extract_pipeline.json- The pipeline writes
dublin_small.ply— move it intopublic/and then run the app and load it (or use the app's upload button):
# after pdal creates dublin_small.ply
mv dublin_small.ply public/
npm run devNotes:
- The pipeline uses EPSG:3857 bounds (from the EPT metadata). Adjust
filters.cropor removefilters.sampleto control area and density. - For large datasets, prefer Potree or Entwine streaming (client-side) rather than loading huge PLY files into the browser.