Skip to main content
Best Answer

Workspacerunner without writing

  • June 24, 2020
  • 2 replies
  • 28 views

alc33
Contributor
Forum|alt.badge.img+13

Hi!

I have 2 workspaces. The first output shp files. The second workspace call the first.

I would like to run the first on the second, but not export shp.

I have this problem because my first workspace is used for differents uses, so in some cases I have a second workspace and in others cases I have not.

I look on the parameters of workspacerunner and featurewriter but I don't find the solution.

Thanks

Best answer by ebygomm

One way would be to create a parameter on the workspace that outputs shape files with two choices, yes and no, introduce a tester which tests for the value of this parameter and only output features that pass the test to a shapefile writer

You will then be able to set this parameter in a workspace runner to control whether the child workspace outputs shape files or not

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.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • Best Answer
  • June 24, 2020

One way would be to create a parameter on the workspace that outputs shape files with two choices, yes and no, introduce a tester which tests for the value of this parameter and only output features that pass the test to a shapefile writer

You will then be able to set this parameter in a workspace runner to control whether the child workspace outputs shape files or not


alc33
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • June 25, 2020

Perfect!

Just a little question associated. There is a way to show the parameters of the workspace runner directly on the form when the workbench run ? I have a lot of published parameters and it will be more easy to not have to rewrite all of them on the second workbench (where is the workspace runner).

Thanks!