<br><br><div class="gmail_quote">On Thu, Jun 4, 2009 at 1:30 PM, Volkan Kepoglu <span dir="ltr">&lt;<a href="mailto:vkepoglu@gmail.com">vkepoglu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="im">On Thu, Jun 4, 2009 at 8:53 AM, Volkan Kepoglu <span dir="ltr">&lt;<a href="mailto:vkepoglu@gmail.com" target="_blank">vkepoglu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br><br><div class="gmail_quote"><div>On Wed, Jun 3, 2009 at 8:02 PM, Paolo Cavallini <span dir="ltr">&lt;<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


Paolo Cavallini ha scritto:<br>
<div>&gt; Volkan Kepoglu ha scritto:<br>
&gt;<br>
&gt; Hi Volkan.<br>
&gt; Still errors. Apparently they occur when only a point layer without a<br>
&gt; numeric column is available.<br>
</div></blockquote></div><div><br>it is a bug now. the reason is converting from sp classes to ppp format of spatstat library in R, at least one numeric column is required. if there is no numeric column in point layer, then id column of point layer can be used.  i will try to fix it.<br>


</div></div></blockquote></div><div><br>I could not find any function to reach &quot;id&quot; colon of layer. the value of id colon for each row can be reachable like <a href="http://feature.id" target="_blank">feature.id</a>(). I want to reach as a colon. maybe the id as a colon can be unreachable with the python code or i could not find. do you have any suggestion for this? so i think this option does not solve the problem. Another solution can be to add a new integer field, populate this field with numbers and save the file and then sent to the R. Actually there is another plugin, Borys&#39; Table manager does the same thing; insert the field and save. Hacking some part of the table manager code into sda4pp will be a long story. i wll do later. i think these are note to myself.<br>

<br>thanks for your valuable input and awaring of difficult bug. :-)</div></div></blockquote><div><br>the bug of no numeric column found in point layer while running density tool is fixed for only shape file. A new numeric field is added to shape file with unique field name. For non shape file data, this problem is still valid, but instead of giving an error, an informative message is displayed.<br>
<br>regards,<br>volkan<br><h1></h1></div></div>