Skip to main content
Solved

FeatureWriter and multiple point (not multipoint) data

  • March 4, 2025
  • 4 replies
  • 58 views

jonas_nelson
Enthusiast
Forum|alt.badge.img+25

I have a workspace where the user should be able to export a DEM grid in several different fileformats (a user parameter for the output filetype). Then I have a FeatureWriter for the output. It works well if I want to output a raster DEM (e.g. a GeoTIFF), but if I want to output the data as a DWG with a point grid, I get several thousands of Features exported.

Of course, I could make a workspace with a lot of different filetype Writers instead, but a single Feature Writer would be nicer.  Is there a way to consolidate all the thousands of DWG points into one DWG? I dont really want a DEM consisting of one multipoint either.

Best answer by panda

I think after feature writer before Emailer, you can put Sampler and only grab 1st feature. This should only send 1 email.
 

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.

4 replies

jonas_nelson
Enthusiast
Forum|alt.badge.img+25
  • Author
  • Enthusiast
  • March 6, 2025

My problem wasn’t really that the FeatureWrtiter outputted a lot of separate features (it still only wrote one output file), but that when I connected an Emailer to the output (to inform the user that there was a file to download), I got one email per feature!
This however is now solved with a Sampler before the Emailer, so that I only send out one email even if there are 50 000 point features in the output.

So, the problem is solved.


panda
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • Best Answer
  • March 6, 2025

I think after feature writer before Emailer, you can put Sampler and only grab 1st feature. This should only send 1 email.
 


jonas_nelson
Enthusiast
Forum|alt.badge.img+25
  • Author
  • Enthusiast
  • March 6, 2025

I think after feature writer before Emailer, you can put Sampler and only grab 1st feature. This should only send 1 email.
 

That’s exactly my solution.

 


panda
Enthusiast
Forum|alt.badge.img+20
  • Enthusiast
  • March 6, 2025

totally missed the last part of your reply lol. I need more coffee 🤣 Glad you got that fixed!