<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 10/10/2013 09:33 PM, Tamas Szekeres
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACALY+RbbU4x3DKhy3UG_JLneZG9S=tjKAVVuU-RansoHEfa4w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Dheeraj,
        <div><br>
        </div>
        <div>I don't think the <span
style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.727272033691406px;white-space:pre-wrap">OSGeo.OGR.Layer.Intersection
            supports progress notification. You might probably have
            encountered a bug which should be fixed. Do you have a
            sample code to reproduce this issue? I would specifically
            interested in the actual geometries have been passed to the
            function.</span></div>
      </div>
    </blockquote>
    <br>
    Layer::Intersection supports progress notification but support in
    the Swig layer may not be complete. There is of course a possibility
    of a bug in the Layer::Intersection code too.<br>
    <br>
    Ari<br>
    <br>
    <blockquote
cite="mid:CACALY+RbbU4x3DKhy3UG_JLneZG9S=tjKAVVuU-RansoHEfa4w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><span
style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.727272033691406px;white-space:pre-wrap"><br>
          </span></div>
        <div><span
style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.727272033691406px;white-space:pre-wrap">Best
            regards,</span></div>
        <div><span
style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.727272033691406px;white-space:pre-wrap"><br>
          </span></div>
        <div><span
style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.727272033691406px;white-space:pre-wrap">Tamas</span></div>
        <div><span
style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.727272033691406px;white-space:pre-wrap"><br>
          </span></div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/10/10 Dheeraj Reddy Mamidi <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:drmamidi@rothwellgroup.com" target="_blank">drmamidi@rothwellgroup.com</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr"><font face="verdana, sans-serif">Hi list,</font>
              <div><font face="verdana, sans-serif"><br clear="all">
                </font>
                <div>
                  <font face="verdana, sans-serif">I have troubles with
                    C# bindings of OGR. <span
                      style="white-space:pre-wrap">I was trying to
                      perform intersection on two feature classes (shape
                      file formats) </span><span
                      style="white-space:pre-wrap">using
                      OSGeo.OGR.Layer.Intersection(), but have problems
                      making it work. </span><span
                      style="line-height:1.3em;font-size:0.93em;white-space:pre-wrap">I
                      keep getting an error saying </span></font><span
style="line-height:1.3em;font-size:0.93em;white-space:pre-wrap;font-family:verdana,sans-serif">"AccessViolationException
                    was unhandled. Attempted to read or write protected
                    memory. This is often an indication that other
                    memory is corrupt.</span></div>
                <div><span
style="line-height:1.3em;font-size:0.93em;white-space:pre-wrap;font-family:verdana,sans-serif"><br>
                  </span></div>
                <div><font face="verdana, sans-serif"><span
                      style="white-space:pre-wrap">Is the above error
                      something to do with </span><span
                      style="white-space:pre-wrap">SWIGTYPE_p_GDALProgressFunc
                      callback </span><span
                      style="white-space:pre-wrap">and
                      OSGeo.OGR.SWIGTYPE_p_void callback_data
                      arguments? </span></font><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif">I
                    tried passing those parameters null as suggested by
                    some in the forums but</span><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif">
                    I keep getting the error "Attempt to </span><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif">dereference
                    null GDALProgressFunc". I am not sure what that
                    means. </span></div>
                <div><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif"><br>
                  </span></div>
                <div><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif">And
                    when I instantiate callback as new </span><font
                    color="#000000" face="verdana, sans-serif"><span
                      style="white-space:pre-wrap">SWIGTYPE_p_GDALProgressFunc()
                      and new callback_data as new SWIGTYPE_p_void(), I
                      don't get error </span></font><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif">Attempt
                    to </span><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif">dereference
                    null GDALProgressFunc, but still have error saying </span><span
style="line-height:15.703125px;font-size:12px;white-space:pre-wrap;font-family:verdana,sans-serif">AccessViolationException
                    was unhandled. Attempted to read or write protected
                    memory. This is often an indication that other
                    memory is corrupt.</span></div>
                <div><span
style="line-height:15.703125px;font-size:12px;white-space:pre-wrap;font-family:verdana,sans-serif"><br>
                  </span></div>
                <div><span
style="line-height:15.703125px;font-size:12px;white-space:pre-wrap;font-family:verdana,sans-serif">Can
                    someone please help me figure this out and let me
                    know how to make use of </span><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif">OSGeo.OGR.Layer.Intersection()
                    in the right way with c# bindings. Thank you.</span></div>
                <div><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif"><br>
                  </span></div>
                <div><span
                    style="white-space:pre-wrap;font-family:verdana,sans-serif">Thanks,</span></div>
                <div>Dheeraj<br>
                </div>
                <div dir="ltr">
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            gdal-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.osgeo.org/mailman/listinfo/gdal-dev"
              target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
          </blockquote>
        </div>
        <br>
      </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>