Skip to main content
Solved

Generic Writer - LAS format / Allow user to select format

  • May 6, 2025
  • 2 replies
  • 36 views

galigis
Enthusiast
Forum|alt.badge.img+20

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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+16
  • 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+20
  • Author
  • Enthusiast
  • May 6, 2025

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