Skip to content

GDALWarp: Fail on invalid dstNodata #12194

Open
@dbaston

Description

@dbaston
gdal_create -outsize 100 100 -ot byte -burn 100 -a_nodata 255 test.tif
gdalwarp -dstnodata foo test.tif nodatatest.tif -to SRC_METHOD=NO_GEOTRANSFORM
gdalinfo nodatatest.tif
...
Band 1 Block=100x81 Type=Byte, ColorInterp=Gray
  NoData Value=0

This is with GDAL 3.11.0dev-29aee5da70, released 2025/04/10

Originally posted by @jratike80 in #12189 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions