<div dir="ltr">Thank you very much!<div>I'll report the unreachable server link to the data provider.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ned, 20. lis 2024. u 00:13 Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> napisao je:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<p><br>
</p>
<div>Le 20/10/2024 à 00:06, Even Rouault via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite">
<p>Vedran,</p>
<p>the issue is that your GML files reference a
<a href="http://cap115:8101/geoserver/oss/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=oss%3AKATASTARSKE_OPCINE" target="_blank">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 href="https://gdal.org/en/latest/drivers/vector/gml.html#configuration-options" target="_blank">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">
<p>Even<br>
</p>
<div>Le 19/10/2024 à 22:58, Vedran
Stojnović via gdal-dev a écrit :<br>
</div>
<blockquote type="cite">
<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" target="_blank">https://we.tl/t-V8Azs8WokU</a></div>
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">Kind regards,
<div>Vedran Stojnović.</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank">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></fieldset>
<pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank">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>
</div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Srdačan pozdrav / Kind regards,<div>Vedran Stojnović.</div></div></div>