Hi Tanja,
 
This batch syntax worked for me:
 
import_raster_trans c:\93k055_alb.ecw c:\temp\test2.ers
import_raster_trans c:\93k056_alb.ecw c:\temp\test3.ers
 
I saved the text file as a import_ecw.bat in my c:\ERMapper62\bin\win32\ directory.
 
I also had a similar problem with making my shaded colours match up with my elevations, here's a solution sent to me by Eric Augenstein of Earth Star Geographics:
 

Thanks for your help.  I knew there would be a easy solution, I just
couldn't see it.  I end up using the formula "CEIL(i1/100)" and it worked
out perfectly.  Thanks again.

Adam
 
>I am trying to produce a map with hypsometric shading and contour lines.  I
>am having trouble matching the hypsometric colour changes to the contour
>intervals (i.e. 0-900 metres should be green, but the green colour ends at
>950 metres).

There are several ways to do this. Take a look at the algorithm
"DTM_100m_vector_contours" in Application_Land_Info. Is that what
you want to accomplish?  If so, it uses a formula to theshold the DEM into
100m increments. The contours were created using raster->vector conversion
on the thresholded image, but the contour wizard would probably work also.
 
----- Original Message -----
From: "Tanja Cooper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 2:42 AM
Subject: batch script and grid-colours

> Dear all,
>
> I was wondering if anyone could help me with the following problems I've
> got with ER Mapper:
>
> 1. I need to decompress hundreds of ecw files. I found a command line
> program called import_raster_trans, but it doesn't seem to work.
> How can I use this command line in a batch file and what is the correct way
> of specifying the input/output file directory ?
>
> 2. I have used the Gridding Wizard to create a grid from my XYZ points. Now
> I would like to relate certain colours to certain elevation values.
> How can I achieve this ?
>
> Thank you very much.
> Tanja
>
> -----------------------------------------------------------
>
> To make changes to your subscription, please visit our website,
http://www.ermapper.com/technicl/ermapperl/index.htm
>

Reply via email to