Wed, Dec 7 2005
15:37:11
|
|
Request created by guest
|
|
Subject: upload loop error in v.distance
Platform: Mac OSX
grass obtained from: Other (CDROM etc)
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.1cvs (Moretti)
When running:
v.distance -a kenpoints to=kenbnd table=bdist column=distance upload=dist
the output dbf reads as follows:
from_cat distance
5 0
5 342
5 284
2 156
2 0
2 301
8 12
8 19
8 0
4 956
...and so on
Notice how a zero value is written in the index position of the given object
- i.e. first for the first
point listed, second for the second, etc. This causes problems when doing various
statistical
manipulations with the data. A fix would be a big help! |
|
Thu, Dec 8 2005
05:30:33
|
|
Mail sent by michael.barton@asu.edu
|
|
Return-Path |
<Michael.Barton@asu.edu>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Wed, 07 Dec 2005 21:30:21 -0700
|
From |
Michael Barton <michael.barton@asu.edu>
|
Subject |
Re: [GRASS5] [bug #3886] (grass) upload loop error in v.distance
|
In-reply-to |
<20051207143711.BAB2B101F12@lists.intevation.de>
|
To |
Paolo Cavallini via RT <grass-bugs@intevation.de>, grass5@grass.itc.it
|
Message-id |
<BFBD04ED.74B6%michael.barton@asu.edu>
|
MIME-version |
1.0
|
Content-type |
text/plain; charset=US-ASCII
|
Content-transfer-encoding |
7bit
|
User-Agent |
Microsoft-Entourage/11.2.1.051004
|
Thread-Topic |
[GRASS5] [bug #3886] (grass) upload loop error in v.distance
|
Thread-Index |
AcX7sBl3WCmk1GejEdq0VQAKlW/i4A==
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
You've set the -a flag, which asks v.distance to computer the distance from
a point to ALL points in the file. The 0 values represent the distance from
a point to itself.
This is pretty easy to get rid of in any kind of dbms or stat program--or
even with shell scripting commands. However, it is also helpful marking when
distances to a new point is being measured. To see an example of how this
can be used, look at the v.lda script I did (on the WIKI) to compute local
density analysis scores.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
> From: Request Tracker <grass-bugs@intevation.de>
> Reply-To: Request Tracker <grass-bugs@intevation.de>
> Date: Wed, 7 Dec 2005 15:37:11 +0100 (CET)
> To: <grass5@grass.itc.it>
> Subject: [GRASS5] [bug #3886] (grass) upload loop error in v.distance
>
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3886
> -------------------------------------------------------------------------
>
> Subject: upload loop error in v.distance
>
> Platform: Mac OSX
> grass obtained from: Other (CDROM etc)
> grass binary for platform: Downloaded precompiled Binaries
> GRASS Version: 6.1cvs (Moretti)
>
> When running:
>
> v.distance -a kenpoints to=kenbnd table=bdist column=distance upload=dist
>
> the output dbf reads as follows:
>
> from_cat distance
> 5 0
> 5 342
> 5 284
> 2 156
> 2 0
> 2 301
> 8 12
> 8 19
> 8 0
> 4 956
> ...and so on
>
> Notice how a zero value is written in the index position of the given object
-
> i.e. first for the first
> point listed, second for the second, etc. This causes problems when doing
> various statistical
> manipulations with the data. A fix would be a big help!
>
> -------------------------------------------- Managed by Request Tracker
>
|
|
Thu, Dec 8 2005
15:36:58
|
|
Mail sent by gcb2101@columbia.edu
|
|
Return-Path |
<gcb2101@columbia.edu>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<1134052614.43984506711af@cubmail.cc.columbia.edu>
|
Date |
Thu, 08 Dec 2005 09:36:54 -0500
|
From |
Gregory Booma <gcb2101@columbia.edu>
|
To |
Michael Barton via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #3886] (grass) upload loop error in v.distance
|
References |
<20051208043033.82BC0101EF8@lists.intevation.de>
|
In-Reply-To |
<20051208043033.82BC0101EF8@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=ISO-8859-1
|
Content-Transfer-Encoding |
8bit
|
User-Agent |
Internet Messaging Program (IMP) 3.2.8
|
X-Originating-IP |
140.247.236.71
|
X-Spam-Status |
No, hits=-3.9 tagged_above=-999.0 required=3.0 tests=BAYES_00, FROM_ENDS_IN_NUMS
|
X-Spam-Level |
|
Thank you, Michael. Apologies for the premature report. So to
clarify, the -a flag measures distances only to features in the
from-vector, regardless if one sets a to-vector? I'll have a look
at v.lda.
Cheers,
Greg
Quoting Michael Barton via RT <grass-bugs@intevation.de>:
> You've set the -a flag, which asks v.distance to computer the
> distance from
> a point to ALL points in the file. The 0 values represent the
> distance from
> a point to itself.
>
> This is pretty easy to get rid of in any kind of dbms or stat
> program--or
> even with shell scripting commands. However, it is also helpful
> marking when
> distances to a new point is being measured. To see an example of
> how this
> can be used, look at the v.lda script I did (on the WIKI) to
> compute local
> density analysis scores.
>
> Michael
> __________________________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution and Social Change
> Arizona State University
> Tempe, AZ 85287-2402
>
> phone: 480-965-6213
> fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
>
>
>
> > From: Request Tracker <grass-bugs@intevation.de>
> > Reply-To: Request Tracker <grass-bugs@intevation.de>
> > Date: Wed, 7 Dec 2005 15:37:11 +0100 (CET)
> > To: <grass5@grass.itc.it>
> > Subject: [GRASS5] [bug #3886] (grass) upload loop error in
> v.distance
> >
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=3886
> >
>
-------------------------------------------------------------------------
> >
> > Subject: upload loop error in v.distance
> >
> > Platform: Mac OSX
> > grass obtained from: Other (CDROM etc)
> > grass binary for platform: Downloaded precompiled Binaries
> > GRASS Version: 6.1cvs (Moretti)
> >
> > When running:
> >
> > v.distance -a kenpoints to=kenbnd table=bdist column=distance
> upload=dist
> >
> > the output dbf reads as follows:
> >
> > from_cat distance
> > 5 0
> > 5 342
> > 5 284
> > 2 156
> > 2 0
> > 2 301
> > 8 12
> > 8 19
> > 8 0
> > 4 956
> > ...and so on
> >
> > Notice how a zero value is written in the index position of the
> given object -
> > i.e. first for the first
> > point listed, second for the second, etc. This causes problems
> when doing
> > various statistical
> > manipulations with the data. A fix would be a big help!
> >
> > -------------------------------------------- Managed by Request
> Tracker
> >
>
>
> --- Headers Follow ---
>
> >From Michael.Barton@asu.edu Thu Dec 8 05:30:33 2005
> Return-Path: <Michael.Barton@asu.edu>
> Delivered-To: grass-bugs@lists.intevation.de
> Received: from mail.intevation.de (aktaia [212.95.126.10])
> by lists.intevation.de (Postfix) with ESMTP id 3112A101EEC
> for <grass-bugs@lists.intevation.de>; Thu, 8 Dec 2005 05:30:33
> +0100 (CET)
> Received: from localhost (localhost [127.0.0.1])
> by mail.intevation.de (Postfix) with ESMTP id AEF5F36E1C
> for <grass-bugs@lists.intevation.de>; Thu, 8 Dec 2005 05:30:32
> +0100 (CET)
> Received: from post5.inre.asu.edu (post5.inre.asu.edu
> [129.219.110.120])
> by mail.intevation.de (Postfix) with ESMTP id 5F53336DC3
> for <grass-bugs@intevation.de>; Thu, 8 Dec 2005 05:30:30 +0100
> (CET)
> Received: from conversion.post5.inre.asu.edu by asu.edu (PMDF
> V6.1-1X6 #30769)
> id <0IR500D01WIIC3@asu.edu> for grass-bugs@intevation.de; Wed,
> 07 Dec 2005 21:30:18 -0700 (MST)
> Received: from EX03.asurite.ad.asu.edu
> (excl1-b0.asurite.ad.asu.edu [129.219.12.197])
> by asu.edu (PMDF V6.1-1X6 #30769) with ESMTP id
> <0IR500ABJWIIZ7@asu.edu>; Wed,
> 07 Dec 2005 21:30:18 -0700 (MST)
> Received: from 216.160.217.17 ([216.160.217.17]) by
> EX03.asurite.ad.asu.edu
> ([129.219.12.223]) via Exchange Front-End Server
> exchange.asu.edu
> ([129.219.10.231]) with Microsoft Exchange Server HTTP-DAV ;
> Wed,
> 07 Dec 2005 21:30:18 -0700
> Date: Wed, 07 Dec 2005 21:30:21 -0700
> From: Michael Barton <michael.barton@asu.edu>
> Subject: Re: [GRASS5] [bug #3886] (grass) upload loop error in
> v.distance
> In-reply-to: <20051207143711.BAB2B101F12@lists.intevation.de>
> To: Paolo Cavallini via RT <grass-bugs@intevation.de>,
> grass5@grass.itc.it
> Message-id: <BFBD04ED.74B6%michael.barton@asu.edu>
> MIME-version: 1.0
> Content-type: text/plain; charset=US-ASCII
> Content-transfer-encoding: 7bit
> User-Agent: Microsoft-Entourage/11.2.1.051004
> Thread-Topic: [GRASS5] [bug #3886] (grass) upload loop error in
> v.distance
> Thread-Index: AcX7sBl3WCmk1GejEdq0VQAKlW/i4A==
> X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0
> tests=BAYES_00
> X-Spam-Level:
>
> -------------------------------------------- Managed by Request
> Tracker
>
|
|
Fri, Jan 27 2006
16:23:01
|
|
Mail sent by msieczka
|
|
Can we consider this a fixed? Author, anybody?
Maciek |
|
Tue, Jan 31 2006
21:05:59
|
|
Mail sent by gcb2101@columbia.edu
|
|
Return-Path |
<gcb2101@columbia.edu>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<1138737949.43dfc31d47db9@cubmail.cc.columbia.edu>
|
Date |
Tue, 31 Jan 2006 15:05:49 -0500
|
From |
Gregory Booma <gcb2101@columbia.edu>
|
To |
Maciek Sieczka via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #3886] (grass) upload loop error in v.distance
|
References |
<20060127152301.52C521006B6@lists.intevation.de>
|
In-Reply-To |
<20060127152301.52C521006B6@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=ISO-8859-1
|
Content-Transfer-Encoding |
8bit
|
User-Agent |
Internet Messaging Program (IMP) 3.2.8
|
X-Originating-IP |
66.92.86.89
|
X-Spam-Status |
No, hits=-3.9 tagged_above=-999.0 required=3.0 tests=BAYES_00, FROM_ENDS_IN_NUMS
|
X-Spam-Level |
|
If I understand correctly this is not a bug, as each "from" point
includes itself as a "to" point (when -a flag used). While it's
fairly easy to remove from the output with a text editor, it would
be nice to have an option where "self" is excluded automatically
(an "-s" flag?). Perhaps this is a wish, then...
Cheers,
Greg
Quoting Maciek Sieczka via RT <grass-bugs@intevation.de>:
> Can we consider this a fixed? Author, anybody?
>
> Maciek
>
> -------------------------------------------- Managed by Request
> Tracker
>
>
|
|
Mon, Jul 17 2006
17:33:57
|
|
Mail sent by mneteler
|
|
Hi,
I would love to see a matrix (or CSV table output) when
using the -z flag...
Markus |
|
Mon, Jul 17 2006
17:34:07
|
|
User changed to gcb2101@columbia.edu,neteler@itc.it by mneteler
|
|
Mon, Oct 9 2006
23:20:02
|
|
Area changed to wish6 by msieczka
|
|
Mon, Oct 9 2006
23:22:41
|
|
Subject changed to v.distance: option to exclude self-distance for '-a'; matrix (or CSV table) for '-z' by msieczka
|
|