Hi Ari, I did try passing the two callback arguments as null (trying to ignore). It doesn't seem to work by doing that.
Thanks, Dheeraj On Fri, Jul 26, 2013 at 1:09 AM, Ari Jolma <ari.jo...@gmail.com> wrote: > On 07/01/2013 10:13 PM, Dheeraj Reddy Mamidi wrote: > > Hi All, > > 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. > > > 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. > > Ari > > > Please share an example on how to call Intersection routine or some > other routine which takes above mentioned argument types. > > Thank you, > Dheeraj Reddy Mamidi > > > > > _______________________________________________ > gdal-dev mailing > listgdal-dev@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Dheeraj Reddy Mamidi Software Developer The Rothwell Group, L.P. Email: drmam...@rothwellgroup.com <atvaug...@rothwellgroup.com> Phone: 713-952-5355 ext.30 Web: www.rothwellgroup.com
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev