<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Craig,</p>
    <p>this is indeed a regression. I'm on it</p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 02/07/2024 à 06:39, Craig de Stigter
      via gdal-dev a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAF1M8peG-KNmieRsb_GQOSkikBGDOuvvcdx08_s-WFBVcb_OOQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>A colleague has noticed a workaround: prefix the argument
          with a space:</div>
        <div><br>
        </div>
        <div><span style="font-family:monospace">$ gdalwarp '-dstnodata'
            ' -inf' ...</span></div>
        <div><span style="font-family:monospace"><br>
          </span></div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, 2 Jul 2024 at 16:04,
          Craig de Stigter <<a
            href="mailto:craig.destigter@koordinates.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">craig.destigter@koordinates.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div>While trying to upgrade to GDAL 3.9 i'm hitting this
              error:</div>
            <div><br>
              <span style="font-family:monospace">$ gdalwarp
                '-dstnodata' '-inf' ...<br>
                ERROR 1: Too few arguments for '-dstnodata'.<br>
                ...</span><br>
              <br>
              The same happens with `gdalbuildvrt -vrtnodata '-1 -1 -1'
              ...`<br>
              <br>
              We use negative values for NODATA in a few places because
              they're unlikely to already be used by the source data. Is
              there a way to pass negative values to these options with
              GDAL 3.9?</div>
            <div><br>
            </div>
            <div>Thanks<br>
            </div>
            <div><br>
              <span class="gmail_signature_prefix">-- </span><br>
              <div dir="ltr" class="gmail_signature">
                <div dir="ltr">
                  <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Regards,</div>
                  <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Craig</div>
                  <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br>
                  </div>
                  <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Platform
                    Engineer<br>
                  </div>
                  <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Koordinates</div>
                  <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br>
                  </div>
                  <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><a
                      href="tel:+64%2021%20256%209488"
                      style="color:rgb(17,85,204)" target="_blank"
                      moz-do-not-send="true">+64 21 256 9488</a> / <a
                      href="http://koordinates.com/"
                      style="color:rgb(17,85,204)" target="_blank"
                      moz-do-not-send="true">koordinates.com</a> / <a
                      href="https://twitter.com/koordinates"
                      style="color:rgb(17,85,204)" target="_blank"
                      moz-do-not-send="true">@koordinates</a></div>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <br>
      <span class="gmail_signature_prefix">-- </span><br>
      <div dir="ltr" class="gmail_signature">
        <div dir="ltr">
          <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Regards,</div>
          <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Craig</div>
          <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br>
          </div>
          <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Platform
            Engineer<br>
          </div>
          <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Koordinates</div>
          <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br>
          </div>
          <div
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><a
              href="tel:+64%2021%20256%209488"
              style="color:rgb(17,85,204)" target="_blank"
              moz-do-not-send="true">+64 21 256 9488</a> / <a
              href="http://koordinates.com/"
              style="color:rgb(17,85,204)" target="_blank"
              moz-do-not-send="true">koordinates.com</a> / <a
              href="https://twitter.com/koordinates"
              style="color:rgb(17,85,204)" target="_blank"
              moz-do-not-send="true">@koordinates</a></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>