5

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...

closed as too broad by PolyGeo Apr 10 '17 at 22:05

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

5

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
  • 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
  • 2
    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
2

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.

1

You may find my blog post helpful on demystifying ECW.

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

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.

0

You can use Global Maper software for that.

  1. Load your raster
  2. Go to File
  3. Export raster format
  4. Select ecw or some other and check boxes for creation tfw and prj

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