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

2021-02-08 Thread Pteroglossus via gdal-dev
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

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

2021-02-08 Thread Markus Neteler
On Mon, Feb 8, 2021 at 12:47 PM Pteroglossus via gdal-dev 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

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

2021-02-08 Thread Pteroglossus via gdal-dev
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)"

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

2021-02-06 Thread Markus Neteler
On Sat, Feb 6, 2021 at 2:38 AM Pteroglossus via gdal-dev wrote: > > Regarding the compilation of GRASS: pointing to my existing install of GDAL > prior the compiling process did not work. That's unexpected. Perhaps the resulting binary still picks the wrong GDAL library? Please check if you

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

2021-02-05 Thread Pteroglossus via gdal-dev
Regarding the compilation of GRASS: pointing to my existing install of GDAL prior the compiling process did not work. So I followed Richard's advice and restarted the whole process of compiling GDAL, without the --prefix, then configured and compiled GRASS, and it worked! I mean I was able to

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

2021-02-05 Thread Pteroglossus via gdal-dev
Hi Lars, thanks you for the link. I was able to reduce the file's size to 1.2 GB. I should have reread Richard's early messages, he did mention JPEG compression and YCBCR colors. I used: k@k-GS60-6QE:~$ gdal_translate -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co TILED=YES

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

2021-02-04 Thread Richard Duivenvoorde
On 2/4/21 9:54 PM, Markus Neteler wrote: >> Therefore, I'm gonna need to tell the compiler to get GDAL from the folder >> it's been installed in. > Well, if you installed GDAL with "make install" it should be there > (ok, probably in /usr/local/bin/ and not /usr/lib/). Well, as I did not know

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

2021-02-04 Thread Markus Neteler
On Thu, Feb 4, 2021 at 9:01 PM wrote: ... > As for installing GRASS GIS, I suspected it wouldn't be as easy as a normal > apt-get install... It is as easy as that but in your "special" case you do not want to default GDAL. > Thanks Markus for your input, I read the Quick_instructions for

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

2021-02-04 Thread Lars Schylberg
To reduce size this guide is still good: http://blog.cleverelephant.ca/2015/02/geotiff-compression-for-dummies.html /Lars S. Den 2021-02-04 kl. 21:00, skrev Pteroglossus via gdal-dev: Richard, thanks you for your support, I would not have done it without you! I tried to convert one of my

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

2021-02-04 Thread Pteroglossus via gdal-dev
Richard, thanks you for your support, I would not have done it without you! I tried to convert one of my files as suggested: k@k-GS60-6QE:/media/k/Data/Data/Perso/Carto$ gdal_translate -of GTiff SCAN50_2012.ecw SCAN50_2012.tif Input file size is 75000, 95000

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

2021-02-04 Thread Markus Neteler
On Thu, Feb 4, 2021 at 9:28 AM Richard Duivenvoorde wrote: > On 2/4/21 1:55 AM, pteroglos...@pm.me wrote: > > Installing libproj-dev did the trick, I was able to run the config file, > > rename/copy the necessary folders in the SDK, then "make"/ "make install", > > encountered some issues

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

2021-02-04 Thread Richard Duivenvoorde
On 2/4/21 1:55 AM, pteroglos...@pm.me wrote: > Installing libproj-dev did the trick, I was able to run the config file, > rename/copy the necessary folders in the SDK, then "make"/ "make install", > encountered some issues during the process but: > > k@k-GS60-6QE:~/bin/gdal/gdal-3.1.4$ gdalinfo

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

2021-02-03 Thread Pteroglossus via gdal-dev
Installing libproj-dev did the trick, I was able to run the config file, rename/copy the necessary folders in the SDK, then "make"/ "make install", encountered some issues during the process but: k@k-GS60-6QE:~/bin/gdal/gdal-3.1.4$ gdalinfo --version GDAL 3.1.4, released 2020/10/20

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

2021-02-03 Thread Richard Duivenvoorde
On 2/3/21 2:20 AM, Pteroglossus via gdal-dev wrote: > I did my best to thoroughly follow Richard's notes using the 5.5.0 ECW SDK > and gdal 3.1.4... No luck, the "configure" command now fails halfway it > seems, although it did work for my first try: > > https://pastebin.com/rSZfPRS0 Looks

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

2021-02-02 Thread Pteroglossus via gdal-dev
I did my best to thoroughly follow Richard's notes using the 5.5.0 ECW SDK and gdal 3.1.4... No luck, the "configure" command now fails halfway it seems, although it did work for my first try: https://pastebin.com/rSZfPRS0 As much as I would like to take on the challenge of compiling GDAL with

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

2021-02-02 Thread Richard Greenwood
I used this docker image successfully on a SID file and it claims support for ECW format also: https://hub.docker.com/r/klokantech/gdal/ And then, as Richard Duivenvoorde suggested, convert your ECW to a geotiff. A geotiff with YCbCr JPEG compression and overviews can be nearly as small as a SID

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

2021-02-02 Thread Richard Duivenvoorde
On 2/1/21 9:21 PM, Pteroglossus via gdal-dev wrote: > My problem started there at the last step: > > - "make": https://pastebin.com/6bMjhcyk Not sure which ecw sdk you downloaded, but when I did the notes there told me to use GDAL 3.1, and from your output you are using 2.3.1? >From the

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

2021-02-01 Thread Pteroglossus via gdal-dev
Hi Jeff, Richard, Thanks for your quick replies. I did come across this page:"https://trac.osgeo.org/gdal/wiki/ECW; but as you said, the info is outdated and therefore confusing when you don't really know what you're doing... The instructions here

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

2021-02-01 Thread Richard Duivenvoorde
On 2/1/21 8:24 PM, Jeff McKenna wrote: > Hi Kevin, > > Some quick thoughts for your case: > > - you can paste your large commands and code at https://pastebin.com/ and > then share that link with this mailing list discussion in your message (for > images, similar with https://pasteboard.co/ )

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

2021-02-01 Thread Jeff McKenna
Hi Kevin, Some quick thoughts for your case: - you can paste your large commands and code at https://pastebin.com/ and then share that link with this mailing list discussion in your message (for images, similar with https://pasteboard.co/ ) - the best source of build help is the GDAL

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

2021-02-01 Thread Pteroglossus via gdal-dev
Dear list, I'm not a developer, I would just like to use the maps I have on Linux and stay away from Windows. I've been trying to import some raster maps into GRASS. Problem is, they are .ecw files. If I understood well, GDAL does not support this format natively and has to be built