<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>will be fixed per <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/pull/9136">https://github.com/OSGeo/gdal/pull/9136</a> . As a
workaround, you can spell them "inf" or "-inf" lowercase<br>
</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 25/01/2024 à 12:34, Pierluigi
Guasqui via gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAJNYLRLgO10D25ndDVXydD=+tgoPOAR14Djs4BENi78Zocbecg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Dear GDAL team,</div>
<div><br>
</div>
<div>I am using GDAL version 3.8.3 and I am trying to extract
GCPs values with gdalinfo tool from a VRT file (attached).</div>
<div><br>
</div>
<div>As you can see by looking at the VRT file with a text
editor GCP XYZ values are infinite values. When I read GCPs
from the attached VRT file with gdalinfo (latest version GDAL
v. 3.8.3) I am getting all zeros:</div>
<div><br>
</div>
<div style="margin-left:40px"><span
style="font-family:monospace">GCP[ 0]: Id=0, Info=<br>
(0,0) -> (0,0,0)</span></div>
<div><br>
</div>
<div><font face="arial,sans-serif">Instead, if I use gdalinfo
(GDAL v. 3.6.3) I am getting the correct values:</font></div>
<div><br>
</div>
<div style="margin-left:40px"><span
style="font-family:monospace">GCP[ 0]: Id=0, Info=<br>
(0,0) -> (inf,inf,-inf)</span></div>
<div><br>
</div>
<div>
<div>Is this a bug with GDAL 3.8.3?<br>
</div>
<div><br>
</div>
<div>Thank you for your help!<br>
</div>
<div><br>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">Pierluigi Guasqui<br>
Software Engineer<br>
<br>
Applied Coherent Technology Corporation (ACT)<br>
<a href="http://www.actgate.com" target="_blank"
moz-do-not-send="true">www.actgate.com</a><br>
</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" 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.</pre>
</body>
</html>