I did have to set the padfNoDataImag array as well, so I am one step closer. My new issue is ownership of my psWarpOptions. I assume that since I create it, and the warp api tutorial implies that is it mine, I destroy it with GDALDestroyWarpOptions(). My problem is that AutoCreateWarpedVRT appears to be stepping on my warp options when it destroys it's own copy.
I call AutoCreateWarpedVRT() and that function calls GDALCloneWarpOptions(). When AutoCreateWarpedVRT destroys the copy it owns, it appears to be stepping on my copy, and when I call GDALDestroyWarpOptions(), I get a seg fault. Am I doing something wrong? kss /** * * Kyle Shannon * [email protected] * */ On Mon, May 9, 2011 at 15:43, Even Rouault <[email protected]>wrote: > Le lundi 09 mai 2011 23:30:05, Kyle Shannon a écrit : > > Thanks Even, > > If that is the case, are there other values in psWarpOptions I *have* to > > set? I can't find docs discussing that. > > I don't think so, but you'll just have to try... I'm not surprised the > docs > don't talk about NaN. It is a corner case, and likely not really well > supported in all places. >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
