Question

Dynamically using a csv created from a feature writer as the Joiner reader

  • 17 November 2017
  • 1 reply
  • 1 view

Badge

How would I go about getting a Joiner to read from a CSV created earlier on in a workbench?

Currently the workbench extracts coordinates from las files and writes them out to three separate csv's; (Ground, Vegetation and Building) by using a Feature Writer. After a Python distance calculation Vegetation and Building values are then merged separately with Ground, with X and Y being the Requester and Supplier. This takes a considerable amount of time. I'm tested out using a Joiner with the Ground csv being the Reader and it cuts down the processing time. How would I do this dynamically within a workbench and set a Joiner to read a csv that has yet to be created?


1 reply

Badge +1

You could try using an InlineQuerier transformer instead - that will write any input features to a temporary database (spatiaLite) and then you can specify your output ports with sql statements, i.e. specify your join in the sql. It's usually really speedy too!

Reply