Hi, I wanted to check here first before reporting this as a bug:

I'm trying to tile 2 together with buildvrtraster. I can make it work with
2 Float32 images that have 0s; however, with the complex images, the last
image always overwrites all of the previous, even where it has 0s and the
nodata is set to 0.

I attached two test rasters (in ROI_PAC format), where one has the top half
= 0, the other has bottom half zeros.

The commands I'm trying:

gdal_edit.py -a_nodata 0 slc1.slc
gdal_edit.py -a_nodata 0 slc2.slc
gdalbuildvrt output.vrt slc*.slc


When I do `gdalinfo -stats output.vrt`, it still tells me half of the image
is invalid (as in, slc2.slc overwrote all of slc1.slc)

I've also tried adding -srcnodata 0 and/or -vrtnodata 0, but same effect.

Is it possible to have a nodata value of 0 for CFloat32 images? Or is it
known that using "0" will get ignored when the CFloat32 is 0 (or really 0.0
+ 0.0j )

Thanks,
Scott

Attachment: slc1.slc.rsc
Description: Binary data

Attachment: slc2.slc.rsc
Description: Binary data

Attachment: slc1.slc
Description: Binary data

Attachment: slc2.slc
Description: Binary data

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to