Clipping ECW

666 views
Skip to first unread message

Rob Schneider - Aurchem Exploration

unread,
May 1, 2007, 7:17:55 PM5/1/07
to mapi...@googlegroups.com
Hi,

I have an .ecw that is about 1.35 GB (53946 x 39606) which is just too
big to handle. Is there any FREE way to clip this in mapinfo (or outside
of mapinfo)

Cheers,
Rob

Rob Schneider - Aurchem Exploration

unread,
May 1, 2007, 7:23:11 PM5/1/07
to mapi...@googlegroups.com
Sorry ignore - already asked a few weeks ago.

> .
>
>

John Elliot

unread,
May 1, 2007, 7:41:08 PM5/1/07
to mapi...@googlegroups.com
Rob,
Irfan View, a free program, will open ecw and the image can then be cropped.

Regards,

John Elliot
Anzeco Pty. Limited
mineral exploration consulting services
Bathurst, NSW 2795, AUSTRALIA

Rob Schneider - Aurchem Exploration

unread,
May 1, 2007, 8:04:30 PM5/1/07
to mapi...@googlegroups.com
Thanks. It would only show thumbnails - it errored trying to open the full file.

John Elliot wrote:


.

  

SCISOFT

unread,
May 1, 2007, 8:27:25 PM5/1/07
to mapi...@googlegroups.com

Rob

There is a free and updated version of the ER Mapper Image Compressor – but you will need to pay for image sizes larger than 50Mb (there is a sliding scale for licensing). Apart from mosaicking and compression, I believe it will also allow image trimming. You need to check out the documentation page (I am having a look to see what its capabilities are, right now).

I have always found Irfanview to be insufficient for ECW files. It can’t handle anything large.

 

IL Thomas
GeoSciSoft  - Perth, Australia


Rob Schneider - Aurchem Exploration

unread,
May 1, 2007, 8:36:37 PM5/1/07
to mapi...@googlegroups.com
Just tried it - but was very confused - just downloaded ERMapper and am using it, it will do what I want if I can figure it out. Unfortunately I am running Vista and it is not yet Vista compatible, it does run but the help files don't and I can't find a pdf manual. I have however found a forum post and am plodding through it.
This would seem like a simple project, thank god for proprietary formats to keep us busy :)

SCISOFT

unread,
May 1, 2007, 8:46:54 PM5/1/07
to mapi...@googlegroups.com

Rob

The Image Compressor v7.2 has 4 docs (PDF) and the summary one for 2007 does indicate that it has a clip regions function, which is wizard-driven. And the tutorial (which doesn’t include the Clip function) seems clearly-written for the other functions including the mosaicking.

Have you downloaded a trial version of ER Mapper itself, or of this utility?  What are the help files - .HLP format, rather than .CHM?

 

Ian Thomas
GeoSciSoft  - Perth, Australia

Rob Schneider - Aurchem Exploration

unread,
May 1, 2007, 9:01:37 PM5/1/07
to mapi...@googlegroups.com
I did have the Image Compressor installed but the wizard was very hard to use. I have since downloaded the full ERMapper but it's helpfiles are in .hlp

Rob Schneider - Aurchem Exploration

unread,
May 1, 2007, 9:13:29 PM5/1/07
to mapi...@googlegroups.com
Success. The ermapper forum post got me half way there (http://forums.ermapper.com/viewtopic.php?t=402) and I pushed enough buttons to complete the task. It looks to be the same resolution as the original and supposedly is also georeferenced (but that wasn't a need).

FYI: In my search for a solution to non-georeferenced clipping (cropping) of an ecw I did also find a Photoshop plugin that looked like a good solution but photoshop can only handle images of 30000 x 30000 pixels.

'Thanks' to everyone involved.
Cheers,
Rob

SCISOFT

unread,
May 1, 2007, 9:28:22 PM5/1/07
to mapi...@googlegroups.com

Rob- can you give the URL for the Photoshop plugin, please? There is a good chance that it also works with Canvas for Windows (now owned by ACD Systems).

 

Thanks

IL Thomas
GeoSciSoft  - Perth, Australia


From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of Rob Schneider - Aurchem Exploration
Sent: Wednesday, May 02, 2007 9:13 AM
To: mapi...@googlegroups.com
Subject: [MI-L] Re: Clipping ECW

 

Success. The ermapper forum post got me half way there (http://forums.ermapper.com/viewtopic.php?t=402) and I pushed enough buttons to complete the task. It looks to be the same resolution as the original and supposedly is also georeferenced (but that wasn't a need).

Richard Greenwood

unread,
May 1, 2007, 10:42:42 PM5/1/07
to mapi...@googlegroups.com

FW Tools can read/write/clip/reproject ECW and numerous other formats:
http://fwtools.maptools.org/
Because it is Open Source, it is not restricted to the 500MB ER Mapper
ECW encoder license. However it is command line driven, which is to
say it has a little steeper learning curve than some people are
willing to climb.

--
Richard Greenwood
richard....@gmail.com
www.greenwoodmap.com

Llewellyn, David

unread,
May 2, 2007, 1:24:21 AM5/2/07
to mapi...@googlegroups.com

Richard and Listers,

Do you know of any resource for finding examples of command line uses of
FWTools for such tasks as clipping ECW files?

Cheers

David Llewellyn

-----Original Message-----
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On
Behalf Of Richard Greenwood
Sent: Wednesday, 2 May 2007 10:43 AM
To: mapi...@googlegroups.com
Subject: [MI-L] Re: Clipping ECW

If this email has been received in error, please delete all copies and inform the National Native Title Tribunal by return email or telephone 1800 640 501. The Tribunal does not warrant that its email is virus free. All emails sent to the Tribunal are filtered for viruses and inappropriate content. Thus your email may not reach the person to whom it is addressed. Seek confirmation of receipt of your email if you consider the email important.

Rob Schneider - Aurchem Exploration

unread,
May 2, 2007, 1:34:16 AM5/2/07
to mapi...@googlegroups.com
Although I got it through a 3rd party here it is:

http://www.ermapper.com/Downloads.aspx?v=145

It installed and seemed to work with Photoshop CS3 on Vista also.

SCISOFT

unread,
May 2, 2007, 1:44:48 AM5/2/07
to mapi...@googlegroups.com

Thanks – I located it there myself. I should have remembered (in fact, I got there in a round-about way from a plugins website).

Richard Greenwood

unread,
May 2, 2007, 10:06:34 AM5/2/07
to mapi...@googlegroups.com
On 5/1/07, Llewellyn, David <dav...@nntt.gov.au> wrote:
>
>
> Richard and Listers,
>
> Do you know of any resource for finding examples of command line uses of
> FWTools for such tasks as clipping ECW files?

Most Open Source projects have a mailing list, gdal-dev is the one I'm
on, but there may be one more specific to FW Tools. The application
that you want to use is gdal_translate. The basic syntax is;
gdal_translate source.ecw destination
which will convert your ecw to a geotiff, because geotfiff is the
default output type. To generate an ecw you'd use:
gdal_translate -of ECW source.ecw destination.ecw
The -of flag sets the output format. But this is limited to 500MB. To
get past that you'd use:
gdal_translate -of ECW --config ECW_LARGE_OK YES
You can adjust the compression level with -co target=xx I use (xx=87)
You can embed projection info with something like:
-co "PROJ=TMWYO4FT" -co "DATUM=NAD83" -co "UNITS=FEET"
or you can use the free, standalone header editor from ER Mapper. You
can crop the image in two ways:
-srcwin xoff yoff xsize ysize
or:
-projwin ulx uly lrx lry
srcwin allows you to define the crop window in pixels, relative to the
source image. projwin allows you to define the clip region in
real-world coordinates.

Rich

Reply all
Reply to author
Forward
0 new messages