Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Milton Cezar Ribeiro
Hi Jarek, I downloaded and compiled grass 6.4 SVN last week. So I suppose my version is not so old. Is there a way of I know the version of a r.(command)? May be some issue with Vista (again!) ? Thanks for the reply milton 2009/7/25 Jarek Jasiewicz > > > > Milton Cezar Ribeiro pisze: > >> Dear

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Markus Metz
Try to run it all in memory: r.watershed.exe elevation=FabioASTGTM_S2526W04948_dem stream=FabioASTGTM_S2526W04948_dem_rwatershed_stream_thres0100 threshold=100 --o Should finish in a few minutes. Where is this 4096 coming from in the original command? Should that be memory=4096? r.watershed.

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Markus Metz
With 7201 rows x 7201 columns, the in-memory version should use at most 1.6GB of RAM. There should be no problem running it all in memory (no -m 4096) on a machine with 6GB. Markus M Milton Cezar Ribeiro wrote: Dear all, I am trying run a r.watershed command with one 7200x7200 DEM map. But

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Milton Cezar Ribeiro
Hi Markus, Thanks for the tips. In fact I made a mistake, because I thought that with "-m 4096" I was setting 4GB of memory, and unfortunatelly I not payed attention on memory=4096. Anyway, I tryed with both your suggestions (with and without -m memory=4096" and still ger error: --- GRASS

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Markus Metz
Milton Cezar Ribeiro wrote: Hi Markus, Thanks for the tips. In fact I made a mistake, because I thought that with "-m 4096" I was setting 4GB of memory, and unfortunatelly I not payed attention on memory=4096. Anyway, I tryed with both your suggestions (with and without -m memory=4096" and

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Hamish
Markus Metz wrote: > There were quite a few posts in the list about vista problems, > maybe you find some hints there. I'm only using Linux, can't > help there. IIRC it was more generic memory problems which only showed up on MS Windows. In those cases valgrind reported errors, just on Linux they

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Milton Cezar Ribeiro
Hi Markus, My system start with 1.5GB of memory usage, considering that grass are loaded on memory, and my mapset is also loaded. When I start the r.watershed, my system go up to 3.0GB, remain running for few minutes, and then give the error that I reported, and them release the memory. On several

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Markus Metz
Milton Cezar Ribeiro wrote: Hi Markus, My system start with 1.5GB of memory usage, vista waste considering that grass are loaded on memory, not much and my mapset is also loaded. not loaded to memory When I start the r.watershed, my system go up to 3.0GB, remain running for few minutes,

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Nikos Alexandris
Milton Cezar Ribeiro wrote: > > On several trying the system goes only up to 3GB, but I have 6Gb. Markus Metz wrote: > is grass compiled as 32bit or 64bit? 32bit applications can't use all > 6GB of memory, only up to about 3GB. Milton, you mention you have 6GB of RAM. I assume that you know

Re: [GRASS-user] Export of large vector grid

2009-07-25 Thread Wesley Roberts
Thanks Nikos, Did exacly that about 2 hours after posting this question. Interesting that the QGIS app works better than the v.out.ogr in Grass. Surely they both use the same library to write shapefiles? Wes >>> Nikos Alexandris 07/24/09 6:02 PM >>> >>> Wesley Roberts wrote: > I am trying

Re: [GRASS-user] Export of large vector grid

2009-07-25 Thread Nikos Alexandris
( Apologies go to the community for cross-posting ) Wesley Roberts wrote: > > I am trying to export a large vector to the shapefile format. [*] Nikos Alexandris: > A (silly) suggestion: load in QGIS and then use save as > shapefile... :-? Maybe it'll work without errors :-) Wesley Roberts wro

Re: [GRASS-user] Export of large vector grid

2009-07-25 Thread Nikos Alexandris
( Apologies go to the community for cross-posting ) Wesley Roberts wrote: >>> I am trying to export a large vector to the shapefile format. [*] Nikos Alexandris: >> A (silly) suggestion: load in QGIS and then use save as >> shapefile... :-? Maybe it'll work without errors :-) Wesley Roberts w

Re: [GRASS-user] Help needed with exporting GRASS 6.4.0 vector files

2009-07-25 Thread Markus Neteler
On Fri, Jul 24, 2009 at 5:51 PM, Thomas Adams wrote: > All: > > I have GRASS 6.4.0 vector maps (polygons) that I have digitized, which I > need to export to ASCII with both attributes and (lat-long) boundary > vertices. I need to subsequently reformat the data to a some non-standard > ascii format.

[GRASS-user] Flow accumulations units

2009-07-25 Thread stephen sefick
the S8, MFD(8), and Dinf are all ways to get flow accumulation. What are the units? Grid accumulation? So if I were to multiply a flow accumulation by the squared resolution of the raster input map (50x50=2500m). I would get flow accumulation in squared meters and then multiply by average areal

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Hamish
> Hamish said this is a generic memory problem on MS windows > (vista). eh? my point was mearly that there are some existing memory bugs which haven't been fixed yet as they only present themselves when run under MS Windows, and we are just starting to discover those as more people try native Win

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Markus Metz
Hamish wrote: Hamish said this is a generic memory problem on MS windows (vista). eh? my point was mearly that there are some existing memory bugs which haven't been fixed yet as they only present themselves when run under MS Windows, and we are just starting to discover those as more pe

Re: Positive reproducibility with spearfish - Re: [GRASS-user] v.buffer segmentation fault

2009-07-25 Thread Markus Neteler
On Fri, Jul 24, 2009 at 1:17 PM, Corrado wrote: > Yes it is reproducible with spearfish: > > v.buffer input=landcover output=lcb distance=2 --overwrite > > Buffering lines... >  100% > Buffering areas... > Segmentation fault Same here with GRASS 6.5: GRASS 6.5.svn (spearfish60):~ > gdb v.buffer

[GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-25 Thread Frank Bilki
Hi All, Being very, very new to GRASS (6.4.0svn, installed via OSGeo4W) I am reading as much documentation as I can lay my hands on, but I keep hitting a recurring problem: Every time I run g.manual I get an error saying it cannot find 'C:\Program Files\Internet Exporer\iexplore'. After reading t

Re: [GRASS-user] Weighted Voronoi diagram

2009-07-25 Thread Leonidas Liakos
Well, I have use r.xtent of Benjamin Ducke and it works. You can see the result in my personal site: http://www.geographer.freehost.gr/gis/58--o-xtent.html?showall=1 Unfortunately, the article is in greek but you can see the map of r.xtent here: http://www.geographer.freehost.gr/images/stories/g

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Milton Cezar Ribeiro
Hi all, In fact I have a dell machine, with Vista 64bits that came with the machine. I compiled grass 64 svn using Msys. Is there a way of I know if my grass are running with 64bits? By the way, what I need to change to have sure that grass was compiled to 64bits? Yesterday I preloaded about 2.5

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Markus Neteler
On Sat, Jul 25, 2009 at 5:45 PM, Milton Cezar Ribeiro wrote: > Hi all, > > In fact I have a dell machine, with Vista 64bits that came with the machine. > I compiled grass 64 svn using Msys. Is there a way of I know if my grass are > running with 64bits? By the way, what I need to change to have sur

Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-25 Thread Markus Neteler
On Sat, Jul 25, 2009 at 4:58 PM, Frank Bilki wrote: > Hi All, > > Being very, very new to GRASS (6.4.0svn, installed via OSGeo4W) I am reading > as much documentation as I can lay my hands on, but I keep hitting a > recurring problem: > > Every time I run g.manual I get an error saying it cannot fi

Re: [GRASS-user] Extracting non-overlapping lines

2009-07-25 Thread Markus Neteler
On Wed, Jul 22, 2009 at 1:06 AM, Dwight Needels wrote: > Hi all, > > I have two nearly identical line vectors, and I would like to extract the > lines that differ between the two vectors into a third vector. Specifically, > I want to isolate the connecting lines that were generated by v.net > opera

Re: [GRASS-user] CLI syntax for gain in i.landsat.toar

2009-07-25 Thread Markus Neteler
On Wed, Jul 22, 2009 at 10:43 PM, Michael Perdue wrote: > Hi, > > I've been playing around with i.landsat.toar and am having problems > correctly entering the gain values on the command line. > > The bands are labeled as: > l7_049026_01_toaDN  l7_049026_04_toaDN  l7_049026_08_toaDN > l7_049026_02_t

Re: [GRASS-user] sigfile structure

2009-07-25 Thread Markus Neteler
On Thu, Jul 23, 2009 at 5:17 PM, Stefan Sylla wrote: > > Dear all, > > I am working on a supervised classification for my Aster satellite images > and created some signature files with i.cluster (image-group contains 9 > image-bands) with an output like e.g.: > > > #produced by i.cluster > #Class 1

[GRASS-user] openGL library when compiling under vista.

2009-07-25 Thread Milton Cezar Ribeiro
Dear all, two weeks ago I compiled the SVN version of Grass 6.4. I just downloaded the 6.4.0RC5 version available at http://grass.itc.it/grass64/source/grass-6.4.0RC5.tar.gz and tryed to compile under Vista/Msys 64bit. But when I try to compile the RC5 version I get error for OpenGL. Id did not h

Re: [GRASS-user] Displaying thematic vector legend in map display window?

2009-07-25 Thread Markus Neteler
On Thu, Jul 23, 2009 at 8:47 AM, Sharon M wrote: > I've loaded a vector map (MIF/MID format), then created a thematic > vector map layer (area) via d.vect.thematic GUI window (Output legend > for GIS manager is ticked; save thematic commands is ticked). I've > used psmap to create .ps file containi

[GRASS-user] FOSS4G Abstracts announced + Early Bird registration looming

2009-07-25 Thread Markus Neteler
FOSS4G Abstracts announced + Early Bird registration looming Sydney, Australia. 20 July 2009. http://2009.foss4g.org Abstracts Announced A comprehensive list of presentations has been announced for the international Free and Open Source Software for Geospatial conference, in Sydney, Australia, 20

Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-25 Thread Frank Bilki
Hi Markus, Thanks for the suggestion and the link to the changeset. It turns out I had already made that change, having also discovered grass64.bat after editing grass.bat. That particular command was commented out in my version; I tried un-commenting it but I still got the same error. The rele

Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-25 Thread Milton Cezar Ribeiro
Hi Frank, Try: set GRASS_HTML_BROWSER=C:/Progra~1/Intern~1/iexplore You can also cast opening the following file on your browser: file:///C:/OSGeo4W/apps/grass/grass-6.4.0svn/docs/html/full_index.html (change the version directory) bests milton 2009/7/26 Frank Bilki > Hi Markus, > > Thanks for

Re: [GRASS-user] r.watershed crashing grass.

2009-07-25 Thread Glynn Clements
Markus Neteler wrote: > > In fact I have a dell machine, with Vista 64bits that came with the machine. > > I compiled grass 64 svn using Msys. Is there a way of I know if my grass are > > running with 64bits? By the way, what I need to change to have sure that > > grass was compiled to 64bits? >

RE: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

2009-07-25 Thread Frank Bilki
Hi Milton, That worked! Thanks so much for the suggestion. I experimented with combining the forward slashes and the full pathname with spaces (e.g. C:/Program Files/Internet Explorer/iexplore) and that also worked. So it seems the cause was using back-slashes instead of forward-slashes. I notic