[gdal-dev] OGRLayer.Intersection() Question

Dheeraj Reddy Mamidi drmamidi at rothwellgroup.com
Fri Jul 26 07:59:11 PDT 2013


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



-- 
Dheeraj Reddy Mamidi

Software Developer
The Rothwell Group, L.P.
Email: drmamidi at rothwellgroup.com <atvaughan at rothwellgroup.com>
Phone: 713-952-5355 ext.30
Web: www.rothwellgroup.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130726/85dca5dd/attachment.html>


More information about the gdal-dev mailing list