Re: [GRASS-user] Wxpython GUI in UBUNTU 9.10

2010-01-21 Thread Kim Besson
Hi About GRASS-dev: I should install this version If I want to develop functions/modules in GRASS? Or the normal package is enough? Ah as a Normal user, I guess. Now I tried this command sudo grass64 -wxpython.. and It worked... :( Why do I need to be a super-user to run GRASS?? 2010/1/20 Leo

Re: [GRASS-user] Wxpython GUI in UBUNTU 9.10

2010-01-21 Thread Kim Besson
Hi all Leonardo suggested me to run as "sudo grass64 -wxpython" and it worked. Why do I need to run as SUDO to "fix" this? 2010/1/20 Hamish > Kim wrote: > > ok Now it's working > > but I got another ERROR and I guess this one has nothing to > > do with WXpython. > > An error windows stating > >

Re: [GRASS-user] Error whule running i.ortho.photo

2010-01-21 Thread Nikos Dumakis
Regarding this: I defined: g.gisenv set="DEBUG=0" And I got this error: Traceback (most recent call last): File "/usr/lib/grass64/etc/wxpython/wxgui.py", line 1005, in OnXTerm del os.environ['GRASS_RENDER_IMMEDIATE'] File "/usr/lib/python2.6/os.py", line 496, in __delitem__ del self.data[key

Re: [GRASS-user] how to know if LFS flag is enable

2010-01-21 Thread Glynn Clements
Milton Cezar Ribeiro wrote: > So under windows we are really limitted to 2Gb > independent of compile using LFS flag? :-( Yes. > Are there plans to by pass this!? I'm sure that we'll sort it out eventually. The problem is that the MinGW headers don't provide an equivalent of _FILE_OFFSET_BITS

Re: [GRASS-user] size (in disk) of a raster map

2010-01-21 Thread Glynn Clements
Milton Cezar Ribeiro wrote: > How can I know the size occupied by one raster map? > The 2G size limit for each map consider the sum of > all files that is part of the map, or for each individual > file? It's for a single file. > I just created a map=null() using r.mapcalc, and the > ..\newLocat

Re: [GRASS-user] Error whule running i.ortho.photo

2010-01-21 Thread Hamish
Nikos Dumakis wrote: > Regarding this:I defined: g.gisenv set="DEBUG=0"And I > got this error: > > Traceback (most recent call > last): File > "/usr/lib/grass64/etc/wxpython/wxgui.py", line > 1005, > in OnXTerm > del > os.environ['GRASS_RENDER_IMMEDIATE'] File > "/usr/lib/python2.6/os.py", line 4

Re: [GRASS-user] Wxpython GUI in UBUNTU 9.10

2010-01-21 Thread Leo Hardtke
Maybe this information can help you to solve the problem... On my computer Mint 9 (Ubuntu 9.10) Grass 6.4rc5-2 is working well with GDAL 1.6.3-2-Karmik1. Leo Hamish escribió: Kim wrote: ok Now it's working but I got another ERROR and I guess this one has nothing to do with WXpython. An

Re: [GRASS-user] Defining color table rules

2010-01-21 Thread Pedro Roma
Glynn, thanks for your answer. But, for instance in GUI if a select a type of color table and then I decide to user a rule file, there is no blank option in "Type of color table". And if I choose rule, it gets an error. So, in this cases I just have to close r.colors window and open one again. This

[GRASS-user] A few simple questions

2010-01-21 Thread Erik Lewis
Hello, First let me apologize if this is the wrong venue to ask these questions. If it is please kindly refer me somewhere else and I will leave you in peace. I'm a public librarian trying to bring a geographic aspect to our statistics. Basically trying to answer questions of where our patrons

[GRASS-user] forcing raster accept only integer >0

2010-01-21 Thread Milton Cezar Ribeiro
Dear all. I am trying to work around with a problem of map size under Vista (>2G). I was wondering if I use the command below I will get a raster map with values integer and >=0. r.mapcalc "Dem.new=if(Dem>=0,int(Dem),null())" As my original map have values positive and negative, as well as it

Re: [GRASS-user] Wxpython GUI in UBUNTU 9.10

2010-01-21 Thread Hamish
Kim wrote: > Hi allLeonardo suggested me to run as > "sudo grass64 -wxpython" and it > worked.Why do I need to run as SUDO to > "fix" this? I've got no idea, I don't remember hearing about that for Ubuntu before. ?, Hamish ___ grass-user mai

Re: [GRASS-user] Wxpython GUI in UBUNTU 9.10

2010-01-21 Thread Hamish
Kim: > HiAbout GRASS-dev: I assume you mean the grass-dev ubuntu package, which contains *.make and *.h build/header files. > I should install this version If  I want to develop > functions/modules in GRASS? Or the normal package is > enough? if you want to do any C or C++ development you should

Re: [GRASS-user] Defining color table rules

2010-01-21 Thread Hamish
Pedro wrote: > for instance in GUI if a select a type of color table and > then I decide to user a rule file, there is no blank option > in "Type of color table". And if I choose rule, it > gets an error. So, in this cases I just have to close > r.colors window and open one again. fixed in 6.5svn,

Re: [GRASS-user] r.patch: GRASS-6.5svn

2010-01-21 Thread Rich Shepard
On Thu, 21 Jan 2010, Glynn Clements wrote: The error "map [%s] - unable to write row %d" doesn't originate in a module, it originates in the library, and invariably indicates that write() failed. [If you're getting a different error, please post the *exact* error message, not a paraphrase.] H

Re: [GRASS-user] forcing raster accept only integer >0

2010-01-21 Thread Glynn Clements
Milton Cezar Ribeiro wrote: > I am trying to work around with a problem of map size under Vista (>2G). > I was wondering if I use the command below I will get a raster > map with values integer and >=0. > r.mapcalc "Dem.new=if(Dem>=0,int(Dem),null())" That will produce an integer map with no

Re: [GRASS-user] forcing raster accept only integer >0

2010-01-21 Thread Milton Cezar Ribeiro
Hi Glynn, Thanks for the reply. By the way, where I can have access to the list of datatypes for a raster map? I ran on my raster map and got datatype=CELL. I was expecting to get byte,float,integer... bests milton 2010/1/22 Glynn Clements > > Milton Cezar Ribeiro wrote: > > > I am trying to w

Re: [GRASS-user] r.patch: GRASS-6.5svn

2010-01-21 Thread Glynn Clements
Rich Shepard wrote: > GRASS 6.5.svn (Oregon):/usr4/grassbase > r.patch in=$MAPS out=demOR --o > WARNING: map [demOR] - unable to write row 24578 (No such file or > directory) "No such file or directory" is ENOENT, which isn't among the errors which write() can return. That suggests tha

Re: [GRASS-user] forcing raster accept only integer >0

2010-01-21 Thread Jarosław Jasiewicz
Milton Cezar Ribeiro pisze: Hi Glynn, Thanks for the reply. By the way, where I can have access to the list of datatypes for a raster map? I ran on my raster map and got datatype=CELL. I was expecting to get byte,float,integer... bests milton 2010/1/22 Glynn Clements