IMAGINE Discussions

Discuss and share topics of interest using ERDAS IMAGINE the world’s leading geospatial data authoring system.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 106
Registered: ‎06-03-2016
Accepted Solution

HOWTO: Globally replace operators in your model

I had a model with a large chain of repeating elements and realized that I should have used the GT operator throughout instead of GE.

 

Rather than manually replace each GE with a GT, I closed the model, made a copy of the GDMX file, opened it in a text Editor and did a global replace on "<Operator Namespace="IMAGINE" Name="Ge">" with "<Operator Namespace="IMAGINE" Name="Gt">" and it worked!

 

If you run into the same situation for a portion of your model, you could probably copy-paste a selection into it's own model, do your global replace, test, then copy paste it back into your original model and only deal with rewiring at the boundaries.

 

 

Highlighted
Anonymous
Posts: 0

Re: HOWTO: Globally replace operators in your model

Great how to! Smiley Happy