Hi, I have an issue which could potentially be solved in different ways, and I want to put this out to see if people have better solutions. It is probably best explained with a simple example:
A user requests output of a collection of data - X-points, X-polylines, X-polygons
So we have a list of what they want. The data will be read from three Postgis tables and output dynamically using the Postgis schema to a FGDB. The user will then be sent the FGDB along with one layer file showing the three datasets.
However the geographic area the user has requested data for contains no X-points data, so currently all that is exported is the X-polylines and X-polygons and the layer file contains a broken link for X-points. I am looking for the best way to write an empty X-points feature class to the FGDB so this link remains but isn't broken.
My initial thought is too look at the list the user has requested, then compare it to what is read from Postgis. Then I'd have to create a dummy feature class with a single entry with some sort of text-string flag and write that to the FGDB. I would also need a separate reader to bring in the schema of missing
X-points data set, regardless of the user geographic request area. Then maybe I could use the DatabaseDeleter to delete any entries with this flag?
Am I missing a much simpler solution?
Many thanks