So, the new ERDAS IMAGINE Spatial Model is pretty cool, huh? You like the look and feel, like the flow, like the ability to plug in Python and custom C Scripts. But where do you start? How can I get some examples of how the experts are doing it? Today’s From the Developers post features advice from Mingzhen Chen on how to get started.
Where can I learn Spatial Modeling?
Hexagon Geospatial has launched a new eTraining page, where customers with software maintenance support can access training videos on demand. The Creating a Spatial Model in ERDAS IMAGINE free course will walk you through how to create a simple spatial model in ERDAS IMAGINE.
But what if I already have a bunch of spatial models built in the old Model Maker?
There is no need to reinvent the wheel. If you have a bunch of models that help you, you certainly want to keep using them. The new Spatial Modeler can open the old Model Maker .gmd files and automatically convert them to the new interface.
Can you show me some more complex examples of the Spatial Models?
Sure. We believe in the Spatial Modeler so much that we actually use it to power much of ERDAS IMAGINE. If you want to see how we build models, you can go to <IMAGINE_HOME>\etc\models and open any of our .gmdx files in the Spatial Modeler. Feel free to copy parts of those and paste them into your own model.
What if I want to tweak the indices in IMAGINE to make my own custom indices in Spatial Modeler?
With a never-ending barrage of new sensors and analytical methods, you may want to add your own custom indices. The Indices dialog, like an increasing number of dialogs in IMAGINE, lets you launch the spatial model directly from the interface.
- Select Indices in Unsupervised Classification group in the Raster tab.
- Add your input file.
- Check on Show All and select an Index which most closely resembles your desired formula.
- Click View to open the selected index in the Spatial Model Editor.
- Now you can easily modify the formula to create your own to custom index.
- Select Save as and enter a name for your index.
It can be run in Spatial Model Editor, via a simple dialog that is automatically generated or in batch.
Good luck and Happy Modeling!