Summary
ERDAS Imagine and ArcInfo use the same variable name IMAGINE_HOME for different libraries. This can cause problems when using both on the same system.
Procedure
- Find the IMAGINE_HOME path for ArcInfo and Imagine. For example, ArcInfo 8.x and Imagine 8.3.1 on a Sun might have the following paths for IMAGINE_HOME.
ArcInfo: $ARCHOME/raster
Imagine: /usr/imagine/830 - Write a script that will set the correct path for ArcInfo and then start ArcInfo. Call this script 'go_arc':
Code:
# go_arc
setenv IMAGINE_HOME $ARCHOME/raster
arc
- Write a second script that sets the correct path for Imagine and then starts Imagine. Call this script 'go_img':
Code:
# go_img
setenv IMAGINE_HOME /usr/imagine/830
imagine
- To run ArcInfo, open a terminal window and run 'go_arc'. To run Imagine at the same time, open a second terminal window and run 'go_img'.