Previous project (2015-2016): https://github.com/Via-Appia/PattyVis
Enable eslint --fix on file save
in your code editor.
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# generate static project
$ yarn generate
Archeological pointcloud viewer for use in a museum setting. Based on storylines (narratives) that are defined by an artist or expert, a user should be able to view multiple storylines , all consisting of multiple pages.
You need to download and place the pointclouds data into the /static/pointclouds/highres
.
The structure looks like:
- You need to have installed locally gsutils
- log in you google account to get writing permissions
- Navigate to the root where the data folder is placed and start the copy of the files to the google cloud storage:
gsutil -m cp -r ./data gs://via-appia-20540.appspot.com
- Access the cloud storage dashboard here
You can change local setting by creating a .env
file and enabling the settings you want to have:
LOCAL_POINTCLUDS = true
POINTS_BUDGET = 1000000
To make things easier you can use windows. it is possible to compile the PotreeConverter and LasZIP for Linux and Mac but you have to do it yourself.
- Your LAS file, (in our case has been a 17GB size file).
- PotreeConverter
- Download here PotreeConverter_1.7_windows_x64.zip
- Potree Desktop (optional, use it to test your converted files)
Only PotreeConverter 1.7 is able to compress the LAS files. It will result in many small files. PotreeConvert 2 only uses one file, but it doesn't compress, so the resulting point cloud will be as big as the original LAS.
Navigate to the folder where PotreeConverter is, and run the command (replace the <names>):
./PotreeConverter.exe .\<fileName>.laz -o ./<outputDirectory> --output-format LAZ
Once the process has finished, you can drag and drop the new output directory to PotreeDesktop 1.8.