Hi Greg,<br><br>Excellent, thanks. I assume you mean back to 3.5.<br><br><br>-- Oyvind<br><br><br><br><div class="gmail_quote">On Mon, Sep 12, 2011 at 8:49 PM, Greg Boone <span dir="ltr">&lt;<a href="mailto:greg.boone@autodesk.com">greg.boone@autodesk.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Oyvind,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have committed your changes to the FDO Trunk. At this point there is no plan to back port them to FDO 3.6. That may change depending on your needs.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Refer to:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="http://trac.osgeo.org/fdo/changeset/6245" target="_blank">http://trac.osgeo.org/fdo/changeset/6245</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Greg<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Oyvind Idland<br>
<b>Sent:</b> Wednesday, June 22, 2011 4:09 AM</span></p><div><div></div><div class="h5"><br>
<b>To:</b> FDO Users Mail List<br>
<b>Subject:</b> Re: [fdo-users] Re: SDE and slow multi-geometries<u></u><u></u></div></div><p></p><div><div></div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello,<br>
<br>
I just submitted a patch, see Ticket #735. Sorry for taking to long time !<br>
<br>
The patch was created from 3.5.0, so it should be merged into newer versions. <br>
<br>
As mentioned in a different thread, some of the unit-tests crashes (not related to this patch) and problems related to this should probably be fixed by somebody.<br>
<br>
The new code is affected by the tests that works, and has been running in our production environment for a while without problems.<br>
<br>
<br>
-- Oyvind<u></u><u></u></p>
<div>
<p class="MsoNormal">On Tue, Feb 22, 2011 at 4:36 PM, Greg Boone &lt;<a href="mailto:greg.boone@autodesk.com" target="_blank">greg.boone@autodesk.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">&gt;&gt;
</span>I assume there are tests that validates geometries<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">I would not assume this. You may want to take a look and see if those tests exist.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Greg<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Oyvind Idland<br>
<b>Sent:</b> Saturday, February 19, 2011 9:02 AM</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><br>
<b>To:</b> FDO Users Mail List<u></u><u></u></p>
</div>
<p class="MsoNormal"><b>Subject:</b> Re: [fdo-users] Re: SDE and slow multi-geometries<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello Dan and Greg,<br>
<br>
we are currently using 3.5, and we are in the middle of a release. I could patch 3.5 locally and use<br>
our own binaries. <br>
<br>
I&#39;ll try to run the test suite during beginning of the week, and check if the tests triggers new code. I assume<br>
there are tests that validates geometries. I can add necessary test code if I find that something is left out.<br>
<br>
After testing I can attach the patch.<br>
<br>
PS the memory leak I mentioned was fixed in a different way than I described.<br>
<br>
<br>
-- Oyvind<br>
<br>
<br>
<u></u><u></u></p>
<div>
<p class="MsoNormal">On Fri, Feb 18, 2011 at 5:23 PM, Dan Stoica &lt;<a href="mailto:dan.stoica@autodesk.com" target="_blank">dan.stoica@autodesk.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Oyvind,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">In addition, before submitting the patch please run the unit tests suite.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Does your change needs a specific unit test thus making sure it is exercised?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Dan.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>
<div>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:-moz-use-text-color -moz-use-text-color">
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Greg Boone<br>
<b>Sent:</b> Friday, February 18, 2011 10:19 AM</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"><br>
<b>To:</b> FDO Users Mail List</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Subject:</span></b><span style="font-size:10.0pt"> RE: [fdo-users] Re: SDE and slow multi-geometries</span><u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Can you create an svn patch and attach it to the ticket related to this defect? Once that is done I can have a few people look at the
 changes and have it submitted. </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">At this point these changes can go into the trunk, and possibly the 3.6 branch. Is there a requirement to have the changes ported back
 to 3.5?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Greg</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Oyvind Idland<br>
<b>Sent:</b> Friday, February 18, 2011 5:05 AM<br>
<b>To:</b> FDO Users Mail List<br>
<b>Subject:</b> [fdo-users] Re: SDE and slow multi-geometries</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">The code is now fixed. As I got started, I also did some related code cleanup:<br>
<br>
- the macro function EXPAND() are now gone. Instead, I made a simple templated<br>
array class with an array subscript operator. This looks much cleaner now and can be
<br>
debugged.<br>
<br>
<br>
- the macro function ADD_POINT is also gone, replaced with an inline static function.<br>
<br>
<br>
- memory leak: ArcSDEConnection, line 885: <br>
<br>
CHAR *qualified_table_name = new CHAR[SE_QUALIFIED_TABLE_NAME+1];<br>
<br>
This one never gets deleted. I can&#39;t see any reason to use new, so I replaced it<br>
with an array instead:<br>
   <br>
CHAR qualified_table_name [SE_QUALIFIED_TABLE_NAME+1];<br>
<br>
<br>
<br>
However, there are still things I&#39;d like to do with the code: The geometry buffering is
<br>
attached to the ArcSDEConnection class, and functions like convert_sde_shape_to_fgf()<br>
are poking around in these arrays (XY, Z, parts etc). What I would like to do, is to<br>
wrap all these arrays together with the indexing code into a new SDE geometry <br>
handling class. This won&#39;t add anything new, just make it more clean.<br>
<br>
<br>
Where can I submit/send the changes ?<br>
<br>
<br>
-- Oyvind<br>
<br>
<u></u><u></u></p>
<div>
<p class="MsoNormal">On Wed, Feb 16, 2011 at 4:53 PM, Oyvind Idland &lt;<a href="mailto:oyvind.idland@gmail.com" target="_blank">oyvind.idland@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<p class="MsoNormal">Hello,<br>
<br>
I have been looking into an issue that was brought up here earlier. Turns out that the SDE API<br>
is slower than cold molassis when using SE_shape_get_num_points() on multipart geometries.<br>
<br>
I did some experimentation using the index tables returned from SE_shape_get_all_points()<br>
directly. The total processing speed on my dataset went from roughly 20 secs down to less than
<br>
1 sec. There are several huge polygons with 200+ holes in them, and multilines.<br>
<br>
Why the native SDE API is so slow is a mystery, those indices should not require heavy<br>
calculation.<br>
<br>
The code is experimental so far, but when I finish writing the code, I can submit a patch<br>
if desired.<br>
<br>
<br>
-- Øyvind Idland <u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
fdo-users mailing list<br>
<a href="mailto:fdo-users@lists.osgeo.org" target="_blank">fdo-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fdo-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-users</a><u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
fdo-users mailing list<br>
<a href="mailto:fdo-users@lists.osgeo.org" target="_blank">fdo-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fdo-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-users</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</div>

<br>_______________________________________________<br>
fdo-users mailing list<br>
<a href="mailto:fdo-users@lists.osgeo.org">fdo-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fdo-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-users</a><br>
<br></blockquote></div><br>