[Mapserver-users] Batch raster to ecw

J. Delfos delfos18 at yahoo.com
Fri Feb 6 03:15:10 EST 2004


Hi Richie,

The er mapper compressor does allow commandline input, e.g.:

ecw_compress_free.exe dem.tif -o dem.ecw -nowait

the inputfile is dem.tif, the outputfile is dem.ecw.

To do batch processing, do this:

- use a command like:

      dir /b /s > dir.txt

    This will produce a textfile with all your ecw files in it. Then dump
this in excel, in the column before the one with your file names, you put:

ecw_compress_free.exe dem.tif -o dem.ecw -nowait

- Then in the column to the right of your filenames, you use the
concatenate (A1+A2) function. Paste this into DOS (rightclick for copy and
paste), and your files are batch processed.

regards,

Jacob



--- Richie Pierce <Richard.Pierce at mail.state.ar.us> wrote:
> I was wondering if anyone knows of a free raster to ecw compressor that
> has batch capabilities.  I have been using the free ER Mapper but the
> free tool doesn't allow batching.  Thanks in advance
> 
>  
> 
> Richie Pierce
> 
> GIS Cadastral Specialist
> 
> Arkansas Geographic Information Office
> 
> 124 W. Capitol St.
> 
> Little Rock, AR 72201
> 
> (w) 501-682-2937
> 
> (c) 501-416-CAMP
> 
> www.gis.state.ar.us
> 
>  
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html



More information about the mapserver-users mailing list