Skip to content

Morrizzzzz/via-appia-online-viewer

 
 

Repository files navigation

Via Appia Viewer

Beginner Tutorial

Netlify Status

Previous project (2015-2016): https://github.com/Via-Appia/PattyVis

Build Setup

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.

high resolution pointcloud locally:

You need to download and place the pointclouds data into the /static/pointclouds/highres.
The structure looks like:

img.png

Upload the PointCloud data in cloud storage

  • 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

Enable settings locally

You can change local setting by creating a .env file and enabling the settings you want to have:

LOCAL_POINTCLUDS = true
POINTS_BUDGET = 1000000

Converting big LAS files to LAZ and viewing it in Potree Desktop

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.

What you need:

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.

About

Via Appia viewer application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.8%
  • HTML 1.7%
  • Other 0.5%