We've noticed an issue with using the endsWith function to grab lanes.fb files. S3 will grab the first file that ends with lanes.fb to display in potree. Usually we have two lanes (lanes.fb and original-lanes.fb). This usually works as intended because the files are organized alphanumerically in S3, meaning we pull up lanes.fb before original-lanes.fb. We break this when we add lanes files that begin with any number or letter before "L". A simple fix would be to use a matching function that matches exactly the regex expression for "lanes.fb". The alternative would be to load all lanes.fb files (already an issue).
We've noticed an issue with using the endsWith function to grab
lanes.fb
files. S3 will grab the first file that ends withlanes.fb
to display in potree. Usually we have two lanes (lanes.fb
andoriginal-lanes.fb
). This usually works as intended because the files are organized alphanumerically in S3, meaning we pull uplanes.fb
beforeoriginal-lanes.fb
. We break this when we add lanes files that begin with any number or letter before "L". A simple fix would be to use a matching function that matches exactly the regex expression for "lanes.fb". The alternative would be to load all lanes.fb files (already an issue).