Skip to main content
Question

How can I see several layers in the Data Inspector?

  • September 9, 2020
  • 7 replies
  • 347 views

so_much_more
Supporter
Forum|alt.badge.img+6

I run my workbench with feature caching on and I want to evaluate my result. i.e display both my polygon layer together with my lines to evaluate that my lines has been clipped properly. When clicking on the green magnifying glass only that layer open in data inspector. But I want add any numbers of layers into the same view.

 

7 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

Connect Inspectors to the outputports. (Right click on the outputport, "Connect Inspector".) Then hit "Run Workpace". When it is finished it will open the Data Inspector with the data from the Inspectors.

 

Tip: As I work with multiple monitors, I prefer to have a different window with a large Data Inspector, instead of the small integrated "Visual Preview" window. You can switch this via Tools, Options, tab Workspace, checkbox "Inspect with Data Inspector when Visual Preview window closed".


so_much_more
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • September 9, 2020

Do I need to rerun the entire workspace, no way around it? I run it in feature caching mode becasue the clippings I am doing take a long time so I try to avoid rerunning the entire workbench just to display output from two different transformers in the same data insepction window. Re-running would take my workbech nearly 10 minutes for each iteration.


nielsgerrits
VIP
Forum|alt.badge.img+54
so_much_more wrote:

Do I need to rerun the entire workspace, no way around it? I run it in feature caching mode becasue the clippings I am doing take a long time so I try to avoid rerunning the entire workbench just to display output from two different transformers in the same data insepction window. Re-running would take my workbech nearly 10 minutes for each iteration.

If you used FeatureCaching, the only changed items are the Inspectors, so it should be very fast, only outputting the cached data to the Inspectors. Only the changes and downstream from the changes will be rerun on a workspace using FeatureCaching.

Another tip: If you use FeatureCaching, the translation can get very slow due to a lot of I/O of caching data. To prevent every transformer to be cached, put the "not to be cached" transformers in a bookmark and close the bookmark. Now it only will cache the outputports of that bookmark, not the entire internal processes.


so_much_more
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • September 9, 2020
nielsgerrits wrote:

If you used FeatureCaching, the only changed items are the Inspectors, so it should be very fast, only outputting the cached data to the Inspectors. Only the changes and downstream from the changes will be rerun on a workspace using FeatureCaching.

Another tip: If you use FeatureCaching, the translation can get very slow due to a lot of I/O of caching data. To prevent every transformer to be cached, put the "not to be cached" transformers in a bookmark and close the bookmark. Now it only will cache the outputports of that bookmark, not the entire internal processes.

Sorry I dont really understand what you mean. I can display the cached features quickly yes, but I can only display one layer at the time in the data inspection window. If i click the Run button all data is being read again. I am hoping to only need to connect two inspectors and display both outputs at the same time. maybe I am doing something wrong. But whenever I am pressing run the entire workbench is being run each time.


nielsgerrits
VIP
Forum|alt.badge.img+54
nielsgerrits wrote:

If you used FeatureCaching, the only changed items are the Inspectors, so it should be very fast, only outputting the cached data to the Inspectors. Only the changes and downstream from the changes will be rerun on a workspace using FeatureCaching.

Another tip: If you use FeatureCaching, the translation can get very slow due to a lot of I/O of caching data. To prevent every transformer to be cached, put the "not to be cached" transformers in a bookmark and close the bookmark. Now it only will cache the outputports of that bookmark, not the entire internal processes.

Sorry for the bad wording. Just "Run Workspace", not "Rerun Entire Workspace".


so_much_more
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • September 9, 2020
nielsgerrits wrote:

If you used FeatureCaching, the only changed items are the Inspectors, so it should be very fast, only outputting the cached data to the Inspectors. Only the changes and downstream from the changes will be rerun on a workspace using FeatureCaching.

Another tip: If you use FeatureCaching, the translation can get very slow due to a lot of I/O of caching data. To prevent every transformer to be cached, put the "not to be cached" transformers in a bookmark and close the bookmark. Now it only will cache the outputports of that bookmark, not the entire internal processes.

Yes ok, i understand. I tried it on a smaller dataset and it worked as you described. Must have done something wrong before. Thank you for helping me out!


germang
Contributor
Forum|alt.badge.img+12
  • Contributor
  • September 9, 2020

Alternatively, in FME2019 and earlier versions, you can hold Ctrl key to select multiple green magnifying glasses. In FME2018 and older versions, you can hold Ctrl key to select multiple transformers and then right-click on any to select "Inspect cached features..."


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