[Gdal-dev] tiff to jp2ecw

Mark Overmeer mark at overmeer.net
Mon May 29 05:59:24 EDT 2006


Hi,

I am translating a geotiff into jpeg2000/ecw using gdal_translate in
FWTools 1.0.0a7 linux (gdal 1.3.1)

The command I try is this:

   gdal_translate input.tif -of JP2ECW -ot Byte -co TARGET=0 output.jp2

However... there are two problems:
 (1) the input.tif (geotiff) contains 6 images, created with
       geotifcp [123456].tif input.tif
     however, the resulting output.jp2 contains only one image (the first)

 (2) "gdalinfo output.jp2" says:
       Driver: JP2KAK/JPEG-2000 (based on Kakadu)
     where I expected JP2ECW

Are these FWTools related (build related) or a GDAL problems?
Are there any known work-arounds?
Any help is welcome.
-- 
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net



More information about the Gdal-dev mailing list