<font face="courier new,monospace">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. <br>
<br>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?<br>
<br>kss<br><br><br clear="all"></font><br>/**<br> *<br> * Kyle Shannon<br> * <a href="mailto:ksshannon@gmail.com" target="_blank">ksshannon@gmail.com</a><br> *<br> */<br><br><br>
<br><br><div class="gmail_quote">On Mon, May 9, 2011 at 15:43, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Le lundi 09 mai 2011 23:30:05, Kyle Shannon a écrit :<br>
<div class="im">> Thanks Even,<br>
> If that is the case, are there other values in psWarpOptions I *have* to<br>
> set? I can't find docs discussing that.<br>
<br>
</div>I don't think so, but you'll just have to try... I'm not surprised the docs<br>
don't talk about NaN. It is a corner case, and likely not really well<br>
supported in all places.<br>
</blockquote></div><br>