I am using AutoCreateWarpedVRT to warp a dataset.  I grab the the source
nodata for a band using

double noData = poBand->GetNoDataValue( &pbSuccess );

which returns 1.#QNAN00000000... on windows.

I then try to set the INIT_DEST with this using

psWarpOptions->papszWarpOptions =
        CSLSetNameValue( psWarpOptions->papszWarpOptions,
                 "INIT_DEST", CPLSPrintf( "%lf", noData ) );

This works on linux when it returns nan(0x8000000000000), but not on
windows, is there a different string I need to set in the warp options?

Thanks.


/**
 *
 * Kyle Shannon
 * [email protected]
 *
 */
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to