<br><br><div><span class="gmail_quote">2007/7/25, Jean Michel PIERRET &lt;<a href="mailto:jmp@geosys.com">jmp@geosys.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">












<div link="blue" vlink="blue" lang="FR">

<div><br><p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I have changed all "AddGeometry"
by "AddGeometryDirectly" and nothing has changed. </span></font></p></div></div></blockquote><div><br>Jean,<br><br>If you doesn&#39;t experience much difference then the extra geometry creation was not the cause of the performance weakness.
<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div link="blue" vlink="blue" lang="FR"><div><p style="text-indent: 35.4pt;">
<font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Also i have creates a
method to convert my structure into &quot;wkb&quot; and i use &quot;Geometry.CreateFromWkb&quot;
but it&#39;s not more quick than the other method.</span></font></p></div></div></blockquote><div><br>Hmmm... I don&#39;t think if we can ever overstep this approach dramatically with a much more performant&nbsp; option. With this option most of the work is implemented in OGRLinearRing::_importFromWkb (
ogrlinearring.cpp)<br>With your proposal we should do mostly the same (considering that the wkb byte ordering matches with your platform byte ordering - wkbXDR in case if the intel platforms -.) <br><br></div></div>Do you have any clue which method causes slow execution, or could you create a simple example including the various implementations mentioned before so as to make some further investigations with that?
<br><br>Best regards,<br><br>Tamas<br><br><br><br>