<div dir="ltr">Hi Ari,<div><br></div><div>I did try passing the two callback arguments as null (trying to ignore). It doesn't seem to work by doing that. </div><div><br></div><div>Thanks,</div><div>Dheeraj</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Jul 26, 2013 at 1:09 AM, Ari Jolma <span dir="ltr"><<a href="mailto:ari.jolma@gmail.com" target="_blank">ari.jolma@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><div class="im">
    <div>On 07/01/2013 10:13 PM, Dheeraj Reddy
      Mamidi wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>I was trying to perform intersection on two feature classes
          (shape file format) using OGRLayer.Intersection(),  but have
          problems making it work with C# bindings. I am not able to
          figure out on how to pass the
          arguments SWIGTYPE_p_GDALProgressFunc callback
          and OSGeo.OGR.SWIGTYPE_p_void callback_data. Can someone
          please help me figure out on how to handle these. I keep
          getting the error "Attempt to dereference null
          GDALProgressFunc". I am not sure what that means.</div>
      </div>
    </blockquote>
    <br></div>
    I don't know the details of C# bindings but the callback function
    and the callback data are by default NULL and you should be able to
    just ignore them, i.e., not supply any arguments.<br>
    <br>
    Ari<br>
    <br>
    <blockquote type="cite"><div class="im">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Please share an example on how to call
          Intersection routine or some other routine which takes above
          mentioned argument types.</div>
        <div><br>
        </div>
        <div>Thank you,</div>
        <div>
          <div>Dheeraj Reddy Mamidi<br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div><pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Dheeraj Reddy Mamidi<div>
<br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Software Developer</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">The Rothwell Group, L.P.</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Email: </span><a href="mailto:atvaughan@rothwellgroup.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">drmamidi@rothwellgroup.com</a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Phone: </span><a value="+17139525355" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">713-952-5355 ext.30</a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-size:13px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">Web: </span><a href="http://www.rothwellgroup.com/" style="font-size:13px;color:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,255,255)" target="_blank">www.rothwellgroup.com</a>
</div></div>
</div>