Skip to main content
Question

How to process feature types one at a time for LAS files stored in a zipped folder (that contains many many zips!!)

  • July 25, 2023
  • 1 reply
  • 18 views

aaronp_osni
Contributor
Forum|alt.badge.img+3

Hi folks, I have LAS files that are in zipped and stored in a folder. There are 16 LAS files to each zip. Furthermore there are about 100 zips in the folder I'm accessing the data from! The zip files are about 2.5GB on average and I would like to process each zip at a time (sheet1.zip, sheet2.zip etc). I'm adding height attribution to building polygons using a clipper which is a blocking transformer, then the point cloud statistics calculator.

 

I can use the Directory reader to produce a list of zipped files and feed these into a Feature Reader, then use a clipper to clip the LAS data to the building polygons. However the clipper is a blocking transformer which will wait for the FeatureReader to finish. Ideally I want one building polygon dataset for each zip (sheet1.shp, sheet2.shp etc). I need to somehow loop back to the start of my workspace and start again with the next file on the list produced by the directory reader. Anyone have any ideas?

1 reply

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • July 28, 2023

Hi @aaronp_osni​,

Use the Directory reader to produce a list of zipped LAS files, then send them to a WorkspaceRunner transformer. In the WorkspaceRunner, run a second workspace that clips each file individually.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings