Re: [gdal-dev] Trouble with GDALAutoCreateWarpedVRT and No data values

2013-06-10 Thread Kyle Shannon
Jesse, i believe I've run into this before. The GDALWarpOptions has a member, padfDstNoDataReal. It is an array of doubles nBands in size. Create that, fill it in with your no data values and set the Warp Option INIT_DEST to NO_DATA: psWarpOptions = GDALCreateWarpOptions();

[gdal-dev] Trouble with GDALAutoCreateWarpedVRT and No data values

2013-06-10 Thread Jesse Crocker
Hello List, Im having some trouble with the C api, that I assume is do my failure to understand some part of it. What I'm trying to do: Load a BSB raster file, apply a cutline to the file, and warp it into a north-up projection. Im doing additional transformations to it after that, but right no