<!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 20/10/2024 à 00:06, Even Rouault via
      gdal-dev a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:5ddc9a93-edd1-436a-9a90-73b9faef724d@spatialys.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Vedran,</p>
      <p>the issue is that your GML files reference a
        <a class="moz-txt-link-freetext"
href="http://cap115:8101/geoserver/oss/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=oss%3AKATASTARSKE_OPCINE"
          moz-do-not-send="true">http://cap115:8101/geoserver/oss/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=oss%3AKATASTARSKE_OPCINE</a> 
        XML schema, and if the cap115:8101 server is not reachable, GDAL
        spends some time waiting for it before giving up.</p>
      <p>If all your .gml files share the same schema, you can actually
        use the generated .gfs file (which is a OGR GML specific schema
        format) for all of them, which will skip the step trying to
        download the XML schema</p>
      <p>Just add " --config GML_GFS_TEMPLATE katastarske_opcine.gfs"
        (without the double quotes) to your ogrmerge command line (cf
        <a class="moz-txt-link-freetext"
href="https://gdal.org/en/latest/drivers/vector/gml.html#configuration-options"
          moz-do-not-send="true">https://gdal.org/en/latest/drivers/vector/gml.html#configuration-options</a>),
        and this should run in one second total.</p>
    </blockquote>
    and to avoid any warning, before running ogrmerge, manually edit
    katastarske_opcine.gfs to modify  <Width>12</Width> to 
    <Width>15</Width><br>
    <blockquote type="cite"
      cite="mid:5ddc9a93-edd1-436a-9a90-73b9faef724d@spatialys.com">
      <p>Even<br>
      </p>
      <div class="moz-cite-prefix">Le 19/10/2024 à 22:58, Vedran
        Stojnović via gdal-dev a écrit :<br>
      </div>
      <blockquote type="cite"
cite="mid:CAL9iSMHHhMkJDRfyn6b9NvkCLAo_rLTKFMD_gn8LnzznBeD2LQ@mail.gmail.com">
        <meta http-equiv="content-type"
          content="text/html; charset=UTF-8">
        <div dir="ltr">Hi all,
          <div><br>
          </div>
          <div>not sure if this is a bug report so I want to check here
            if someone has experience with this.</div>
          <div>I need to merge 98 GML files, each having one
            MultiLineString feature into one layer so I'm using:</div>
          <div>
            <div>ogrmerge -single -f GPKG -o merged.gpkg *.gml<br>
            </div>
            <div><br>
            </div>
            <div>But it takes very long time (few seconds per file), and
              in the meantime gfs files are created every few seconds.
              I'm running ogrmerge from OSGeo4W Shell on Windows 11 PC,
              GDAL 3.9.2, released 2024/08/13.</div>
            <div><br>
            </div>
            <div>My dataset  is available here (1 MB ZIP with all 98
              files): <a href="https://we.tl/t-V8Azs8WokU"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://we.tl/t-V8Azs8WokU</a></div>
            <div><br>
            </div>
            <span class="gmail_signature_prefix">-- </span><br>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">Kind regards,
                <div>Vedran Stojnović.</div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
        href="mailto:gdal-dev@lists.osgeo.org" moz-do-not-send="true">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext"
        href="https://lists.osgeo.org/mailman/listinfo/gdal-dev"
        moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
      </blockquote>
      <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com"
      moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.
Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.</pre>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </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.
Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.</pre>
  </body>
</html>