Easiest way to do that is read the CSV file using the regular CSV reader and then a FeatureReader for the SDE. You can then set the search envelope parameters from the attributes you got out of the CSV.
@redgeographics solution definitely works but ideally we would like to use an ArcSDE GeoDB reader and populate the four Search Envelope parameters from a file. Is that possible?
@redgeographics solution definitely works but ideally we would like to use an ArcSDE GeoDB reader and populate the four Search Envelope parameters from a file. Is that possible?
One way to do that would be to use a CSV reader and have a second workspace (where the SDE reader resides) run via the WorkspaceRunner. Just make sure that you create user parameters from the search envelop parameters in de workspace with the SDE reader.
One way to do that would be to use a CSV reader and have a second workspace (where the SDE reader resides) run via the WorkspaceRunner. Just make sure that you create user parameters from the search envelop parameters in de workspace with the SDE reader.
Thanks @itay, that worked!
Hello,
I know this post is a bit old but I can't seem to understand how to publish search envelope parameters. Usually, there is an arrow next to a variable where this is possible, and I don't see any here.
Thanks for your help!
Hello,
I know this post is a bit old but I can't seem to understand how to publish search envelope parameters. Usually, there is an arrow next to a variable where this is possible, and I don't see any here.
Thanks for your help!
It looks like you can't create user parameters for them when you're adding the reader, but once it's added you can go in to the Navigator and do that. At that point it will re-open that parameters dialog and the option to create user parameters will be available.