Is this possible to automate in FME?
Is it also possible to run a script at an interval in fme, e.g. once per week?
Is this possible to automate in FME?
Is it also possible to run a script at an interval in fme, e.g. once per week?
Best answer by kailinatsafe
Hello @sibe, thanks for posting! This sounds like a suitable use case for FME. Automating the process will be one of the easier tasks, you might find yourself spending most time in FME Desktop designing the workflow. I’ll try my best to ask questions and make suggestions where possible.
May I ask what format reader you’re using? The first task would be to extract the LAS hyperlinks from the feature class. Out of curiousity, where are your LAS files stored? (eg. on the SSD, on the web?)
Once extracted, you can likely use a FeatureReader (LAS Reader > Read data from URL) with a spatial filter to read in the LAS files that fall within your intersection. Enabling Authentication if required. You also could perhaps consider replacing the FeatureReader with a HTTPCaller, clipping data upon read and then writing to disk.
If the LAS’s are already on disk, to delete them try using a SystemCaller. Out of curiousity, if only a part of the LAS falls within an intersected area? (eg. only part of the LAS file intersects)? Will you delete the entire file? How will you handle this?
To schedule this task, I suggest using FME Server’s Scheduling options(allows you to run workspaces at specific times in the future on a repeating or non-repeating basis) or windows task scheduler. Let me know if you have any questions about this - might take some trial/error. Happy to help, Kailin.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.