<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Maxim,<br>
    </p>
    <span lang="EN-US"></span><span lang="EN-US"></span><span
      lang="EN-US">> “I assume the driver would depend on the ODBC
      library, and would require users to build </span><a
      href="https://github.com/SAP/odbc-cpp-wrapper"
      moz-do-not-send="true"><span lang="EN-US">https://github.com/SAP/odbc-cpp-wrapper</span></a><span
      lang="EN-US"> as the corresponding ODBC driver ?”<o:p></o:p></span>
    <blockquote type="cite"
cite="mid:AM4PR02MB3123930CA96402ACE6F9CB6FF7E89@AM4PR02MB3123.eurprd02.prod.outlook.com">
      <div class="WordSection1">
        <p><span lang="EN-US">The odbc-cpp-wrapper library is going to
            be used only during the compilation phase and linked
            statically, thus end users will get only one dynamic/shared
            library of the HANA driver.  Hence, no additional actions
            are required from end users. For those who want to compile
            the GDAL sources with HANA support on their own, the sources
            of the odbc-cpp-wrapper are needed. However, this step can
            be omitted if we store a copy of the library in </span><a
            href="https://github.com/OSGeo/gdal/tree/master/gdal/third_party"
            moz-do-not-send="true"><span lang="EN-US">https://github.com/OSGeo/gdal/tree/master/gdal/third_party</span></a><span
            lang="EN-US"> like we did in QGIS (see </span><a
            href="https://github.com/qgis/QGIS/tree/master/external/odbccpp"
            moz-do-not-send="true"><span lang="EN-US">https://github.com/qgis/QGIS/tree/master/external/odbccpp</span></a><span
            lang="EN-US">). </span></p>
      </div>
    </blockquote>
    <p>I can anticipate potential issues if both GDAL and QGIS have a
      odbcpp vendorized copy, and that for some reason they differ in
      versions. That could cause symbol clashes at runtime. Putting the
      vendorized copy in a dedicated namespace prefix (GDAL::) could
      avoid that.<br>
    </p>
    <p>Otherwise, isn't the cpl_odbc.h abstraction good enough ?<br>
    </p>
    <p>Side note: are you aware of <a class="moz-txt-link-freetext"
        href="https://github.com/nanodbc/nanodbc">https://github.com/nanodbc/nanodbc</a>
      that is also a C++ wrapper for ODBC ? (Mateusz one of our PSC
      members was the main developer of it, although I believe he has
      retired from it)<br>
    </p>
    <blockquote type="cite"
cite="mid:AM4PR02MB3123930CA96402ACE6F9CB6FF7E89@AM4PR02MB3123.eurprd02.prod.outlook.com">
      <div class="WordSection1">
        <p><span style="font-size:12.0pt;font-family:"Times New
            Roman",serif" lang="EN-US"><o:p></o:p></span></p>
        <p><span lang="EN-US">Note, that any HANA plugin (GDAL/QGIS)
            also requires the SAP HANA Client (<a
              class="moz-txt-link-freetext"
              href="https://tools.hana.ondemand.com/#hanatools">https://tools.hana.ondemand.com/#hanatools</a>)
            to be able to connect an SAP HANA database.<br>
          </span></p>
      </div>
    </blockquote>
    Is that the ODBC driver for SAP HANA ?<br>
    <blockquote type="cite"
cite="mid:AM4PR02MB3123930CA96402ACE6F9CB6FF7E89@AM4PR02MB3123.eurprd02.prod.outlook.com">
      <div class="WordSection1"><span lang="EN-US"></span><span
          style="mso-fareast-language:DE" lang="EN-US">​Unfortunately,
          we are not able to answer the remaining raised points</span><span
          style="font-size:10.5pt;font-family:"Segoe
          UI",sans-serif" lang="EN-US"> </span><span
          style="font-size:10.5pt;font-family:"Segoe
          UI",sans-serif;mso-fareast-language:DE" lang="EN-US">as
          they are beyond our expertise</span><span
          style="mso-fareast-language:DE" lang="EN-US">.</span><br>
        <span style="mso-fareast-language:DE" lang="EN-US"></span>
        <p class="MsoNormal"
          style="margin-bottom:0in;line-height:normal"><span
            style="mso-fareast-language:DE" lang="EN-US"> Perhaps they
            should be addressed in a separate dedicated discussion.</span><span
            lang="EN-US"><o:p></o:p></span></p>
      </div>
    </blockquote>
    <p>Well, if you contribute to GDAL, then that should be in your area
      of interest and concern :-)<br>
    </p>
    <p>I think the main practical issue for this to go forward is for
      you to find someone who would want to review your contribution.</p>
    <p>Another option is to propose the OGR SAP HANA driver as a plugin
      for download from your website.<br>
    </p>
    <p>Even</p>
    <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>