[gdal-dev] Setting "INIT_DEST" to nan on windows
ksshannon at gmail.com
Mon May 9 19:08:41 EDT 2011
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?
* Kyle Shannon
* ksshannon at gmail.com
On Mon, May 9, 2011 at 15:43, Even Rouault <even.rouault at mines-paris.org>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
> don't talk about NaN. It is a corner case, and likely not really well
> supported in all places.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev