[GRASS-user] Error in sqlite driver in winNative Grass 6.3.0
Dear GRASS user. I am using grass windows native 6.3.0. I have done the following steps: v.digit window appears v.digit -n map=point_digt v.digit - point_digt @user1 window appears open settings button clicked Goes to table tab - add new column - Name is given - create table button clicked it shows information window where massage is driver sqliteDBMI-SQLite driver error : cannot open database : unable to open database file sincerely yours Md. Zahid Parvez ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
R: [GRASS-user] Region of a new mapset (6.3.1svn)
Ciao, My version is 6.3.1svn downloaded on January 3. Aldo Clerici -Messaggio originale- Da: Martin Landa [mailto:landa.mar...@gmail.com] Inviato: domenica 1 febbraio 2009 12.38 A: Aldo Clerici Cc: grass-user@lists.osgeo.org Oggetto: Re: [GRASS-user] Region of a new mapset (6.3.1svn) Ciao, 2009/2/1 Aldo Clerici aldo.cler...@unipr.it: when I create a new mapset, a new region is automatically created with north and east values corresponding to the north and east values of the original (default) location, but with south and west values set to 0. which version do you use? 6.4.0svn seems to work as expected. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: R: [GRASS-user] Region of a new mapset (6.3.1svn)
Ciao, 2009/2/1 Aldo Clerici aldo.cler...@unipr.it: My version is 6.3.1svn downloaded on January 3. let me to suggest to you upgrading your GRASS installation to 6.4.0RC3. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Region of a new mapset (6.3.1svn)
Dear GRASS people, when I create a new mapset, a new region is automatically created with north and east values corresponding to the north and east values of the original (default) location, but with south and west values set to 0. Example: g.region -dp projection: 1 (UTM) zone: 32 datum: eur50 ellipsoid: international north: 4944000 south: 4924500 west: 538000 east: 552900 nsres: 5 ewres: 5 rows: 3900 cols: 2980 cells: 11622000 g.mapset -c mapset=newmapset g.region -p projection: 1 (UTM) zone: 32 datum: eur50 ellipsoid: international north: 4944000 south: 0 west: 0 east: 552900 nsres: 5 ewres: 5 rows: 988800 cols: 110580 cells: 1093441504000 and this region is assumed as the default region: g.region -dp projection: 1 (UTM) zone: 32 datum: eur50 ellipsoid: international north: 4944000 south: 0 west: 0 east: 552900 nsres: 5 ewres: 5 rows: 988800 cols: 110580 cells: 1093441504000 I should expect that the new mapset had the same size as the original default region. May be I forgot some option? Thanks in advance. Aldo Clerici Earth Science Department Parma University Italy ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Region of a new mapset (6.3.1svn)
Ciao, 2009/2/1 Aldo Clerici aldo.cler...@unipr.it: when I create a new mapset, a new region is automatically created with north and east values corresponding to the north and east values of the original (default) location, but with south and west values set to 0. which version do you use? 6.4.0svn seems to work as expected. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
Macsurfcat a écrit : MORREALE Jean Roc wrote: Macsurfcat a écrit : Howdy, Just a little problem I've encountered before, resolved once but forgotten the solution: I've downloaded another version of GRASS 6.3.0 because of extreme problems with previous; the GUI default (of course) is not the wxpython which I prefer. I have reset it again and again in terminal with an -u flag with the same result. The claim is the GUI will be updated, but upon opening GRASS again, the older GUI is called and utilized. Help suggests several options but doesn't exactly explain how to implement them: ie; how does one change a variable in the .grassrc6 folder, for example. Sounds ridiculous, I know, but what am I missing here? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user Launch grass with the -wxpython option ? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user Yes, tried that. Error message follows: cd ~; export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH; export DISPLAY=:0.0; export osxaqua=1; export LANG=en_EN; export LANGUAGE=en_EN; '/Applications/GrassGIS.app/'Contents/Resources/app/grass-6.3.0/grass63 -wxpython Cleaning up temporary files. Starting GRASS ... Unable to set locale: unsupported locale setting Traceback (most recent call last): File /Applications/GrassGIS.app/Contents/Resources/app/grass-6.3.0/etc/wxpython/gis_set.py, line 31, in module from gui_modules import globalvar File /Applications/GrassGIS.app/Contents/Resources/app/grass-6.3.0/etc/wxpython/gui_modules/globalvar.py, line 49, in module import wx File /BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/__init__.py, line 45, in module File /BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py, line 14007, in module File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py, line 512, in getpreferredencoding File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py, line 476, in setlocale locale.Error: unsupported locale setting Error in GUI startup. If necessary, please report this error to the GRASS developers. Switching to text mode now. Hit RETURN to continue... I've downloaded python 2.6 and wxpython 2.8; both have installed themselves in my APPLICATIONS folder, as per usual on a MAC. The MacPython 2.5 packaged with Leopard OSX.5 is also located in same apps folder. The Python framework referred to above does exist, and seems to be in order . . . I added the xpython switch by copying the login sh from the terminal window after it ran and inserting the -wxpython switch manually, opened the terminal and copied in the text. It ran as above. I am not a programmer, so when you say launch grass with -wxpython switch, I say how? (I'm just a dumb archaeologist) Eugene Hi eugene, sorry, I made a mistake while replying to your mail so I'm copying your message here as it belongs more to the list. Looking at your log, your application is already set to use wxpython (see the line /Applications/GrassGIS.app/'Contents/Resources/app/grass-6.3.0/grass63 -wxpython) I don't have access to a mac for now but could you try to open a terminal, do export LANG=en_EN.utf8 then grass63 -wxpython ? Regards, MORREALE Jean Roc an equally dumb archaeologist ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
Macsurfcat a écrit : Howdy, Just a little problem I've encountered before, resolved once but forgotten the solution: I've downloaded another version of GRASS 6.3.0 because of extreme problems with previous; the GUI default (of course) is not the wxpython which I prefer. I have reset it again and again in terminal with an -u flag with the same result. The claim is the GUI will be updated, but upon opening GRASS again, the older GUI is called and utilized. Help suggests several options but doesn't exactly explain how to implement them: ie; how does one change a variable in the .grassrc6 folder, for example. Sounds ridiculous, I know, but what am I missing here? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user Launch grass with the -wxpython option ? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
On Feb 1, 2009, at 4:30 AM, grass-user-requ...@lists.osgeo.org wrote: Date: Sat, 31 Jan 2009 18:28:06 -0500 From: Macsurfcat macsurf...@me.com Subject: [GRASS-user] re: WXPYTHON??? To: grass-user@lists.osgeo.org Message-ID: 4984de86.4020...@me.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Howdy, Just a little problem I've encountered before, resolved once but forgotten the solution: I've downloaded another version of GRASS 6.3.0 because of extreme problems with previous; the GUI default (of course) is not the wxpython which I prefer. I have reset it again and again in terminal with an -u flag with the same result. The claim is the GUI will be updated, but upon opening GRASS again, the older GUI is called and utilized. Help suggests several options but doesn't exactly explain how to implement them: ie; how does one change a variable in the .grassrc6 folder, for example. Sounds ridiculous, I know, but what am I missing here? Not at all ridiculous. In fact, it requires some arcane knowledge. There are 2 ways to change the GUI. From the terminal, you can use the g.gui command. g.gui tcltk launches the tcltk GUI g.gui wxpython launches the wxpython GUI However, all module interfaces will launch in the default GUI regardless of which is started from the command line. If you launch GRASS from an x11 terminal (i.e., on Linux), you can issue a command line argument with GRASS to set the default GUI. I believe it is -tcl and -wx. For people starting GRASS on windows and Mac, however, you need to edit the .grassrc6 file (not folder) to change the default GUI. This file is normally located in your home folder. This can be done with a standard text editor on windows (don't use a word processor that can inadvertently save this file in other than text format with wrong line feeds). On the Mac all files that start with a . are hidden with no way built into the Mac interface to make them visible. I think this is a bad idea, but that's the way it is. To edit the .grassrc6 file, you can get utilities to make all hidden files visible (invisibility toggler, for example), you can use TextWrangler's open hidden feature, or you can use a command-lined text editor like pico (hidden files are visible from the command line). Once you are editing your .grassrc6 file, you simply need to change the GRASS_GUI line GRASS_GUI: tcltk OR GRASS_GUI: wxpython ...will set the default GUI to either TclTk or wxPython. Hope this helps you and others. Michael ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
Hi, 2009/2/1 Michael Barton michael.bar...@asu.edu: [...] Not at all ridiculous. In fact, it requires some arcane knowledge. There are 2 ways to change the GUI. From the terminal, you can use the g.gui command. g.gui tcltk launches the tcltk GUI g.gui wxpython launches the wxpython GUI if you launch g.gui with '-u' flag the default GUI is updated according your choice. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
Thanks for the useful information. Michael On Feb 1, 2009, at 9:24 AM, Martin Landa wrote: Hi, 2009/2/1 Michael Barton michael.bar...@asu.edu: [...] Not at all ridiculous. In fact, it requires some arcane knowledge. There are 2 ways to change the GUI. From the terminal, you can use the g.gui command. g.gui tcltk launches the tcltk GUI g.gui wxpython launches the wxpython GUI if you launch g.gui with '-u' flag the default GUI is updated according your choice. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Error in sqlite driver in winNative Grass 6.3.0
On Sun, Feb 1, 2009 at 10:44 AM, Zahid Parvez grassgisbanglad...@gmail.com wrote: Dear GRASS user. I am using grass windows native 6.3.0. I have done the following steps: v.digit window appears v.digit -n map=point_digt v.digit - point_digt @user1 window appears open settings button clicked Goes to table tab - add new column - Name is given - create table button clicked it shows information window where massage is driver sqliteDBMI-SQLite driver error : cannot open database : unable to open database file Does the path to the SQLite database contain white space (blanks)? Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
RE: [GRASS-user] profile tools in GRASS GIS 6.4.ORC2 (Solved)
Hi Jhon Ortiz wrote: Im working with grass 6.4.0RC2 in Ubuntu 8.04 [and using wxpython] I tried Interactively create profile of a raster map. I drew Profile transect with the mouse in map display, but when I make click in the profile button to create the profile, don't display anything and gave me this error: Michael Barton wrote: You need to have numpy or numarray installed for profiling to work in the wxPython gui. Have you installed one of these? Jhon Ortiz wrote: I just install the package python-numpy and now this tool working very good. Perhaps the wxpython gui README needs further explanation? NumPy is only listed as a requirement for MS-WINDOWS, see the section: MS-WINDOWS ONLY REQUIREMENTS Craig ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] I: problems with v.edit
Ciao Chiara, 2009/1/27 chiaraerc...@tiscali.it chiaraerc...@tiscali.it: I have a problem with v-edit. I have to break a vector line into two parts near a point. I gave this command: v.edit map=ret_125 layer=1 type=line tool=break thresh=$ris_edit coords=$x,$y snap=no where $ris_edit depends on the resolution of the DEM raster map, $x and $y are the coordinates of the point. are you sure that threshold value is enough to select vector feature which you want to break? v.edit map=ret_125 tool=select thresh=$ris_edit coords=$x,$y v.out.ascii punto_minimo 861020.54634226|7317237.0965|1 v.edit ret_125 tool=select coord=861020.54634226,7317237.0965 thresh=15 --q 1 OK, feature selected v.edit ret_125 tool=break coord=861020.54634226,7317237.0965 thresh=15 snap=no type=line layer=1 OK, feature broken Check: v.edit ret_125 tool=select coord=861020.54634226,7317237.0965 thresh=15 --q 1,2 So where is the problem? ;-) Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
On Sun, 1 Feb 2009, Michael Barton wrote: Not at all ridiculous. In fact, it requires some arcane knowledge. There are 2 ways to change the GUI. From the terminal, you can use the g.gui command. g.gui tcltk launches the tcltk GUI g.gui wxpython launches the wxpython GUI However, all module interfaces will launch in the default GUI regardless of which is started from the command line. If you launch GRASS from an x11 terminal (i.e., on Linux), you can issue a command line argument with GRASS to set the default GUI. I believe it is -tcl and -wx. For people starting GRASS on windows and Mac, however, you need to edit the .grassrc6 file (not folder) to change the default GUI. This file is normally located in your home folder. This can be done with a standard text editor on windows (don't use a word processor that can inadvertently save this file in other than text format with wrong line feeds). On the Mac all files that start with a . are hidden with no way built into the Mac interface to make them visible. I think this is a bad idea, but that's the way it is. To edit the .grassrc6 file, you can get utilities to make all hidden files visible (invisibility toggler, for example), you can use TextWrangler's open hidden feature, or you can use a command-lined text editor like pico (hidden files are visible from the command line). Once you are editing your .grassrc6 file, you simply need to change the GRASS_GUI line GRASS_GUI: tcltk OR GRASS_GUI: wxpython ...will set the default GUI to either TclTk or wxPython. Simpler than that (and less risk of messiness with line endings) is to use g.gisenv to edit GRASS variables in the GISRC file: g.gisenv set=GRASS_GUI=tcltk or g.gisenv set=GRASS_GUI=wxpython will achieve the same as the above, or use g.gui as Martin suggested. BUT, it's not true that there is no other way to change the GUI settings, on Windows at least: The grassXX.bat start-up script has always accepted arguments -text, -gui or -tcltk and was recently extended to also accept -wxpython. Paul ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] problem setting region in 6.4 rc3
Hello, I'm using William Kyngesburye's OSX binaries of Grass 6.4 rc3, and find it doesn't work with my existing mapsets. On displaying a vector map, it gives an error Error setting region: child process exited abnormally. If I set or display the region with g.region or g.region - p, I get the error region for current mapset projection field missing xx run g.region The mapset is UTM zone 35, and works fine in 6.3. I installed the newest GDAL framework (1.6.0-5). I had thought the projection information was in one or more of the files in the mapset PROJ_INFO, etc., which are (for one typical mapset): DEFAULT_WIND: proj: 1 zone: 35 north: 1 south: 0 east: 1 west: 0 cols: 1 rows: 1 e-w resol: 1 n-s resol: 1 top:1 bottom: 0 cols3: 1 rows3: 1 depths: 1 e-w resol3: 1 n-s resol3: 1 t-b resol: 1 PROJ_INFO: name: UTM datum: wgs84 towgs84: 0.000,0.000,0.000 proj: utm ellps: wgs84 a: 6378137.00 es: 0.0066943800 f: 298.2572235630 zone: 35 PROJ_UNITS unit: meter units: meters meters: 1.0 WIND proj: 1 zone: 35 north: 44865376.2790889 south: 4026393.07584904 east: 12546112.5351774 west: -1477754.5340503 cols: 184585 rows: 442103 e-w resol: 75.97511753 n-s resol: 92.37436345 top:1759.33 bottom: 0 cols3: 184585 rows3: 442103 depths: 1759 e-w resol3: 75.97511753 n-s resol3: 92.37436345 t-b resol: 1.00018487' I'm not sure why the default window sets it to one row and one column, but it works OK in 6.3. Any idea what's wrong here? Many thanks, Nick Cahill ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user