Skip to main content
Solved

Generic Writer - LAS format / Allow user to select format


galigis
Enthusiast
Forum|alt.badge.img+19

HI All,

I have prepared a workspace that allows the user to clip a LAS file and export it to LAS or DWG. I was thinking to use the GenericWriter to include the options for the user….but the transformer fails when trying to export as LAS. The reason for that is because I have included a PointCloudToPointCoercer right before the writer to make sure the points are written to DWG however the fme_point geometry isn’t allowed by the LAS format as requires point cloud geometry. Here is a visual screenshot of the workspace:

 

I have included (for now) an additional LAS writer that skips the PointCloudToPointCoercer and writes the LAS file as point cloud geometry…

How can I modify the User Parameters to allow the user to chose one writer (LAS) or the other (DWG)? 

 

Best answer by carlm

A Choice User Parameters and put a Tester or TestFilter before sending it to your Writers so based on what the user choose it will send it to the Format that he wants.

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

carlm
Contributor
Forum|alt.badge.img+12
  • Contributor
  • Best Answer
  • May 6, 2025

A Choice User Parameters and put a Tester or TestFilter before sending it to your Writers so based on what the user choose it will send it to the Format that he wants.


galigis
Enthusiast
Forum|alt.badge.img+19
  • Author
  • Enthusiast
  • May 6, 2025

Thanks ​@carlm brilliant! it has worked perfectly :) below an screenshot for completeness,

 


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