Re: [GRASS-user] v.delaunay Bug in Mac OS X

2009-06-26 Thread Paul Kelly

Hello all,
Last week I asked the author of the new v.delaunay if he could have a look 
at this, but I haven't heard back from him yet. FWIW I can't reproduce the 
problem with today's 6.4 release branch on a 32-bit Linux system 
(Slackware 12.2).


On Tue, 16 Jun 2009, William Kyngesburye wrote:

I don't see any changes in v.delaunay itself from RC4, though maybe there are 
changes in the vector libraries.  Did this work in RC4?


A big difference in RC5 for OSX is that it's now 64bit.


Does this affect all builds on OS X? If so, it seems like a rather drastic 
change when the 6.4 release branch is in critical bugfix only mode 
preparing for release - I fear a change to 64-bit binaries could trigger 
obscure bugs that might not be found for a long time. Not something to do 
just before the release IMHO.


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


Re: [GRASS-user] v.delaunay Bug in Mac OS X

2009-06-26 Thread William Kyngesburye

On Jun 26, 2009, at 9:21 AM, Paul Kelly wrote:


Hello all,
Last week I asked the author of the new v.delaunay if he could have  
a look at this, but I haven't heard back from him yet. FWIW I can't  
reproduce the problem with today's 6.4 release branch on a 32-bit  
Linux system (Slackware 12.2).


On Tue, 16 Jun 2009, William Kyngesburye wrote:

I don't see any changes in v.delaunay itself from RC4, though maybe  
there are changes in the vector libraries.  Did this work in RC4?


A big difference in RC5 for OSX is that it's now 64bit.


Does this affect all builds on OS X? If so, it seems like a rather  
drastic change when the 6.4 release branch is in critical bugfix  
only mode preparing for release - I fear a change to 64-bit binaries  
could trigger obscure bugs that might not be found for a long time.  
Not something to do just before the release IMHO.




Michael did try it on 32bit OSX with the same results.  And also said  
it happened on a previous 6.4RC that was 32bit only.


As far as the 'drastic' change, this was a bugfix - fixed for trunk  
and dev6


http://trac.osgeo.org/grass/ticket/431

and backported to release:

http://trac.osgeo.org/grass/changeset/36838

I didn't see it attached to a ticket, though I did notice the backport  
in:


http://trac.osgeo.org/grass/ticket/597


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


-
William Kyngesburye kyngchaos*at*kyngchaos*dot*com
http://www.kyngchaos.com/

This is a question about the past, is it? ... How can I tell that the  
past isn't a fiction designed to account for the discrepancy between  
my immediate physical sensations and my state of mind?


- The Ruler of the Universe


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


Re: [GRASS-user] v.delaunay Bug in Mac OS X

2009-06-26 Thread Michael Barton

Paul,

I'm just back from a conference. I'll try to build GRASS 32 bit and  
test to see if that fixes it. However, I thought that Linux systems  
had been running GRASS 64 bit for some time now.


Michael

C. Michael Barton, Professor of Anthropology
Director of Graduate Studies, School of Human Evolution  Social Change
Director, Center for Social Dynamics  Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: www.public.asu.edu/~cmbarton




On Jun 26, 2009, at 7:38 AM, grass-user-requ...@lists.osgeo.org wrote:


Date: Fri, 26 Jun 2009 15:21:22 +0100 (BST)
From: Paul Kelly paul-gr...@stjohnspoint.co.uk
Subject: Re: [GRASS-user] v.delaunay Bug in Mac OS X
To: William Kyngesburye kyngch...@kyngchaos.com
Cc: GRASS user list grass-user@lists.osgeo.org
Message-ID: pine.lnx.4.62.0906261515440.14...@vortex.ukshells.co.uk
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Hello all,
Last week I asked the author of the new v.delaunay if he could have  
a look
at this, but I haven't heard back from him yet. FWIW I can't  
reproduce the

problem with today's 6.4 release branch on a 32-bit Linux system
(Slackware 12.2).

On Tue, 16 Jun 2009, William Kyngesburye wrote:

I don't see any changes in v.delaunay itself from RC4, though maybe  
there are

changes in the vector libraries.  Did this work in RC4?

A big difference in RC5 for OSX is that it's now 64bit.


Does this affect all builds on OS X? If so, it seems like a rather  
drastic

change when the 6.4 release branch is in critical bugfix only mode
preparing for release - I fear a change to 64-bit binaries could  
trigger
obscure bugs that might not be found for a long time. Not something  
to do

just before the release IMHO.

Paul


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


Re: [GRASS-user] v.delaunay Bug in Mac OS X

2009-06-26 Thread Hamish

Hi,

fyi I've posted a valgrind error for the module into the relevant
bug report. IMO a good way to continue with this bug is to tackle
that known error and see if it fixes it.

https://trac.osgeo.org/grass/ticket/660


Hamish



  

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


Re: [GRASS-user] v.delaunay Bug in Mac OS X

2009-06-17 Thread Hamish

William wrote:
 I don't see any changes in v.delaunay
 itself from RC4, though maybe there are changes in the
 vector libraries.  Did this work in RC4?

Note since Nov 26 2008 (ie all 6.4.0RCs) v.delaunay has been completely
replaced by v.delaunay2 which was a Google summer of code project last
year. It shares the same name and options but is an entirely new program
on the inside.

was the working version 6.3.0? (ie old version of the module)


Hamish



  

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


Re: [GRASS-user] v.delaunay Bug in Mac OS X

2009-06-17 Thread Hamish
==indirectly lost: 2,664 bytes in 18 blocks.
==7844==  possibly lost: 0 bytes in 0 blocks.
==7844==still reachable: 130,341 bytes in 239 blocks.
==7844== suppressed: 0 bytes in 0 blocks.


 and I just fixed a minor commenting bug in in_out.c (which was
already found+fixed in grass 7 but noone ever mentioned to backport
it...  mmph)


Hamish





--- On Tue, 6/16/09, Michael Perdue michael_per...@yahoo.ca wrote:

 From: Michael Perdue michael_per...@yahoo.ca
 Subject: [GRASS-user] v.delaunay Bug in Mac OS X
 To: GRASS user list grass-user@lists.osgeo.org
 Date: Tuesday, June 16, 2009, 10:50 PM
 Hi,
 
 v.delaunay is generating incorrect results on Mac OS X on
 my machine (Intel Mac Pro, Leopard, W. Kyngesburye's GRASS
 6.4-RC5 binaries). The following commands give the results
 below;
 
 echo 456490.2375|5905949.8625|1
 456690.0917|5905895.5625|2
 456570.9333|5905821.65416667|3
 456579.22916667|5905881.9875|4
 456494.0083|5905859.3625|5
 456673.5|5905819.3917|6
 456601.85416667|5905782.4375|7
 456604.1167|5905944.5833|8 | v.in.ascii -n
 output=DelaunayPoints cat=3
 
 v.delaunay input=DelaunayPoints output=DelaunayTriangles
 Building topology for vector map
 DelaunayTriangles...
 Registering primitives...
 12 primitives registered
 24 vertices registered
 Building areas...
 100%
 4 areas built
 1 isles built
 Number of nodes: 8
 Number of primitives: 12
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 12
 Number of centroids: 0
 Number of areas: 4
 Number of isles: 1
 Number of incorrect boundaries: 4
 Number of areas without centroid: 4
 WARNING: Unable to calculate area
 centroid z coordinate
  100%
 Building topology for vector map
 DelaunayTriangles...
 Attaching islands...
  100%
 Attaching centroids...
  100%
 Number of nodes: 11
 Number of primitives: 15
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 12
 Number of centroids: 3
 Number of areas: 4
 Number of isles: 1
 Number of incorrect boundaries: 4
 Number of areas without centroid: 1
 
 
 g.region vect=DelaunayPoints
 
 d.mon x0
 d.vect DelaunayTriangles
 d.vect map=DelaunayPoints color=red width=0
 icon=basic/circle size=10
 
 
 
 
 I've tested it on the same machine running Linux and had no
 issue. It also ran without issue on Mac OS X with GRASS 6.3.
 Can anyone verify that it isn't working properly anymore or
 could it be a problem with my installation?
 
 Cheers,
 
 Mike
 -Inline Attachment Follows-
 
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user
 


  

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


Re: [GRASS-user] v.delaunay Bug in Mac OS X

2009-06-17 Thread Michael Perdue

OOPS, forgot to hit the list with this one.

On 17-Jun-09, at 2:30 AM, Hamish wrote:



William wrote:

I don't see any changes in v.delaunay
itself from RC4, though maybe there are changes in the
vector libraries.  Did this work in RC4?


Note since Nov 26 2008 (ie all 6.4.0RCs) v.delaunay has been  
completely

replaced by v.delaunay2 which was a Google summer of code project last
year. It shares the same name and options but is an entirely new  
program

on the inside.

was the working version 6.3.0? (ie old version of the module)


Yes. v.delaunay works fine in 6.3.0 on OS X.

Mike

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


[GRASS-user] v.delaunay Bug in Mac OS X

2009-06-16 Thread Michael Perdue

Hi,

v.delaunay is generating incorrect results on Mac OS X on my machine  
(Intel Mac Pro, Leopard, W. Kyngesburye's GRASS 6.4-RC5 binaries). The  
following commands give the results below;


echo 456490.2375|5905949.8625|1
456690.0917|5905895.5625|2
456570.9333|5905821.65416667|3
456579.22916667|5905881.9875|4
456494.0083|5905859.3625|5
456673.5|5905819.3917|6
456601.85416667|5905782.4375|7
456604.1167|5905944.5833|8 | v.in.ascii -n  
output=DelaunayPoints cat=3


v.delaunay input=DelaunayPoints output=DelaunayTriangles
Building topology for vector map DelaunayTriangles...
Registering primitives...
12 primitives registered
24 vertices registered
Building areas...
100%
4 areas built
1 isles built
Number of nodes: 8
Number of primitives: 12
Number of points: 0
Number of lines: 0
Number of boundaries: 12
Number of centroids: 0
Number of areas: 4
Number of isles: 1
Number of incorrect boundaries: 4
Number of areas without centroid: 4
WARNING: Unable to calculate area centroid z coordinate
100%
Building topology for vector map DelaunayTriangles...
Attaching islands...
100%
Attaching centroids...
100%
Number of nodes: 11
Number of primitives: 15
Number of points: 0
Number of lines: 0
Number of boundaries: 12
Number of centroids: 3
Number of areas: 4
Number of isles: 1
Number of incorrect boundaries: 4
Number of areas without centroid: 1


g.region vect=DelaunayPoints

d.mon x0
d.vect DelaunayTriangles
d.vect map=DelaunayPoints color=red width=0 icon=basic/circle size=10

inline: v.delaunay problem.tiff



I've tested it on the same machine running Linux and had no issue. It  
also ran without issue on Mac OS X with GRASS 6.3. Can anyone verify  
that it isn't working properly anymore or could it be a problem with  
my installation?


Cheers,

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


Re: [GRASS-user] v.delaunay Bug in Mac OS X

2009-06-16 Thread William Kyngesburye
I don't see any changes in v.delaunay itself from RC4, though maybe  
there are changes in the vector libraries.  Did this work in RC4?


A big difference in RC5 for OSX is that it's now 64bit.  Does this work:

arch -i386 v.delaunay in=DelaunayPoints out=DelaunayTriangles

On Jun 16, 2009, at 5:50 PM, Michael Perdue wrote:


Hi,

v.delaunay is generating incorrect results on Mac OS X on my machine  
(Intel Mac Pro, Leopard, W. Kyngesburye's GRASS 6.4-RC5 binaries).  
The following commands give the results below;


echo 456490.2375|5905949.8625|1
456690.0917|5905895.5625|2
456570.9333|5905821.65416667|3
456579.22916667|5905881.9875|4
456494.0083|5905859.3625|5
456673.5|5905819.3917|6
456601.85416667|5905782.4375|7
456604.1167|5905944.5833|8 | v.in.ascii -n  
output=DelaunayPoints cat=3


v.delaunay input=DelaunayPoints output=DelaunayTriangles
Building topology for vector map DelaunayTriangles...
Registering primitives...
12 primitives registered
24 vertices registered
Building areas...
100%
4 areas built
1 isles built
Number of nodes: 8
Number of primitives: 12
Number of points: 0
Number of lines: 0
Number of boundaries: 12
Number of centroids: 0
Number of areas: 4
Number of isles: 1
Number of incorrect boundaries: 4
Number of areas without centroid: 4
WARNING: Unable to calculate area centroid z coordinate
100%
Building topology for vector map DelaunayTriangles...
Attaching islands...
100%
Attaching centroids...
100%
Number of nodes: 11
Number of primitives: 15
Number of points: 0
Number of lines: 0
Number of boundaries: 12
Number of centroids: 3
Number of areas: 4
Number of isles: 1
Number of incorrect boundaries: 4
Number of areas without centroid: 1


g.region vect=DelaunayPoints

d.mon x0
d.vect DelaunayTriangles
d.vect map=DelaunayPoints color=red width=0 icon=basic/circle size=10

v.delaunay problem.tiff


I've tested it on the same machine running Linux and had no issue.  
It also ran without issue on Mac OS X with GRASS 6.3. Can anyone  
verify that it isn't working properly anymore or could it be a  
problem with my installation?


Cheers,

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


-
William Kyngesburye kyngchaos*at*kyngchaos*dot*com
http://www.kyngchaos.com/

Those people who most want to rule people are, ipso-facto, those  
least suited to do it.


- A rule of the universe, from the HitchHiker's Guide to the Galaxy


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


Re: [GRASS-user] v.delaunay Bug in Mac OS X

2009-06-16 Thread Michael Perdue
This is the first time I noticed the problem, but I haven't used  
v.delaunay in a while. I tried the command modification you suggested,  
but with the same outcome. I also went back and recompiled a svn  
checkout from about 1.5 months ago as a 32 bit app, but v.delaunay  
behaved identically. I'm not sure whether v.hull and v.voronoi share  
much of the same code or not, but they both run fine.


On 16-Jun-09, at 5:57 PM, William Kyngesburye wrote:

I don't see any changes in v.delaunay itself from RC4, though maybe  
there are changes in the vector libraries.  Did this work in RC4?


A big difference in RC5 for OSX is that it's now 64bit.  Does this  
work:


arch -i386 v.delaunay in=DelaunayPoints out=DelaunayTriangles

On Jun 16, 2009, at 5:50 PM, Michael Perdue wrote:


Hi,

v.delaunay is generating incorrect results on Mac OS X on my  
machine (Intel Mac Pro, Leopard, W. Kyngesburye's GRASS 6.4-RC5  
binaries). The following commands give the results below;


echo 456490.2375|5905949.8625|1
456690.0917|5905895.5625|2
456570.9333|5905821.65416667|3
456579.22916667|5905881.9875|4
456494.0083|5905859.3625|5
456673.5|5905819.3917|6
456601.85416667|5905782.4375|7
456604.1167|5905944.5833|8 | v.in.ascii -n  
output=DelaunayPoints cat=3


v.delaunay input=DelaunayPoints output=DelaunayTriangles
Building topology for vector map DelaunayTriangles...
Registering primitives...
12 primitives registered
24 vertices registered
Building areas...
100%
4 areas built
1 isles built
Number of nodes: 8
Number of primitives: 12
Number of points: 0
Number of lines: 0
Number of boundaries: 12
Number of centroids: 0
Number of areas: 4
Number of isles: 1
Number of incorrect boundaries: 4
Number of areas without centroid: 4
WARNING: Unable to calculate area centroid z coordinate
100%
Building topology for vector map DelaunayTriangles...
Attaching islands...
100%
Attaching centroids...
100%
Number of nodes: 11
Number of primitives: 15
Number of points: 0
Number of lines: 0
Number of boundaries: 12
Number of centroids: 3
Number of areas: 4
Number of isles: 1
Number of incorrect boundaries: 4
Number of areas without centroid: 1


g.region vect=DelaunayPoints

d.mon x0
d.vect DelaunayTriangles
d.vect map=DelaunayPoints color=red width=0 icon=basic/circle size=10

v.delaunay problem.tiff


I've tested it on the same machine running Linux and had no issue.  
It also ran without issue on Mac OS X with GRASS 6.3. Can anyone  
verify that it isn't working properly anymore or could it be a  
problem with my installation?


Cheers,

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


-
William Kyngesburye kyngchaos*at*kyngchaos*dot*com
http://www.kyngchaos.com/

Those people who most want to rule people are, ipso-facto, those  
least suited to do it.


- A rule of the universe, from the HitchHiker's Guide to the Galaxy




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