Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using ERDAS Imagine to batch produce NDVIs from NAIP imagery. I need to also replace the default file name (e.g. "m_3610132_nw_14_1_20100503") with a user friendly file name (e.g. 3610132nw). How can I change the edit replacement pattern in the batch wizard to output a subset of the original filename?

Example: z:/project/studyarea_8_naip/ok_naip/temp_out/$(Input.pathright)$(Input.root)

yields => m_3610132_nw_14_1_20100503

However, I want the output to be simply 3610132nw

share|improve this question
To merge multiple user profiles, Aaron, please visit (Moderators can no longer do this for you.) – whuber Jul 11 '14 at 19:50

I'm not sure how to do this in ERDAS but I've previously used a program called ReNamer (download link for such batch renaming tasks. Perhaps this might be useful.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.