<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 29/07/2024 à 08:14, Michał Kowalczuk
      a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAP+FqQDkwokSkaNjGCD82sYso-9uN8SGJ6zFVnRrnKoPBNFQ+A@mail.gmail.com">
      <div dir="ltr">Returning to changes conda packaging:
        <div>My conda installation is ligdal-core + 
          libgdal-jp2openjpeg using miniconda on Windows.</div>
        <div>.<br>
          <div>If my <b>gdal.dll</b> and dependencies are in <b>\root
            </b>folder and <b>gdal_JP2OpenJPEG.dll</b> is in <b>\root\gdalplugins</b>
            folder I need to set <b>GDAL_DRIVER_PATH </b>to <b>\root\gdalplugins
            </b>to work with jp2 files.
            <div>I'm not sure that this is the proper way - rather
              workaround...</div>
          </div>
        </div>
      </div>
    </blockquote>
    conda install should patch gdal.dll to automatically refer to the
    gdalplugins subdirectory of the conda env, but if you move things
    manually to other places, that will obviously not work.<br>
    <blockquote type="cite"
cite="mid:CAP+FqQDkwokSkaNjGCD82sYso-9uN8SGJ6zFVnRrnKoPBNFQ+A@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>
            <div><br>
            </div>
            <div>Before 3.9.1 i did not have to use GDAL_DRIVER_PATH</div>
          </div>
        </div>
      </div>
    </blockquote>
    Yes, because the driver was part of the core library<br>
    <blockquote type="cite"
cite="mid:CAP+FqQDkwokSkaNjGCD82sYso-9uN8SGJ6zFVnRrnKoPBNFQ+A@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>
            <div><br>
            </div>
            <div>Regards</div>
            <div>Michał</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div> </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">czw., 25 lip 2024 o
          22:44 Michał Kowalczuk <<a
            href="mailto:michkowalczuk@gmail.com" moz-do-not-send="true"
            class="moz-txt-link-freetext">michkowalczuk@gmail.com</a>>
          napisał(a):<br>
        </div>
        <blockquote class="gmail_quote">
          <div dir="ltr">This is my DLL files structure:
            <div><br>
            </div>
            <div>archive.dll<br>
            </div>
            <div>blosc.dll<br>
              charset.dll<br>
              deflate.dll<br>
              freexl.dll<br>
              <b>gdal.dll</b><br>
              geos.dll<br>
              geos_c.dll<br>
              geotiff.dll<br>
              iconv.dll<br>
              jpeg8.dll<br>
              krb5_64.dll<br>
              Lerc.dll<br>
              libbz2.dll<br>
              libcrypto-3-x64.dll<br>
              libcurl.dll<br>
              libexpat.dll<br>
              liblz4.dll<br>
              liblzma.dll<br>
              libminizip.dll<br>
              libpng16.dll<br>
              libsharpyuv.dll<br>
              libssh2.dll<br>
              libssl-3-x64.dll<br>
              libwebp.dll<br>
              libxml2.dll<br>
              openjp2.dll<br>
              pcre2-8.dll<br>
              proj_9_4.dll<br>
              snappy.dll<br>
              spatialite.dll<br>
              sqlite3.dll<br>
              tiff.dll<br>
              xerces-c_3_2.dll<br>
              zlib.dll<br>
              zstd.dll</div>
            <div>
              <div><b>gdalplugins\gdal_JP2OpenJPEG.dll</b><br>
                gdalplugins\drivers.ini</div>
              <div><br>
              </div>
              When I try to open jp2 file I get the following CPL error:</div>
            <div><br>
            </div>
            <div>
              <div><i>'GDAL CPL Error 4:
                  `D:\GisData\Formats\jp2\balloon.jp2' not recognized as
                  being in a supported file format. It could have been
                  recognized by driver JP2OpenJPEG, but plugin
                  gdal_JP2OpenJPEG.dll is not available in your
                  installation. You may install it with 'conda install
                  -c conda-forge libgdal-jp2openjpeg'. The
                  GDAL_DRIVER_PATH configuration option is not set.
                  (CE_Failure)'.</i></div>
            </div>
            <div><br>
            </div>
            <div>I use conda to install libgdal-core and jp2 but later I
              moved necessary dlls to different location. Maybe i missed
              something? </div>
            <div><br>
            </div>
            <div>Regards,</div>
            <div>Michał</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">czw., 25 lip 2024 o
              12:12 Michael Smith <<a
                href="mailto:michael.smith.erdc@gmail.com"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">michael.smith.erdc@gmail.com</a>>
              napisał(a):<br>
            </div>
            <blockquote class="gmail_quote">
              <div>
                <div lang="EN-US">
                  <div>
                    <p class="MsoNormal">It would be just </p>
                    <p class="MsoNormal"> </p>
                    <p class="MsoNormal">mamba install -c conda-forge
                      libgdal-core libgdal-jp2openjpeg</p>
                    <p class="MsoNormal"> </p>
                    <p class="MsoNormal">Mike</p>
                    <p class="MsoNormal"> </p>
                    <p class="MsoNormal"> </p>
                    <div>
                      <div>
                        <p class="MsoNormal">-- </p>
                      </div>
                      <div>
                        <p class="MsoNormal">Michael Smith</p>
                        <p class="MsoNormal">Remote Sensing/GIS Center</p>
                      </div>
                    </div>
                    <p class="MsoNormal">US Army Corps of Engineers</p>
                    <p class="MsoNormal"> </p>
                    <p class="MsoNormal"> </p>
                    <div>
                      <p class="MsoNormal"><b><span>From: </span></b><span>gdal-dev
                          <<a
href="mailto:gdal-dev-bounces@lists.osgeo.org" target="_blank"
                            moz-do-not-send="true"
                            class="moz-txt-link-freetext">gdal-dev-bounces@lists.osgeo.org</a>>
                          on behalf of Michał Kowalczuk via gdal-dev
                          <<a href="mailto:gdal-dev@lists.osgeo.org"
                            target="_blank" moz-do-not-send="true"
                            class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a>><br>
                          <b>Reply-To: </b>Michał Kowalczuk <<a
                            href="mailto:michkowalczuk@gmail.com"
                            target="_blank" moz-do-not-send="true"
                            class="moz-txt-link-freetext">michkowalczuk@gmail.com</a>><br>
                          <b>Date: </b>Thursday, July 25, 2024 at
                          6:00 AM<br>
                          <b>To: </b>Even Rouault <<a
                            href="mailto:even.rouault@spatialys.com"
                            target="_blank" moz-do-not-send="true"
                            class="moz-txt-link-freetext">even.rouault@spatialys.com</a>><br>
                          <b>Cc: </b>"<a
                            href="mailto:gdal-dev@lists.osgeo.org"
                            target="_blank" moz-do-not-send="true"
                            class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a>"
                          <<a href="mailto:gdal-dev@lists.osgeo.org"
                            target="_blank" moz-do-not-send="true"
                            class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a>><br>
                          <b>Subject: </b>Re: [gdal-dev] Changes in
                          conda-forge packaging for GDAL 3.9.1</span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"> </p>
                    </div>
                    <div>
                      <p class="MsoNormal">Continuing this topic...</p>
                      <div>
                        <p class="MsoNormal">What should I do if I want
                          to use lightweight version od GDAL
                          (libgdal-corel) only with JP2 driver. Putting
                          libgdal_-jp2openjpg.dll with gdal.dll is not
                          sufficient.</p>
                      </div>
                      <div>
                        <p class="MsoNormal">Thanks,</p>
                      </div>
                      <div>
                        <p class="MsoNormal">Michał</p>
                      </div>
                    </div>
                    <p class="MsoNormal"> </p>
                    <div>
                      <div>
                        <p class="MsoNormal">czw., 25 lip 2024 o
                          08:43 Michał Kowalczuk <<a
                            href="mailto:michkowalczuk@gmail.com"
                            target="_blank" moz-do-not-send="true"
                            class="moz-txt-link-freetext">michkowalczuk@gmail.com</a>>
                          napisał(a):</p>
                      </div>
                      <blockquote>
                        <div>
                          <div>
                            <p class="MsoNormal">OK, I got it.</p>
                            <div>
                              <p class="MsoNormal">I do not know who is
                                the conda "maintainer" but it would be
                                nice to give more descriptive summary
                                for <b>gdal</b>, <b>libgdal </b>and <b>libgdal-core</b>
                                packages, because now they are the same:<br>
                                <i><span>GDAL is a translator library
                                    for raster and vector geospatial
                                    data formats that is released under
                                    an X/MIT style Open Source license
                                    by the Open Source Geospatial
                                    Foundation.</span></i></p>
                            </div>
                          </div>
                          <div>
                            <p class="MsoNormal"> </p>
                          </div>
                          <p class="MsoNormal">Michał</p>
                          <div>
                            <p class="MsoNormal"> </p>
                            <div>
                              <div>
                                <p class="MsoNormal">śr., 24 lip 2024 o
                                  22:48 Even Rouault <<a
href="mailto:even.rouault@spatialys.com" target="_blank"
                                    moz-do-not-send="true"
                                    class="moz-txt-link-freetext">even.rouault@spatialys.com</a>>
                                  napisał(a):</p>
                              </div>
                              <blockquote>
                                <p class="MsoNormal"><br>
                                  Le 24/07/2024 à 22:19, Michał
                                  Kowalczuk a écrit :<br>
                                  > Hi,<br>
                                  > I've just updated GDAL with conda
                                  and I was surprised about number of <br>
                                  > dependencies that disappeared.<br>
                                  > It's quite a big change and
                                  should be mentioned in the Release
                                  Notes, <br>
                                  > not only here...<br>
                                  > Don't you think so?<br>
                                  <br>
                                  The release notes are only about
                                  changes that occur at the source code
                                  <br>
                                  level. They are tens of packaging
                                  solutions, which are all independent <br>
                                  from the source delivery, and happen
                                  after the source release. Just <br>
                                  mentioned Conda as it is quite
                                  popular.<br>
                                  <br>
                                  -- <br>
                                  <a href="http://www.spatialys.com"
                                    target="_blank"
                                    moz-do-not-send="true"
                                    class="moz-txt-link-freetext">http://www.spatialys.com</a><br>
                                  My software is free, but my time
                                  generally not.</p>
                              </blockquote>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <p class="MsoNormal">_______________________________________________
                      gdal-dev mailing list <a
                        href="mailto:gdal-dev@lists.osgeo.org"
                        target="_blank" moz-do-not-send="true"
                        class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a>
                      <a
href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank"
                        moz-do-not-send="true"
                        class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
                    </p>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>