[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-user
Subject:    Re: [GRASS-user] Crown shape drawing
From:       Matteo Mura <mur.teo () gmail ! com>
Date:       2013-10-26 13:58:44
Message-ID: CAC5WAOZy8m5gFO7VmbNQ+CcREL8yj=oCPxkfZ_5DcZcOJqxo7Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks as the same Daniel.


2013/10/25 Daniel Victoria <daniel.victoria@gmail.com>

> Hi all,
>
> A while ago I had to do a similar task for Lidar analysis.... So I
> made a quick python program for it. The only problem is that it spits
> out boxes and not nice round shapes. The code will create both GRASS
> ASCII vector format or a csv file that can be used to subset las data.
> Also, since I created the program specifically for our needs, the
> column numbers are fixed.
>
> Anyway, the code is attached. Hope it helps.
>
> Cheers
> Daniel
>
> PS1 - I'm no professional coder so I'm certain there are flaws and
> leftover lines in the code. But it worked for me...
> PS2 - I have another version that will generate a shapefile with
> ellipses as crowns but the code is too messy. I'd like to make it more
> presentable before releasing it but, if you can stomach poorly writen
> python, just let me know...
>
>
> On Fri, Oct 25, 2013 at 8:33 AM, Nikos Alexandris
> <nik@nikosalexandris.net> wrote:
> > On Friday 25 of October 2013 07:56:32 Matteo Mura wrote:
> >> Dear all,
> >>
> >> I have a vector-points file containing the points of trees location in
> a 100
> >> x 100 square, it is a permanent plot. The database of this vector
> contains
> >> for each sampled tree the crown projection for each direction
> (N-S-E-W). I
> >> need to convert the points to polygons which shape and size is
> determined
> >> by the crown projection measures. In other therms I would like to have
> the
> >> polygon file which describe the tree crown shape and dimension.
> >>
> >> Is it possible to do in GRASS? If yes, how can I?
> >
> > Not a reply, just a comment: this is a very nice question! If this gets a
> > smart solution consider posting it at GIS@SE. GRASS GIS deserves/needs
> to
> > attract more points over there.
> >
> > Nikos
> > _______________________________________________
> > grass-user mailing list
> > grass-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
>

[Attachment #5 (text/html)]

<div dir="ltr">Thanks as the same Daniel.</div><div class="gmail_extra"><br><br><div \
class="gmail_quote">2013/10/25 Daniel Victoria <span dir="ltr">&lt;<a \
href="mailto:daniel.victoria@gmail.com" \
target="_blank">daniel.victoria@gmail.com</a>&gt;</span><br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi all,<br> <br>
A while ago I had to do a similar task for Lidar analysis.... So I<br>
made a quick python program for it. The only problem is that it spits<br>
out boxes and not nice round shapes. The code will create both GRASS<br>
ASCII vector format or a csv file that can be used to subset las data.<br>
Also, since I created the program specifically for our needs, the<br>
column numbers are fixed.<br>
<br>
Anyway, the code is attached. Hope it helps.<br>
<br>
Cheers<br>
Daniel<br>
<br>
PS1 - I&#39;m no professional coder so I&#39;m certain there are flaws and<br>
leftover lines in the code. But it worked for me...<br>
PS2 - I have another version that will generate a shapefile with<br>
ellipses as crowns but the code is too messy. I&#39;d like to make it more<br>
presentable before releasing it but, if you can stomach poorly writen<br>
python, just let me know...<br>
<div><div class="h5"><br>
<br>
On Fri, Oct 25, 2013 at 8:33 AM, Nikos Alexandris<br>
&lt;<a href="mailto:nik@nikosalexandris.net">nik@nikosalexandris.net</a>&gt; \
wrote:<br> &gt; On Friday 25 of October 2013 07:56:32 Matteo Mura wrote:<br>
&gt;&gt; Dear all,<br>
&gt;&gt;<br>
&gt;&gt; I have a vector-points file containing the points of trees location in a \
100<br> &gt;&gt; x 100 square, it is a permanent plot. The database of this vector \
contains<br> &gt;&gt; for each sampled tree the crown projection for each direction \
(N-S-E-W). I<br> &gt;&gt; need to convert the points to polygons which shape and size \
is determined<br> &gt;&gt; by the crown projection measures. In other therms I would \
like to have the<br> &gt;&gt; polygon file which describe the tree crown shape and \
dimension.<br> &gt;&gt;<br>
&gt;&gt; Is it possible to do in GRASS? If yes, how can I?<br>
&gt;<br>
&gt; Not a reply, just a comment: this is a very nice question! If this gets a<br>
&gt; smart solution consider posting it at GIS@SE. GRASS GIS deserves/needs to<br>
&gt; attract more points over there.<br>
&gt;<br>
&gt; Nikos<br>
</div></div>&gt; _______________________________________________<br>
&gt; grass-user mailing list<br>
&gt; <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" \
target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br> \
</blockquote></div><br></div>



_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic