Question

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


Badge
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

Userlevel 2
Badge +17
Hi, FME Workbench menu: Writers > Redirect to Inspection Application?
Badge +3
There is even write basic tester for the inspector and you can also set inspectionpoints for your workbench.

 

Badge
Thank you but I need to see the geometry and then decide if I send the feature to the next transformer or not.
Badge +3
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.
Badge
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.
Badge +3
A tiny UI written in python or rk/tcl that would be then?
Badge
Yes, im trying matplotlib to plot the geometry but the I have some problems plotting Multipolygon...

Reply