Re: [GRASS-user] v.dissolve for lines?

2010-10-19 Thread Markus Metz
Micha Silver wrote: > Bryan Keith wrote: >> >> Hello, >> >> I have a vector line file that has lots of two-vertex lines.  Many of >> these two-vertex lines share endpoints and really just make parts of one >> longer line.  I'd like to dissolve these lines into one line when they >> have the same en

Re: [GRASS-user] Re: grass-user Digest, Vol 54, Issue 41

2010-10-19 Thread Glynn Clements
Margherita Di Leo wrote: > I'm writing a Python script in grass 6.5. At the end of the elaboration the > script pops up the maps on the video using d.mon and d.rast. It opens > several monitors to do that and the maps are displayed one over each other. > Is there a way to display the monitors in

Re: [GRASS-user] v.dissolve for lines?

2010-10-19 Thread Micha Silver
On 10/19/2010 11:17 PM, Bryan Keith wrote: Hello, I have a vector line file that has lots of two-vertex lines. Many of these two-vertex lines share endpoints and really just make parts of one longer line. I'd like to dissolve these lines into one line when they have the same end point. It loo

[GRASS-user] Re: grass-user Digest, Vol 54, Issue 41

2010-10-19 Thread Margherita Di Leo
Hi List, I'm writing a Python script in grass 6.5. At the end of the elaboration the script pops up the maps on the video using d.mon and d.rast. It opens several monitors to do that and the maps are displayed one over each other. Is there a way to display the monitors in a certain position of the

[GRASS-user] v.dissolve for lines?

2010-10-19 Thread Bryan Keith
Hello, I have a vector line file that has lots of two-vertex lines. Many of these two-vertex lines share endpoints and really just make parts of one longer line. I'd like to dissolve these lines into one line when they have the same end point. It looks like v.dissolve only works for areas. Is

Re: [GRASS-user] Question about r.in.xyz

2010-10-19 Thread Daniel Victoria
In your r.in.xyz the input file is named filev2 while in the r.info command it says input is named saidav2. Is that what you mean by different? Daniel On Tue, Oct 19, 2010 at 6:15 AM, Franz Schiller wrote: > Hi Hamish > >> that's simply a function of what's present in your input data. >> for flo

Re: [GRASS-user] Use of r.mode

2010-10-19 Thread Micha Silver
On 10/19/2010 04:03 PM, Monica Buescu wrote: Hi Mich Thanks for the reply. I think it has worked but everytime I try to open, my winGRASS goes "bananas". Hope you get some whipped cream with that ;-) Just to sum what I have done 1- Import a xyz ASCII file that is a float with a range of [1662

Re: [GRASS-user] r.reclass with floating point result

2010-10-19 Thread Glynn Clements
Hanlie Pretorius wrote: > So, I have two problems here: 1) I can't get r.reclass to output an > FCELL raster even though its help file suggest that only the input > file needs to be a CELL raster. A reclass table maps integers to integers. You cannot generate a floating-point map by reclassing.

Re: [GRASS-dev] Re: [GRASS-user] v.db.join script

2010-10-19 Thread Moritz Lennert
On 19/10/10 15:23, Micha Silver wrote: Moritz Lennert wrote: On 13/10/10 22:23, Micha Silver wrote: One line from the v.db.join script uses grep and cut to get the column names and the next line gets the column types like so: db.describe -c bike_rides2 | grep '^Column' | cut -d ':' -f 3 INTEG

Re: [GRASS-user] Use of r.mode

2010-10-19 Thread Monica Buescu
Hi Mich Thanks for the reply. I think it has worked but everytime I try to open, my winGRASS goes "bananas". Just to sum what I have done 1- Import a xyz ASCII file that is a float with a range of [166297.00 - 20855944.0] (not all values are used) and Rows: 4655 ;Columns: 4520 . 2- I did

[GRASS-user] r.reclass with floating point result

2010-10-19 Thread Hanlie Pretorius
Hi, I'm trying to reclassify a raster with these categories: |#|description |- |1|Sandy Loam |2|Sandy Clay Loam |*|no data To this: |#|description |---

[GRASS-user] Re: output file location

2010-10-19 Thread Micha Silver
Sandile Gumede wrote: Hi Thanks, for grass module v.rast.stats vect=catchments1 rast=rain1 colpre=precip , is it the output file that I'm looking for in the path below? If so which program is used to open it, I'm using ubuntu 9.04, my default GRASS database is DBMF $LOCATION_NAME/$MAPSET/d

Re: [GRASS-dev] Re: [GRASS-user] v.db.join script

2010-10-19 Thread Micha Silver
Moritz Lennert wrote: On 13/10/10 22:23, Micha Silver wrote: One line from the v.db.join script uses grep and cut to get the column names and the next line gets the column types like so: db.describe -c bike_rides2 | grep '^Column' | cut -d ':' -f 3 INTEGER CHARACTER INTEGER CHARACTER CHARACTER

[GRASS-user] output file location

2010-10-19 Thread Sandile Gumede
Hi Thanks, for grass module v.rast.stats vect=catchments1 rast=rain1 colpre=precip , is it the output file that I'm looking for in the path below? If so which program is used to open it, I'm using ubuntu 9.04, my default GRASS database is DBMF $LOCATION_NAME/$MAPSET/dbf/catchments1.dbf On Tue, O

Re: [GRASS-user] Use of r.mode

2010-10-19 Thread Micha Silver
Monica Buescu wrote: Greetings This new topic is related with I need to calculate mode for a base map that is composed by float values. r.mode base=b...@permanent cover=1107...@permanent output=saida And I get: ERROR: reading r.stats output ERROR: No rules specified T

Re: [GRASS-user] output file location

2010-10-19 Thread Micha Silver
Sandile Gumede wrote: Hello Where do I get the output file which contains all the output for the script below, the actual file name under my Mapset? Maps output by GRASS are part of the GRASS database. Each vector or raster is not a single file, but rather a directory which contains severa

Re: [GRASS-user] d.grid fails with -g flag in winGRASS

2010-10-19 Thread Markus Neteler
On Wed, Oct 13, 2010 at 12:58 PM, Luigi Ponti wrote: > Hi there, > > Working on Win7 with today's binary snapshot WinGRASS-6.4.SVN-r43880 in > North Caroline location. Issuing the following command (either via Cmd> text > box or the button in the wxGUI): > >   d.grid  -g size=0.01 > > triggers an

[GRASS-user] output file location

2010-10-19 Thread Sandile Gumede
Hello Where do I get the output file which contains all the output for the script below, the actual file name under my Mapset? -- #!/bin/sh #variable to customize: # path to GRASS

[GRASS-user] Re: grass-user Digest, Vol 54, Issue 39

2010-10-19 Thread Markus Neteler
On Tue, Oct 19, 2010 at 10:40 AM, bharath s wrote: > > hello, >     i want to patch the two scenes of adjacent land sat( 146-37 > ,146-38 ) images.. The second image contains some part of 1st image also so > if i patch , is the duplicate data exist are not ? please help me Or is > ther

[GRASS-user] Re: grass-user Digest, Vol 54, Issue 39

2010-10-19 Thread bharath s
hello, i want to patch the two scenes of adjacent land sat( 146-37 ,146-38 ) images.. The second image contains some part of 1st image also so if i patch , is the duplicate data exist are not ? please help me Or is there any another method to mosaic two images??

Re: [GRASS-user] Type of data to be used in i.maxlik

2010-10-19 Thread Kim Besson
Hi Markus > The input can be double but will be read as integer (CELL) since the > function > G_open_cell_old() is used [1]. > > This means what? That pixels with values >255 are all the same? or pixels like 1,034 and 2,043 are rounded? Thanks Kim ___

[GRASS-user] v.out.vtk and openGL limitation

2010-10-19 Thread Pierluigi De Rosa
Dear List, I have a problem exporting a TIN using v.out.vtk When the vtk file is done inside paraview I have problem because the North Coordinates are bigger than 100 so i tried to use the -c flag but the vtk I have as output seem to the the same I have without -c flag Where I'm wrong? thanks

[GRASS-user] Use of r.mode

2010-10-19 Thread Monica Buescu
Greetings This new topic is related with I need to calculate mode for a base map that is composed by float values. r.mode base=b...@permanent cover=1107...@permanent output=saida And I get: ERROR: reading r.stats output ERROR: No rules specified This means that I'm not being able to apply thi

Re: [GRASS-user] Question about r.in.xyz

2010-10-19 Thread Franz Schiller
Hi Hamish that's simply a function of what's present in your input data. > for floating point values it will just be the next highest > integer beyond the maximum data value and can be ignored. > > Uhm but it has to do with the "number of categores"? It's used for Histogram only? > see also the