[GRASS-user] Importing ECW file into GRASS 6.3

Markus Neteler neteler at osgeo.org
Sat Oct 11 08:42:31 EDT 2008


On Fri, Oct 3, 2008 at 5:33 PM, Edward Tomlinson <e.j.tommo at gmail.com> wrote:
> Hi,
>
> I am having trouble importing ECW files into grass6.3
>
> I compiled gdal 1.5.2 with ECW support (built ECW 3.3 files).
>
> $gdalinfo --version
> GDAL 1.5.2, released 2008/05/09
>
> When i do --formats it lists .ers and .ecw. However when i try and import
> either of the file types i get the following error
>
> not recognised as a supported file format

I suspect that you have two GDAL libraries in parallel on your system.

GRASS support in GDAL is best done via plugin mode,
see
http://grass.osgeo.org/wiki/Compile_and_install_GRASS_and_QGIS_with_GDAL/OGR_Plugin

If you use Linux, you can use
 ldd `which r.in.gdal`
to see where the GDAL lib is located.

Markus


More information about the grass-user mailing list