[gdal-dev] GDAL 3.9: How to pass negative flag values to GDALArgumentParser?

Craig de Stigter craig.destigter at koordinates.com
Mon Jul 1 21:04:54 PDT 2024


While trying to upgrade to GDAL 3.9 i'm hitting this error:

$ gdalwarp '-dstnodata' '-inf' ...
ERROR 1: Too few arguments for '-dstnodata'.
...

The same happens with `gdalbuildvrt -vrtnodata '-1 -1 -1' ...`

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?

Thanks

-- 
Regards,
Craig

Platform Engineer
Koordinates

+64 21 256 9488 <+64%2021%20256%209488> / koordinates.com / @koordinates
<https://twitter.com/koordinates>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240702/8d8b2e18/attachment.htm>


More information about the gdal-dev mailing list