[gdal-dev] Fw: Building GDAL with ECW support

pteroglossus at pm.me pteroglossus at pm.me
Mon Feb 8 16:03:46 PST 2021


Hi Markus, Richard, and everyone who helped,

You'll be relieved to read that:

1. I finally managed to display my maps both in .ecw and .tif (I figured out the color "problem"...)
2. This is my final message on this thread! :D

I realise now that most of my questions pertained more to compiling and Linux file structure in general than actual GIS problems. Thank you all for your patience and your time!

I learnt a lot thanks to you.

Portez-vous bien,
Kevin

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, February 8, 2021 4:22 PM, Markus Neteler <neteler at osgeo.org> wrote:

> On Mon, Feb 8, 2021 at 12:47 PM Pteroglossus via gdal-dev
> gdal-dev at lists.osgeo.org wrote:
>
> > Thank you Markus for the explanation, you were right, I had conflicting libraries. I "located" every "gdal" files, deleted them all, started over from scratch and...
> > "(Sun Feb 7 22:51:56 2021)
> > r.in.gdal -f
> > ECW (rw+): ERDAS Compressed Wavelets (SDK 5.5)
> > JP2ECW (rw+): ERDAS JPEG2000 (SDK 5.5)"
>
> Great, GDAL-GRASS problem solved.
>
> > However:
> > "(Sun Feb 7 22:52:28 2021)
> > r.import input=/media/k/Data/Data/Perso/Carto/SCAN50_2012.ecw output=SCAN50_2012 -o
>
> --> run this on command line, to get the import done
>
> ... because:
>
> > No projection information available
> > Over-riding projection check
> > Importing 3 raster bands...
> > Importing raster map <SCAN50_2012.1>...
> > Importing raster map <SCAN50_2012.2>...
> > Importing raster map <SCAN50_2012.3>...
> > (Sun Feb 7 23:51:01 2021) Command finished (58 min 33 sec)
> > Traceback (most recent call last):
> > File "/usr/local/grass79/gui/wxpython/core/gconsole.py",
> > line 691, in OnCmdDone
> > event.onDone(event)
> > File
> > "/usr/local/grass79/gui/wxpython/modules/import_export.py",
> > line 518, in OnCmdDone
> > self.AddLayers(event.returncode, event.cmd, event.userData)
> > File
> > "/usr/local/grass79/gui/wxpython/modules/import_export.py",
> > line 276, in AddLayers
> > if not self.add.IsChecked() or returncode != 0:
> > RuntimeError
> > :
> > wrapped C/C++ object of type CheckBox has been deleted"
> > I do not have the slightest idea what could have caused that.
>
> You are hit by a current GUI bug:
> https://github.com/OSGeo/grass/issues/648
>
> which is unrelated to GDAL.
>
> FYI I did not encounter any issue during the compilation and
> installation processes.
>
> > I've never been closer to importing my .ecw into GRASS GIS, could you nudge me in the right direction one last time?
>
> Yes:
>
> Best is: run the import on command line for now.
>
> For the unrelated GUI bug:
>
> -   either switch to GRASS GIS 7.8, or
> -   wait for the bugfix in G 7.9 (which is a dev version anyway). For
>     this you can subscribe to the bug to see the related updates.
>
>     HTH,
>     Markus
>




More information about the gdal-dev mailing list