Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am looking for a method for convert orthophotomap (.adf files) to ERDAS .ecw file.

Have you got any ideas ?

Or maybe you have got any other idea how i can reduce a size of orthophotomap .adf files? Now i have got 16 GB file I want to compress it to something like 3-4GB- is it even possible?

I read that .ecw is highly compressed for raster formats...

share|improve this question
add comment

3 Answers 3

You will need a paid Licence of the ERDAS SDK as the free (gratis) SDK is read-only. As an alternative try the Geotiff format with JPG compression.

For example, using the following two commands (but you have GUIs in QGIS, for example) to convert ECWs to TIFFs you get rasters that are more or less 30% bigger than then ECWs but look the same and are also as fast as ECWs

gdal_translate -co "TILED=YES" -co "INTERLEAVE=PIXEL" -co \
"COMPRESS=JPEG" -co "PHOTOMETRIC=YCBCR" -co "JPEG_QUALITY=70" -a_srs \
"EPSG:output_epsg_projection_code" $ecw $tif

gdaladdo --config COMPRESS_OVERVIEW JPEG --config \
PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL -r cubic \
$tif 2 4 8 16
share|improve this answer
    
I already have tried to convert this .adf files to Geotiff (in ArcGIS) but i get an error that the file exceed maximum size (it can not be larger than 4 GB). –  com Jan 3 '12 at 11:45
1  
You need a copy of GDAL with BIGTiff support enabled, see gdal.org/frmt_gtiff.html I'm pretty sure that GDAL provided with FWtools, OSGeo4w, QGIS, etc. should support BIGTiff creation out of the box. –  Giovanni Manghi Jan 3 '12 at 12:06
    
What about JPEG2000? I thought it was comparable to ECW. –  dchaboya Jan 3 '12 at 13:30
add comment

You can use GDAL to convert ADF to ECW. The ECW driver is not provided by default in GDAL, you need to compile GDAL and link to the external ECW SDK libraries provided by ERDAS.

share|improve this answer
add comment

You may find my blog post helpful on demystifying ECW http://blog.webmapper.com.au/?p=556

The example actually uses a raw input dataset of around 16gb that matches your original request

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

add comment

Your Answer

 
discard

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.