Hello Forum,
I have a workspace which consumes an incoming geojson and then outputs three .tab files based on datestamp value combinations (via TestFilters):
- Active sites – where the start_date datestamp is in the past and the end_date datestamp is in the future
- Closed sites - where the start_date datestamp is in the past and the end_date datestamp is in the past
- Upcoming sites - where the start_date datestamp is in the future past and the end_date datestamp is in the future
This workspace is doing exactly what I want it to do, so far.
However, it’s entirely possible that there may be occasions when no object falls into one of the categories (e.g.: Upcoming sites). At the moment, if that happens then the workspace does not create an output. In this scenario I’m left with the most recent previously created output, where there were Upcoming objects. But in this scenario I need the workspace to create a tab output , but with no objects within it.
Is it possible to programme this in into the workspace? Perhaps within the FeatureWriters?
Thanks,
Stuart