Skip to main content
Solved

How to populate search envelope parameters from a file


aaron
Contributor
Forum|alt.badge.img+10
  • Contributor

I have a CSV file containing the four values of a bounding box. I would like to read the file into FME and populate the four search envelope values of an SDE reader in order to clip the data to the search envelope when reading the data. How do I populate those four values from the file?

Thanks,

Aaron

Best answer by redgeographics

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.

View original
Did this help you find an answer to your question?

8 replies

redgeographics
Celebrity
Forum|alt.badge.img+50
  • Celebrity
  • Best Answer
  • January 17, 2019

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.


aaron
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • January 25, 2019

@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?


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • January 27, 2019
aaron wrote:

@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.


aaron
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • January 28, 2019
itay wrote:

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!


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • January 28, 2019
aaron wrote:

Thanks @itay, that worked!

Glad I could help.


amdubois
  • February 20, 2022

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.

 

image 

Thanks for your help!


redgeographics
Celebrity
Forum|alt.badge.img+50
amdubois wrote:

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.

 

image 

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.


amdubois
  • February 21, 2022

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings