r-barnes/ArcRasterRescue

Incomplete/Errant Export of Raster Data

WohlstadterEWG opened this issue · 0 comments

I have a large raster layer in a File Geodatabase that I wish to export for use with non-ESRI products on a non-Windows system.

The export runs and creates a GeoTIFF of the expected size, but the pixel values appear to not be set correctly and there are no minimum or maximum values set.

The source data is available at: [https://www.ewgateway.org/wp-content/uploads/2019/06/UrbanLandCover_1m.zip] (1.2 GB)

Layer in Question: LULC_Urban2017
Compression: LZ77
Uncompressed Layer Size: just under 15 GB

The raster layer includes an attribute table, but that can be dropped from the export; I'm only interested in the raster data.

Running gdalinfo on the output file results in an error.
gdalinfo -mm LULC_Urban2017.tif
ERROR 1: LULC_Urban2017.tif, band 1: Failed to compute min/max, no valid pixels found in sampling.

I then looked at the project fork [https://github.com/justinfisk/ArcRasterRescue] and compiled that version since there was an update to the geo transform code. Using the executable compiled from that source, I was able to successfully export the raster layer.