<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">
      <p>Hello Leo</p>
      <p>Le 30/12/2018 à 01:32, Russ, Leo a écrit :</p>
    </div>
    <blockquote type="cite"
cite="mid:CAGHs=DqXefZN4PeOwZBSW8OBcgb8OfN2QpwXCo=dhQ6ynihGzw@mail.gmail.com">
      <p>
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
      </p>
      <div dir="ltr">
        <div dir="ltr">
          <p>Our company, Alamon Telecommunications (<a
              href="https://alamon.com" moz-do-not-send="true">https://alamon.com</a>),
            is looking for means (such an open source Java API) to
            convert shapefiles to Geodatabase (.gdb) format and/or
            generate Geodatabase files programmatically using our data.
            We are a Java/Linux shop. Please advise if something like
            that is available, and if not, would it be possible to write
            a converter we could use in our application?</p>
        </div>
      </div>
    </blockquote>
    <p>Welcome! and thanks for contacting us. Geotk can read and write
      Shapefiles, but not yet Geodatabase as far as I know (Johann may
      correct me if I'm wrong). Geodatabase seems to be an ESRI specific
      format [1]. Writing in that format currently requires ESRI drivers
      [2], which I presume are subject to licensing conditions. The GDAL
      open source project (C/C++) can read Geodatabase files without the
      need for ESRI driver [3], but this is read-only. Write operations
      with GDAL requires the ESRI driver [4].</p>
    <p>One possible action can be to investigate the licensing
      conditions for ESRI Geodatabase library [2]. If those conditions
      are acceptable, then it may be possible to use GDAL "ogr2ogr" [5]
      directly.</p>
    <p>Another possible action is to develop the Java code for writing
      Geodatabase files. Since I have not seen a specification for this
      file format yet, I do not know how much work it would require.</p>
    <p>Finally, before to take any of above-cited citation, did you
      considered using Geopackage [6] as an alternative to Geodatabase?
      Geopackage is an international standard, contrarily to Geodatabase
      which is vendor-specific. ESRI supports also Geopackage, and I
      suspect that Geopackage can be seen as a successor of Geodatabase.<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:CAGHs=DqXefZN4PeOwZBSW8OBcgb8OfN2QpwXCo=dhQ6ynihGzw@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div>
            <p>We are willing contribute to your project.</p>
          </div>
        </div>
      </div>
    </blockquote>
    <p>That would be great! For information, we are migrating
      progressively Geotk functionalities to Apache Spatial Information
      System (SIS) [7]. Apache SIS is a top level project from the
      Apache Software Foundation. So if we were to develop a new file
      format, we may try to develop it there if possible.</p>
    <p>    Regards,<br>
    </p>
    <p>        Martin</p>
    <p><br>
    </p>
    <pre>[1] <a class="moz-txt-link-freetext" href="https://helpwiki.evergreen.edu/wiki/index.php/ArcGIS_10:_What_is_a_Geodatabase%3F">https://helpwiki.evergreen.edu/wiki/index.php/ArcGIS_10:_What_is_a_Geodatabase%3F</a>
[2] <a class="moz-txt-link-freetext" href="http://appsforms.esri.com/products/download/#File_Geodatabase_API_1.3">http://appsforms.esri.com/products/download/#File_Geodatabase_API_1.3</a>
[3] <a class="moz-txt-link-freetext" href="https://www.gdal.org/drv_openfilegdb.html">https://www.gdal.org/drv_openfilegdb.html</a>
[4] <a class="moz-txt-link-freetext" href="https://www.gdal.org/drv_filegdb.html">https://www.gdal.org/drv_filegdb.html</a>
[5] <a class="moz-txt-link-freetext" href="https://www.gdal.org/ogr2ogr.html">https://www.gdal.org/ogr2ogr.html</a>
[6] <a class="moz-txt-link-freetext" href="https://www.geopackage.org/">https://www.geopackage.org/</a>
[7] <a class="moz-txt-link-freetext" href="http://sis.apache.org/">http://sis.apache.org/</a>

</pre>
  </body>
</html>