Skip to main content
Question

Set Dataset in FeatureReader from feature attribute

  • August 21, 2013
  • 0 replies
  • 9 views

Hi all

 

I have a workspace where I'm using information from one set of features (municipalities) to define other datasets to read (f.i. road fences). Each feature has an attribute with the name of the dataset that should be read for this specific feature. 

 

For instance: For the feature with municipality number 501, I want to read corresponding features from the dataset K:\\.....\\0501\\...\\VSI20501.GDD, and for the feature with municipality number 522, I want to read corresponding features from the dataset K:\\.....\\0522\\...\\VSI20522.GDD.

 

 

I have been using a sub workspace and WorkspaceRunner to solve this earlier, sending the path for each dataset as a parameter for the sub workspace. But now I would like to have it all in one workspace, and figured the FeatureReader would be a good sollution. However, it is not possible to set the dataset to read in the FeatureReader from an incoming (INITIATOR) attribute. 

 

 

Could it be possible to set the dataset using a Python script or something? 
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.