<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 07/01/2013 10:13 PM, Dheeraj Reddy
Mamidi wrote:<br>
</div>
<blockquote
cite="mid:CAAU4rM8qr9CG6qN09Oi46=OBK7CvV74xSoBq+xuf4ExAAA6pfg@mail.gmail.com"
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>
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
cite="mid:CAAU4rM8qr9CG6qN09Oi46=OBK7CvV74xSoBq+xuf4ExAAA6pfg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div style="">Please share an example on how to call
Intersection routine or some other routine which takes above
mentioned argument types.</div>
<div style=""><br>
</div>
<div style="">Thank you,</div>
<div>
<div>Dheeraj Reddy Mamidi<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
</body>
</html>