Skip to main content
Question

Visualize feature and decide to output it or not (python caller)


Forum|alt.badge.img
For a particular process we hace come to conclusion that we have to do an eye check on the feature to decide if we want to pass it to the writer or not.

 

 

Is it possible with a python caller (or other transformer) to show the features individually in a viewer with a button to route the feature to the writer and another that skip it?

 

7 replies

takashi
Influencer
  • June 30, 2014
Hi, FME Workbench menu: Writers > Redirect to Inspection Application?

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 30, 2014
There is even write basic tester for the inspector and you can also set inspectionpoints for your workbench.

 


Forum|alt.badge.img
  • Author
  • June 30, 2014
Thank you but I need to see the geometry and then decide if I send the feature to the next transformer or not.

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 30, 2014
I see,

 

 

Well then u can still use the inspector, and collect the id's i guess.

 

Then run workspace with id's as routingfilter.

Forum|alt.badge.img
  • Author
  • June 30, 2014
Gio, Yes, but that's this step that we dont want to do. For a lot of features to check, we would like to just have to do a click to keep or reject it.

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 30, 2014
A tiny UI written in python or rk/tcl that would be then?

Forum|alt.badge.img
  • Author
  • June 30, 2014
Yes, im trying matplotlib to plot the geometry but the I have some problems plotting Multipolygon...

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