Hello,
I’m just wondering what the best way to import a 3.5GB .ecw file into GRASS is?
cheers,
Mars
Hello,
I’m just wondering what the best way to import a 3.5GB .ecw file into GRASS is?
cheers,
Mars
Normally you would use GDAL compiled with the ECW library support.
BUT, I can't get it to work on OSX. It always gives me invalid image errors, and others have the same problem so it's not just me. I've asked ERmapper (uh, Leica) about it, but they only officially support 10.3.9 PPC, which is not usable on 10.4 because of C++ compiler version differences. I've asked in their forums for any user/programmers that could help, but no response.
Strangely enough, GraphicConverter uses the ECW library and works, I think it uses different library calls to read them. But GC loses the geographic info, and it doesn't handle large files very well. Because it works in GC, I also have a bug report for GDAL, but also no action on it yet.
On Jul 16, 2007, at 12:30 AM, Mars Sjoden wrote:
Hello,
I'm just wondering what the best way to import a 3.5GB .ecw file into GRASS is?
cheers,
Mars
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Oh, look, I seem to have fallen down a deep, dark hole. Now what does that remind me of? Ah, yes - life."
- Marvin
Thanks William,
Good to know.
I'll keep digging.
Mars
On 16-Jul-07, at 7:06 AM, William Kyngesburye wrote:
Normally you would use GDAL compiled with the ECW library support.
BUT, I can't get it to work on OSX. It always gives me invalid image errors, and others have the same problem so it's not just me. I've asked ERmapper (uh, Leica) about it, but they only officially support 10.3.9 PPC, which is not usable on 10.4 because of C++ compiler version differences. I've asked in their forums for any user/programmers that could help, but no response.
Strangely enough, GraphicConverter uses the ECW library and works, I think it uses different library calls to read them. But GC loses the geographic info, and it doesn't handle large files very well. Because it works in GC, I also have a bug report for GDAL, but also no action on it yet.
On Jul 16, 2007, at 12:30 AM, Mars Sjoden wrote:
Hello,
I'm just wondering what the best way to import a 3.5GB .ecw file into GRASS is?
cheers,
Mars
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/"Oh, look, I seem to have fallen down a deep, dark hole. Now what does that remind me of? Ah, yes - life."
- Marvin
Just to add,
I found this:
http://trac.osgeo.org/gdal/wiki/ECW
I'll give it a try.
Mars
On 16-Jul-07, at 7:59 AM, Mars Sjoden wrote:
Thanks William,
Good to know.
I'll keep digging.
Mars
On 16-Jul-07, at 7:06 AM, William Kyngesburye wrote:
Normally you would use GDAL compiled with the ECW library support.
BUT, I can't get it to work on OSX. It always gives me invalid image errors, and others have the same problem so it's not just me. I've asked ERmapper (uh, Leica) about it, but they only officially support 10.3.9 PPC, which is not usable on 10.4 because of C++ compiler version differences. I've asked in their forums for any user/programmers that could help, but no response.
Strangely enough, GraphicConverter uses the ECW library and works, I think it uses different library calls to read them. But GC loses the geographic info, and it doesn't handle large files very well. Because it works in GC, I also have a bug report for GDAL, but also no action on it yet.
On Jul 16, 2007, at 12:30 AM, Mars Sjoden wrote:
Hello,
I'm just wondering what the best way to import a 3.5GB .ecw file into GRASS is?
cheers,
Mars
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/"Oh, look, I seem to have fallen down a deep, dark hole. Now what does that remind me of? Ah, yes - life."
- Marvin
_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser
On 7/15/07, Mars Sjoden <amagine@telus.net> wrote:
Hello,
I'm just wondering what the best way to import a 3.5GB .ecw file into GRASS
is?cheers,
Mars
If you have access to a Windows computer, gdal_translate (part of fw
tools, fwtools.maptools.org/) should do the job. You could convert it
to an intermediate format, e.g Erdas img, then import it into GRASS.
ecw is a good format, or at least I like their politics, but it's not
handy to use on platforms other than Windows.
Rich
--
Richard Greenwood
richard.greenwood@gmail.com
www.greenwoodmap.com
Richard Greenwood wrote:
On 7/15/07, Mars Sjoden <amagine@telus.net> wrote:
I'm just wondering what the best way to import a 3.5GB .ecw file into
GRASS
is?
If you have access to a Windows computer, gdal_translate (part of fw
tools, fwtools.maptools.org/) should do the job. You could convert it
to an intermediate format, e.g Erdas img, then import it into GRASS.
ecw is a good format, or at least I like their politics, but it's not
handy to use on platforms other than Windows.
The FWTools for GNU Linux includes ECW support too. No need to switch
to Windows. You can install FWTools in a custom location of your
preference (I use $HOME/bin/FWTools). It should not interfere with
system-wide instalation of PROJ, GDAL, MapServer et. all. Works for me.
Maciek
One more possibility, just to be thorough:
If you have an Intel Mac: virtualization. Parallels is nice (I haven't tried VMWare). You can use either Windows (any version from 3.1 up), or a Linux of your choice. It's not emulation, so they run at near native speed. I may end up doing this so I can convert those Blue Marble images.
With Linux, the problem is that the communication between OSX and Linux is limited to TCP - you need to use FTP or SCP to copy the ECW to the Linux file system, then the same to copy the converted files back to OSX. But it's much cheaper
With Windows, you need a retail copy of Windows. But Parallels can directly connect the OSX disk to the Windows system - much easier to copy files back and forth, or just let the FWTools operate directly on the OSX files.
With both, though, you need to have a few GB free on the OSX file system to create the disk image for the virtualized system.
Another possibility is dual-booting an Intel Mac. Boot Camp can easily setup Windows to run natively on your Mac. The problems: need to repartition your disk, can only boot one system at a time, limited to Win XP SP2+ (can't do Win 2K ), maybe Linux possible (not well documented).
On Jul 17, 2007, at 11:59 AM, Maciej Sieczka wrote:
Richard Greenwood wrote:
On 7/15/07, Mars Sjoden <amagine@telus.net> wrote:
I'm just wondering what the best way to import a 3.5GB .ecw file into
GRASS
is?If you have access to a Windows computer, gdal_translate (part of fw
tools, fwtools.maptools.org/) should do the job. You could convert it
to an intermediate format, e.g Erdas img, then import it into GRASS.
ecw is a good format, or at least I like their politics, but it's not
handy to use on platforms other than Windows.The FWTools for GNU Linux includes ECW support too. No need to switch
to Windows. You can install FWTools in a custom location of your
preference (I use $HOME/bin/FWTools). It should not interfere with
system-wide instalation of PROJ, GDAL, MapServer et. all. Works for me.Maciek
_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"I ache, therefore I am. Or in my case - I am, therefore I ache."
- Marvin
I use Paralells + windows and have no problem to read ecw ... but the problems is that exporting ecw to something else makes files really big, the good thing will be to be able to read ecw in Mac.
In the commercial side Canvas works fine.
On Jul 17, 2007, at 7:35 PM, William Kyngesburye wrote:
One more possibility, just to be thorough:
If you have an Intel Mac: virtualization. Parallels is nice (I haven't tried VMWare). You can use either Windows (any version from 3.1 up), or a Linux of your choice. It's not emulation, so they run at near native speed. I may end up doing this so I can convert those Blue Marble images.
With Linux, the problem is that the communication between OSX and Linux is limited to TCP - you need to use FTP or SCP to copy the ECW to the Linux file system, then the same to copy the converted files back to OSX. But it's much cheaper
With Windows, you need a retail copy of Windows. But Parallels can directly connect the OSX disk to the Windows system - much easier to copy files back and forth, or just let the FWTools operate directly on the OSX files.
With both, though, you need to have a few GB free on the OSX file system to create the disk image for the virtualized system.
Another possibility is dual-booting an Intel Mac. Boot Camp can easily setup Windows to run natively on your Mac. The problems: need to repartition your disk, can only boot one system at a time, limited to Win XP SP2+ (can't do Win 2K
), maybe Linux possible (not well documented).
On Jul 17, 2007, at 11:59 AM, Maciej Sieczka wrote:
Richard Greenwood wrote:
On 7/15/07, Mars Sjoden <amagine@telus.net> wrote:
I'm just wondering what the best way to import a 3.5GB .ecw file into
GRASS
is?If you have access to a Windows computer, gdal_translate (part of fw
tools, fwtools.maptools.org/) should do the job. You could convert it
to an intermediate format, e.g Erdas img, then import it into GRASS.
ecw is a good format, or at least I like their politics, but it's not
handy to use on platforms other than Windows.The FWTools for GNU Linux includes ECW support too. No need to switch
to Windows. You can install FWTools in a custom location of your
preference (I use $HOME/bin/FWTools). It should not interfere with
system-wide instalation of PROJ, GDAL, MapServer et. all. Works for me.Maciek
_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/"I ache, therefore I am. Or in my case - I am, therefore I ache."
- Marvin
_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser
William Kyngesburye wrote:
If you have an Intel Mac: virtualization. Parallels is nice (I
haven't tried VMWare).
..
With Linux, the problem is that the communication between OSX and
Linux is limited to TCP - you need to use FTP or SCP to copy the ECW
to the Linux file system, then the same to copy the converted files
back to OSX. But it's much cheaper
random plug: "Fugu" is a nice SCP/SFTP client for OSX.
http://rsug.itd.umich.edu/software/fugu/
on the linux side you can set up a key and put it into the
~/.ssh/authorized_keys file so you don't need to enter a password in
everytime for the local machine, just copy away. (theoretically,
you'll have to try.. and you'll also have to deal to whatever security
issues that allows) see http://pigtail.net/LRP/printsrv/keygen.html
Hamish