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.
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.
I think after feature writer before Emailer, you can put Sampler and only grab 1st feature. This should only send 1 email.
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.
totally missed the last part of your reply lol. I need more coffee Glad you got that fixed!