Re: [GRASS-user] Testing two vectors for equality

2009-06-26 Thread Hamish
Michael Perdue wrote: > Is there a way to test if two vectors > are identical, including their attribute tables? i.e., I've > changed some code and now I want to test that the results > are the same. Is there an easy way to do this? not really. In the past I've used 'diff' on the command line to

[GRASS-user] Testing two vectors for equality

2009-06-26 Thread Michael Perdue
Is there a way to test if two vectors are identical, including their attribute tables? i.e., I've changed some code and now I want to test that the results are the same. Is there an easy way to do this? Cheers, Mike ___ grass-user mailing list gras

[GRASS-user] Re: Grass osgeo4w does not like python(x,y)

2009-06-26 Thread Tim Michelsen
Hello Daniel, I am not alone anymore! I replaced the the pywintypes25.dll in c:/windows/system32 with the one that came with OSGeo4W. Now everything (Grass wxpython and python(x,y)) is working swell, AFAICT. Please update your experience and findings to: http://trac.osgeo.org/grass/ticket/570

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

Re: [GRASS-user] tables connection in database

2009-06-26 Thread achim
Sorry when getting on nerves with this stupid problem... ...for me its not stupid, but also getting on nerves. ...I always did and do: v.category --overwrite input=my_li...@achim output=my_lines2 type=line layer=1 Vector map already exists and will be overwritten Processing features... Copying

Re: [GRASS-user] tables connection in database

2009-06-26 Thread Moritz Lennert
On 26/06/09 17:15, achim wrote: Thats exactly the problem: It shows nothing. None of my lines has any cat. That's why you have to run v.category option=add as I indicated in a previous mail. Another example where it works partly: | Type of Map: vector (level: 2) | Number of points

Re: [GRASS-user] tables connection in database

2009-06-26 Thread achim
Thats exactly the problem: It shows nothing. None of my lines has any cat. Another example where it works partly: | Type of Map: vector (level: 2) | Number of points: 1 Number of areas: 56 | Number of lines:0 Number of islands:1

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 Studi

Re: [GRASS-user] NASA to release no cost 30m DEMs with world-wide coverage on 29 June

2009-06-26 Thread Michael Barton
I've tended to consider SRTM to have a slightly better vertical accuracy and ASTER DEM to have a better horizontal resolution. There are other differences too. ASTER DEMs are created using stereoscopic imagery (forward and backward band 3 near IR) and SRTM is radar. So ASTER DEMs are affect

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).

Re: [GRASS-user] tables connection in database

2009-06-26 Thread achim
Thats exactly the problem: It shows nothing. None of my lines has any cat. Achim Moritz Lennert wrote: On 26/06/09 15:24, achim wrote: Hi Moritz, thanks for reply and this detailed explanation. I try to report my problem with an example: reset to initial point v.db.connect -d map=my_li...@a

[GRASS-user] WXGui inform of MASK raster

2009-06-26 Thread Daniel Victoria
Hi, I'm using grass6.4 from OSGeo4W (winXP) and just noticed that it would be nice to have something in the wxgui or terminal telling us when a MASK is in place. I don't see any warning if I create the mask using either the gui or comand line command. I tryed to file a wish on trac but somehow I c

Re: [GRASS-user] tables connection in database

2009-06-26 Thread Moritz Lennert
On 26/06/09 15:24, achim wrote: Hi Moritz, thanks for reply and this detailed explanation. I try to report my problem with an example: reset to initial point v.db.connect -d map=my_li...@achim db.droptable -f table=testtable my_lines: | Type of Map: vector (level: 2) | | Number of poi

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:

[GRASS-user] v.select: exact meaning of disjoint operator

2009-06-26 Thread Moritz Lennert
What exactly does the disjoint operator do in the GEOS operators of v.select (6.5+) ? It is described as "disjoint - features do not spatially intersect" Which sounds pretty much like the reverse of the intersect operator. However, when I try the following in the nc_spm_06 NC data set: v.extr

[GRASS-user] Re: Grass osgeo4w does not like python(x,y)

2009-06-26 Thread Daniel Victoria
Replying to my own email I replaced the the pywintypes25.dll in c:/windows/system32 with the one that came with OSGeo4W. Now everything (Grass wxpython and python(x,y)) is working swell, AFAICT. Cheers Daniel On Fri, Jun 26, 2009 at 9:47 AM, Daniel Victoria wrote: > Hi list, > > I'm using a

Re: [GRASS-user] tables connection in database

2009-06-26 Thread achim
Hi Moritz, thanks for reply and this detailed explanation. I try to report my problem with an example: reset to initial point v.db.connect -d map=my_li...@achim db.droptable -f table=testtable my_lines: | Type of Map: vector (level: 2) | | Number of points: 0 Nu

[GRASS-user] Grass osgeo4w does not like python(x,y)

2009-06-26 Thread Daniel Victoria
Hi list, I'm using a python distribution know as python(x,y), which mimics some matlab like funcionability in my WinXP box. It uses python version 2.5.4. I then installed Grass 6.4 from OsGeo4W and when I try to run grass wxpython I get the following error message (badly translated from portugues

[GRASS-user] v.net.visibility with obstacles that are not included as points

2009-06-26 Thread Moritz Lennert
Take the following use case: I want to verify which antennas (points) on a certain site actually 'see' each other and for which visibility is blocked by buildings (areas). So, I would like to take my point map and submit it to v.net.visibility, telling it that it should use the area map as obs

Re: [GRASS-user] tables connection in database

2009-06-26 Thread Moritz Lennert
On 26/06/09 12:10, achim wrote: Yes, thanks, but how to force that every single geometry object (of one kind) gets an entry? It might help if you could tell us exactly what you are trying to do. If I understand your question correctly, you need to make sure that all geometry objects for whi

[GRASS-user] r.roughness needs bc

2009-06-26 Thread Manuel Seeger
Hello all, I'm trying to use r.roughness on windows vista, built from the osgeo4w. Unfortunately we get the following message: ./r.roughness map=Rough3 grid=0.03 rough=Rough3.roughness.3 /which: bc: unknown command r.roughness: bc required, please install it first/ / / /What is bc?/ /Where

[GRASS-user] table entry for every geometry object(s id)

2009-06-26 Thread achim
...I mean: how to get an table entry for every vector objects Id? (every geometry object has an unique id) achim wrote: Yes, thanks, but how to force that every single geometry object (of one kind) gets an entry? Achim (just to mention: And why aren't those commands reachable in an useful

Re: [GRASS-user] tables connection in database

2009-06-26 Thread achim
Yes, thanks, but how to force that every single geometry object (of one kind) gets an entry? Achim (just to mention: And why aren't those commands reachable in an useful order? One always has to check whether the table are built, go and add a table, on another place set connection, on anoth

Re: [GRASS-user] v.lidar.edgedetection very slow

2009-06-26 Thread Moritz Lennert
On 22/06/09 07:00, Michael Perdue wrote: On 19-Jun-09, at 8:54 PM, Hamish wrote: Michael wrote: I actually get the same thing. For the first while the process runs in full use of one core, but once the process starts writing results to the db, the whole process bogs down to a grinding halt.

Re: [GRASS-user] Importing .csv table into GRASS

2009-06-26 Thread Moritz Lennert
On 26/06/09 10:34, JanaKr wrote: Hello, I am trying to import a simple okresy.csv table, the first few lines of which are: CAT,AREA,PERIMETER,CISLO_OKR,SO2_KG,SO2_OBYV 64,9485480,15278.33,101,3384,0.08 66,92488080,53576.26,102,3384,0.03 62,74758064,39651.84,103,3384,0.05 63,96450584,56394.8,

Re: [GRASS-user] v.net.salesman problem: number of cities [0]

2009-06-26 Thread Moritz Lennert
On 24/06/09 19:46, Marco Lechner - FOSSGIS e.V. wrote: hi list, I've got a little net of ways and try to calculate a route from it. all the crossroads and all the ends of culs-de-sac have to be reached. according to the syntax of traveling-salesman-problem each cul-de-sac and crossroad is a "cit

Re: [GRASS-user] tables connection in database

2009-06-26 Thread Moritz Lennert
On 26/06/09 11:30, achim wrote: Hi all, I think I am not the only one having problems with getting the connection "vector geometry features" - "attribute table" (for me its a sqlite db at the moment). ;-) So I wonder how is the default way to deal with vector layers to establish a metadata

Re: [GRASS-user] tables connection in database

2009-06-26 Thread achim
Hi all, I think I am not the only one having problems with getting the connection "vector geometry features" - "attribute table" (for me its a sqlite db at the moment). ;-) So I wonder how is the default way to deal with vector layers to establish a metadata table to each geometry object?

Re: [GRASS-user] tables connection in database

2009-06-26 Thread Moritz Lennert
On 23/06/09 17:42, Falko Engel wrote: Dear List, I have some problems with tables stored in PostgreSQL database. I'm using openSUSE 11.1 (and 10.3), PostgreSQL 8.2.13 and GRASS GIS 6.4.0RC4 My default db connection for my mapsets is set to postgresql. I am using schemas within the database corre

Re: [GRASS-user] Point attributes to a polygons

2009-06-26 Thread Moritz Lennert
On 25/06/09 10:58, xavier garcia acosta wrote: Hello everybody, I'm working with cadastre information and I've got the next problem. I've the polygons that represent the plots of the houses but without any attribute. I've also the points with the attributes of the previous polygons. That I

[GRASS-user] Importing .csv table into GRASS

2009-06-26 Thread JanaKr
Hello, I am trying to import a simple okresy.csv table, the first few lines of which are: CAT,AREA,PERIMETER,CISLO_OKR,SO2_KG,SO2_OBYV 64,9485480,15278.33,101,3384,0.08 66,92488080,53576.26,102,3384,0.03 62,74758064,39651.84,103,3384,0.05 63,96450584,56394.8,104,3384,0.04 Using db.in.ogr okr

Re: [GRASS-user] NASA to release no cost 30m DEMs with world-wide coverage on 29 June

2009-06-26 Thread Micha Silver
Thanks, Michael. That's great news. What do you make of the 20 m./30 m. vertical/horizontal accuracy statement? Isn't SRTM supposed to be around 15 m. vertical and <10 m. horizontal (even tho' it's 90 m. resolution)? Regards, Micha Michael Barton wrote: See the following announcement. NASA (US