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 list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev