[GRASS-dev] Re: [GRASS-user] v.in.ogr weird import

2008-07-09 Thread Moritz Lennert
On 08/07/08 22:49, Christian Ferreira wrote: Hi Moritz, Let's go... What does g.proj -p show ? g.proj -p -PROJ_INFO- name : Latitude-Longitude datum : wgs84 towgs84: 0.000,0.000,0.000 proj : ll ellps : wgs84

Re: [GRASS-dev] Re: errors compiling nviz in GRASS 7

2008-07-09 Thread Martin Landa
Hi, 2008/7/9 Glynn Clements [EMAIL PROTECTED]: I am not sure about Xlib-based functions (XFreePixmap, XOpenDisplay, XCreatePixmap)... For a GUI application, you wouldn't normally be calling these; you would let the toolkit handle it. In particular, you would need to use the same Display*

[GRASS-dev] v.net.alloc / v.net.iso: very long running time

2008-07-09 Thread Moritz Lennert
Hello, I'm testing some of the vector network features and am confronted with an extremely long running time. Using the North Carolina data set, I start out by adding the schools into the street network: v.net [EMAIL PROTECTED] [EMAIL PROTECTED] output=streets_schools_net

Re: [GRASS-dev] v.net.alloc / v.net.iso: very long running time

2008-07-09 Thread Markus Neteler
On Wed, Jul 9, 2008 at 1:07 PM, Moritz Lennert [EMAIL PROTECTED] wrote: Hello, I'm testing some of the vector network features and am confronted with an extremely long running time. ... and then a percentage indication which stays at 0% for a very long time... I actually let the module run

[GRASS-dev] Re: Line of Sight Update

2008-07-09 Thread Paul Kelly
Hello Will, On Wed, 9 Jul 2008, Will wrote: Hi Paul, That all sounds good. I'll move r.terraflow and r.viewshed (I decided to take up the r.viewshed name) into that iostream directory that you mentioned. Otherwise though, the code is working and ready to use. That's great! I'm sure I can

[GRASS-dev] Re: [GRASS GIS] #224: cache bug in DGLib

2008-07-09 Thread GRASS GIS
#224: cache bug in DGLib --+- Reporter: martinl | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: major| Milestone: 6.4.0

[GRASS-dev] Re: new v.in.geonames: problems with UTF-8 Unicode text

2008-07-09 Thread Ivan Shmakov
Glynn Clements [EMAIL PROTECTED] writes: [...] From the above I could conclude that the other RDBMS are generally representing the results of expressions in SELECTs as having one type out of a narrow set of types (in absence of explicit type casts.) This way, SQLite doesn't look much

[GRASS-dev] Re: new v.in.geonames: problems with UTF-8 Unicode text

2008-07-09 Thread Ivan Shmakov
Glynn Clements [EMAIL PROTECTED] writes: [...] So, the problem arises because v.in.geonames tell v.in.ascii to use varchar(4000) for the alternatename column, but once the table has been created the SQLite driver reports the column as varchar(255). Essentially,

[GRASS-dev] Re: Line of Sight Update

2008-07-09 Thread Will
Hi Paul (and the rest of the GRASS dev list), On Wed, Jul 9, 2008 at 12:11 PM, Paul Kelly [EMAIL PROTECTED] wrote: Hello Will, On Wed, 9 Jul 2008, Will wrote: Hi Paul, That all sounds good. I'll move r.terraflow and r.viewshed (I decided to take up the r.viewshed name) into that

[GRASS-dev] Re: Line of Sight Update

2008-07-09 Thread Laura Toma
On Jul 9, 2008, at 12:40 PM, Paul Kelly wrote: Regarding the output: my suggestion was to output, for every cell that is visible, its height (or slope) *above* the line of sight; this will give an indication of how visible the point is. Similarly, for the cells that are *not*

Re: [GRASS-dev] Re: new v.in.geonames: problems with UTF-8 Unicode text

2008-07-09 Thread Glynn Clements
Ivan Shmakov wrote: The only SQLite-specific problem that I see there is that it doesn't actually treat the type name as a constraint on the values put into that field. But then, ``garbage in, garbage out'' is the guiding principle. Yep. This isn't a problem for tables which

Re: [GRASS-dev] nvizlib compile error

2008-07-09 Thread Martin Landa
Hi, 2008/7/8 Moritz Lennert [EMAIL PROTECTED]: Now it compiles, but when I display the elevation map from the NC data set and then chose the nviz tool in the map display, the entire wx gui crashes... Just found out why: it's a locale problem. LANG is set to fr_BE.UTF-8 on my system. When I

[GRASS-dev] Re: Line of Sight Update

2008-07-09 Thread Michael Barton
On Jul 9, 2008, at 11:11 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This is a very nice update, especially the extraordinary speed increase. I hope that this can eventually be included into a cumulative viewshed module. Thanks very much. Some comments in the text below. Date:

[GRASS-dev] Re: nvizlib compile error

2008-07-09 Thread Michael Barton
Are we at a place yet where I can compile and test this on a Mac, given it's location of OpenGL in the agl directory? Michael On Jul 9, 2008, at 12:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Date: Tue, 08 Jul 2008 18:48:05 +0200 From: Moritz Lennert [EMAIL PROTECTED] Subject:

Re: [GRASS-dev] errors compiling nviz in GRASS 7

2008-07-09 Thread William Kyngesburye
Which I would have found if I had updated my SVN today... Sorry, I wasn't paying attention, and it moved too fast ;) On Jul 9, 2008, at 9:39 PM, William Kyngesburye wrote: It appears X, Y and Z (all caps, that is) are defined in gstypes.h in GRASS. I was able to fix the problem by moving

Re: [GRASS-dev] errors compiling nviz in GRASS 7

2008-07-09 Thread William Kyngesburye
On Jul 9, 2008, at 9:44 PM, William Kyngesburye wrote: Which I would have found if I had updated my SVN today... Sorry, I wasn't paying attention, and it moved too fast ;) On Jul 9, 2008, at 9:39 PM, William Kyngesburye wrote: It appears X, Y and Z (all caps, that is) are defined in

[GRASS-dev] Re: [GRASS GIS] #197: sfd support for r.terraflow

2008-07-09 Thread GRASS GIS
#197: sfd support for r.terraflow --+- Reporter: adanner | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: major| Milestone: 7.0.0

Re: [GRASS-dev] Re: nvizlib compile error

2008-07-09 Thread William Kyngesburye
I think there may still be some GLx vs AGL vs WGL differences to take care of? At least, I'm now getting this: In file included from change_view.c:20: /Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin9.3.0/include/ grass/nviz.h:120: error: syntax error before ‘AGLPixelFmtID’

Re: [GRASS-dev] nvizlib compile error

2008-07-09 Thread Glynn Clements
Martin Landa wrote: Now it compiles, but when I display the elevation map from the NC data set and then chose the nviz tool in the map display, the entire wx gui crashes... Just found out why: it's a locale problem. LANG is set to fr_BE.UTF-8 on my system. When I set it to C nviz runs

Re: [GRASS-dev] Re: r.series, r.terraflow, simwe

2008-07-09 Thread Glynn Clements
Paul Kelly wrote: it before Will moves r.terraflow into the iostream directory as suggested by Paul. Can you provide details? Will is working on a new r.viewshed module which uses the same iostream C++ library as r.terraflow. To avoid code duplication I suggested this layout:

Re: [GRASS-dev] Re: Line of Sight Update

2008-07-09 Thread Helena Mitasova
On Jul 9, 2008, at 2:11 PM, Will wrote: Hi Paul (and the rest of the GRASS dev list), On Wed, Jul 9, 2008 at 12:11 PM, Paul Kelly paul- [EMAIL PROTECTED] wrote: Hello Will, On Wed, 9 Jul 2008, Will wrote: Hi Paul, That all sounds good. I'll move r.terraflow and r.viewshed (I decided

Re: [GRASS-dev] Re: nvizlib compile error

2008-07-09 Thread Glynn Clements
Michael Barton wrote: Are we at a place yet where I can compile and test this on a Mac, given it's location of OpenGL in the agl directory? The code won't compile on a Mac at present. AFAICT, it requires at least: /* TODO */ -rwin-displayId = aglChoosePixelFmt(GDHandle *dev, int

Re: [GRASS-dev] errors compiling nviz in GRASS 7

2008-07-09 Thread Glynn Clements
William Kyngesburye wrote: It appears X, Y and Z (all caps, that is) are defined in gstypes.h in GRASS. That really needs to change. It's one thing to define single-letter macros for internal use, but something else to define them in a public header. -- Glynn Clements [EMAIL PROTECTED]

Re: [GRASS-dev] errors compiling nviz in GRASS 7

2008-07-09 Thread William Kyngesburye
On Jul 9, 2008, at 11:23 PM, Glynn Clements wrote: William Kyngesburye wrote: But, there is this in gui/wxpython/nviz/nviz.h: #include grass/gis.h #include grass/gsurf.h #include grass/gstypes.h #include grass/nviz.h Since grass/nviz.h already includes gsurf.h and gstypes.h, perhaps those

Re: [GRASS-dev] Re: nvizlib compile error

2008-07-09 Thread Michael Barton
Thanks much William. Sounds like it's getting closer to working on a Mac. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone: