Re: [GRASS-user] Another error with wxpython GUI in RC6 - repeatable

2008-04-13 Thread geep999

Hi Martin, Glynn  everybody,

To repeat the problem consistently:
-there is an error if there is no directory called PERMANENT
in a directory below the directory where grass63 -wxpython is run

-creating a directory anything/PERMANENT prevents the problem
i.e. run grass63 -wxpython in $HOME starts OK when directory 
$HOME/anything/PERMANENT exists

Cheers, Peter

geep999 wrote:
 
 Hi Martin, Glynn  everybody,
 
 Problem solved (accidentally!) - not totally sure how.
 And found a new (to me!) dependency - NumPy.
 
 1/ When I started grass63 -wxpython the first few times I was in my home
 directory.
 When I got the nasty error messages initially reported I did not have any
 GIS Data.
 
 Later I copied a GIS Data Directory from another PC into $HOME/MountDoom
 Then:
 cd $HOME/MountDoom
 grass63 -wxpython   (whilst in $HOME/MountDoom)
 
 No more nasty error messages, instead I got this:
 [EMAIL PROTECTED]:~/MountDoom$ grass63 -wxpython
 Cleaning up temporary files.
 Starting GRASS ...
 GRASS GUI should be wxpython
   __  ___   _____
  / / __ \/   | / ___/ ___/   / /  _/ ___/
 / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
/ /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
\/_/ |_/_/  |_///   \/___///
 
 Welcome to GRASS 6.3.0svn (2008)
 GRASS homepage:  http://grass.osgeo.org/
 This version running thru:   Bash Shell (/bin/bash)
 Help is available with the command:  g.manual -i
 See the licence terms with:  g.version -c
 If required, restart the GUI with:   g.gui wxpython
 When ready to quit enter:exit
 
 GRASS 6.3.0svn (MountDoom):~/MountDoom  profile.py:
 This module requires the NumPy module,
 which could not be imported.  It probably is not installed
 (it's not part of the standard Python distribution). See the
 Numeric Python site (http://numpy.scipy.org) for information on
 downloading source or binaries.
 GRASS 6.3.0svn (MountDoom):~/MountDoom 
 
 2/ So, I installed this new dependency ;) NumPy.
 Lo and behold, without so much as a ./configure or make, I find that
 grass63 -wxpython is running with a shiny new interface.
 
 3/ It seems that launching from within $HOME/MountDoom was somehow the
 trick that got me started,
 and stopped the nasty error messages.
 
 I note that -wxpython and -tcltk show different Project Locations
 when launched from my $HOME directory.
 
 -tcltk lists all directories in $HOME in the Project Location box
 -wxpython only lists directory MountDoom in the Project Location box
 
 Cheers,
 
 Peter 
 
 Martin Landa-2 wrote:
 
 Hi,
 
  1/ I tried compiling using --with-python=no --with-wxwidgets
  But with svn revision 30941 I get:
  Errors in:
  /home/dad/grass63_release_build/grass63_release/gui/wxpython/vdigit
  --
  In case of errors please change into the directory with error and run
  'make'.
 
 now should be fixed in trunk and releasebranch_63, see
 
 http://trac.osgeo.org/grass/changeset/30951
 
 when you run
 
 svn up
 ./configure ... --with-python=no ...
 
 vdigit will be not compiled, i.e. it requires both --with-python and
 --with-wxwidgets.
 
  So it seems that to have the wxPython gui I need to have swig
 installed.
 
 No, swig is need only for compilation of vector digitizer, wxGUI
 (without digitizer) is installed regardless of any configuration
 switch.
 
 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
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Another-error-with-wxpython-GUI-in-RC6-tp16627913p16656755.html
Sent from the Grass - Users mailing list archive at Nabble.com.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] How effective is scripting in win-GRASS?

2008-04-13 Thread Markus Neteler
On Thu, Apr 10, 2008 at 7:23 AM, maning sambale
[EMAIL PROTECTED] wrote:
 
   What is the best live-cd with GRASS (GDAL/OGR), QGIS ? Or, how could I
   build a custom live-CD including latest FOSSGIS tools?
  Some options
  http://grass.itc.it/download/cdrom.php

  I think the most up to date is

.. actually slaxGIS-080402!

It comes with GRASS 6.3.0 RC6 and more and runs from USB FlashDisk.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Another error with wxpython GUI in RC6 - repeatable

2008-04-13 Thread Martin Landa
Hi,

2008/4/13, geep999 [EMAIL PROTECTED]:
  -there is an error if there is no directory called PERMANENT
  in a directory below the directory where grass63 -wxpython is run

strange I cannot reproduce this error (python 2.4.5, wxpython 2.8.7.1)

rm -r /home/martin/.grassrc6
ls
[nothing]
grass630 -wxpython
[gui starts - list of locations/mapsets empty]

The patch I sent you didn't help?

BTW, can you install also grass_trunk and check if the same error appears?

Martin

  geep999 wrote:
  
   Hi Martin, Glynn  everybody,
  
   Problem solved (accidentally!) - not totally sure how.
   And found a new (to me!) dependency - NumPy.
  
   1/ When I started grass63 -wxpython the first few times I was in my home
   directory.
   When I got the nasty error messages initially reported I did not have any
   GIS Data.
  
   Later I copied a GIS Data Directory from another PC into $HOME/MountDoom
   Then:
   cd $HOME/MountDoom
   grass63 -wxpython   (whilst in $HOME/MountDoom)
  
   No more nasty error messages, instead I got this:
   [EMAIL PROTECTED]:~/MountDoom$ grass63 -wxpython
   Cleaning up temporary files.
   Starting GRASS ...
   GRASS GUI should be wxpython
 __  ___   _____
/ / __ \/   | / ___/ ___/   / /  _/ ___/
   / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
  / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
  \/_/ |_/_/  |_///   \/___///
  
   Welcome to GRASS 6.3.0svn (2008)
   GRASS homepage:  http://grass.osgeo.org/
   This version running thru:   Bash Shell (/bin/bash)
   Help is available with the command:  g.manual -i
   See the licence terms with:  g.version -c
   If required, restart the GUI with:   g.gui wxpython
   When ready to quit enter:exit
  
   GRASS 6.3.0svn (MountDoom):~/MountDoom  profile.py:
   This module requires the NumPy module,
   which could not be imported.  It probably is not installed
   (it's not part of the standard Python distribution). See the
   Numeric Python site (http://numpy.scipy.org) for information on
   downloading source or binaries.
   GRASS 6.3.0svn (MountDoom):~/MountDoom 
  
   2/ So, I installed this new dependency ;) NumPy.
   Lo and behold, without so much as a ./configure or make, I find that
   grass63 -wxpython is running with a shiny new interface.
  
   3/ It seems that launching from within $HOME/MountDoom was somehow the
   trick that got me started,
   and stopped the nasty error messages.
  
   I note that -wxpython and -tcltk show different Project Locations
   when launched from my $HOME directory.
  
   -tcltk lists all directories in $HOME in the Project Location box
   -wxpython only lists directory MountDoom in the Project Location box
  
   Cheers,
  
   Peter
  
   Martin Landa-2 wrote:
  
   Hi,
  
1/ I tried compiling using --with-python=no --with-wxwidgets
But with svn revision 30941 I get:
Errors in:
/home/dad/grass63_release_build/grass63_release/gui/wxpython/vdigit
--
In case of errors please change into the directory with error and run
'make'.
  
   now should be fixed in trunk and releasebranch_63, see
  
   http://trac.osgeo.org/grass/changeset/30951
  
   when you run
  
   svn up
   ./configure ... --with-python=no ...
  
   vdigit will be not compiled, i.e. it requires both --with-python and
   --with-wxwidgets.
  
So it seems that to have the wxPython gui I need to have swig
   installed.
  
   No, swig is need only for compilation of vector digitizer, wxGUI
   (without digitizer) is installed regardless of any configuration
   switch.
  
   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
  
  
  
  


  --
  View this message in context: 
 http://www.nabble.com/Another-error-with-wxpython-GUI-in-RC6-tp16627913p16656755.html
  Sent from the Grass - Users mailing list archive at Nabble.com.

  ___
  grass-user mailing list
  grass-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/grass-user



-- 
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] Another error with wxpython GUI in RC6 - repeatable

2008-04-13 Thread Martin Landa
Hi,

I committed this patch to releasebranch_63

http://trac.osgeo.org/grass/changeset/30967

Are you getting the same error now?

Martin

2008/4/13, Martin Landa [EMAIL PROTECTED]:
 Hi,

  2008/4/13, geep999 [EMAIL PROTECTED]:

   -there is an error if there is no directory called PERMANENT
in a directory below the directory where grass63 -wxpython is run


 strange I cannot reproduce this error (python 2.4.5, wxpython 2.8.7.1)

  rm -r /home/martin/.grassrc6
  ls
  [nothing]
  grass630 -wxpython
  [gui starts - list of locations/mapsets empty]

  The patch I sent you didn't help?

  BTW, can you install also grass_trunk and check if the same error appears?


  Martin


geep999 wrote:

 Hi Martin, Glynn  everybody,

 Problem solved (accidentally!) - not totally sure how.
 And found a new (to me!) dependency - NumPy.

 1/ When I started grass63 -wxpython the first few times I was in my 
 home
 directory.
 When I got the nasty error messages initially reported I did not have 
 any
 GIS Data.

 Later I copied a GIS Data Directory from another PC into $HOME/MountDoom
 Then:
 cd $HOME/MountDoom
 grass63 -wxpython   (whilst in $HOME/MountDoom)

 No more nasty error messages, instead I got this:
 [EMAIL PROTECTED]:~/MountDoom$ grass63 -wxpython
 Cleaning up temporary files.
 Starting GRASS ...
 GRASS GUI should be wxpython
   __  ___   _____
  / / __ \/   | / ___/ ___/   / /  _/ ___/
 / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
/ /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
\/_/ |_/_/  |_///   \/___///

 Welcome to GRASS 6.3.0svn (2008)
 GRASS homepage:  http://grass.osgeo.org/
 This version running thru:   Bash Shell (/bin/bash)
 Help is available with the command:  g.manual -i
 See the licence terms with:  g.version -c
 If required, restart the GUI with:   g.gui wxpython
 When ready to quit enter:exit

 GRASS 6.3.0svn (MountDoom):~/MountDoom  profile.py:
 This module requires the NumPy module,
 which could not be imported.  It probably is not installed
 (it's not part of the standard Python distribution). See the
 Numeric Python site (http://numpy.scipy.org) for information on
 downloading source or binaries.
 GRASS 6.3.0svn (MountDoom):~/MountDoom 

 2/ So, I installed this new dependency ;) NumPy.
 Lo and behold, without so much as a ./configure or make, I find that
 grass63 -wxpython is running with a shiny new interface.

 3/ It seems that launching from within $HOME/MountDoom was somehow the
 trick that got me started,
 and stopped the nasty error messages.

 I note that -wxpython and -tcltk show different Project Locations
 when launched from my $HOME directory.

 -tcltk lists all directories in $HOME in the Project Location box
 -wxpython only lists directory MountDoom in the Project Location box

 Cheers,

 Peter

 Martin Landa-2 wrote:

 Hi,

  1/ I tried compiling using --with-python=no --with-wxwidgets
  But with svn revision 30941 I get:
  Errors in:
  /home/dad/grass63_release_build/grass63_release/gui/wxpython/vdigit
  --
  In case of errors please change into the directory with error and run
  'make'.

 now should be fixed in trunk and releasebranch_63, see

 http://trac.osgeo.org/grass/changeset/30951

 when you run

 svn up
 ./configure ... --with-python=no ...

 vdigit will be not compiled, i.e. it requires both --with-python and
 --with-wxwidgets.

  So it seems that to have the wxPython gui I need to have swig
 installed.

 No, swig is need only for compilation of vector digitizer, wxGUI
 (without digitizer) is installed regardless of any configuration
 switch.

 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




  
  
--
View this message in context: 
 http://www.nabble.com/Another-error-with-wxpython-GUI-in-RC6-tp16627913p16656755.html
Sent from the Grass - Users mailing list archive at Nabble.com.
  
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
  


  --
  Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa *



-- 
Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa *
___

[GRASS-user] v.outlier and sqlite

2008-04-13 Thread M S
Hi all:

When I run v.outlier I get the following error.  The data source is lidar
data, created with v.in.ascii with no table or topology.  Any suggestions?

Here is the error message:
GRASS 6.2.2 (SPWharnFT):~/gis/locations/SPWharnFT  v.outlier
input=lidar57697_3d output=lidar57697_clean outlier=outlier57967
qgis=qgis57697 --overwrite
WARNING: The vector 'qgis57697' already exists and will be overwritten.
WARNING: coor files of vector '[EMAIL PROTECTED]' is larger than it
 should be (12895143 bytes excess).
DBMI-SQLite driver error:
Error in sqlite3_prepare():
no such table: Auxiliar_outlier_table

ERROR: Impossible to write in the database

Mark
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Another error with wxpython GUI in RC6 - repeatable

2008-04-13 Thread Peter Gardner
Hi Martin,

I tried the patch, applying it to revision 30961, - problem solved.
I downloaded svn_trunk (revision 30966) - problem solved.

Cheers,  Peter

Martin Landa [EMAIL PROTECTED] wrote: Hi,

I committed this patch to releasebranch_63

http://trac.osgeo.org/grass/changeset/30967

Are you getting the same error now?

Martin

2008/4/13, Martin Landa :
 Hi,

  2008/4/13, geep999 :

   -there is an error if there is no directory called PERMANENT
in a directory below the directory where grass63 -wxpython is run


 strange I cannot reproduce this error (python 2.4.5, wxpython 2.8.7.1)

  rm -r /home/martin/.grassrc6
  ls
  [nothing]
  grass630 -wxpython
  [gui starts - list of locations/mapsets empty]

  The patch I sent you didn't help?

  BTW, can you install also grass_trunk and check if the same error appears?


  Martin


geep999 wrote:

 Hi Martin, Glynn  everybody,

 Problem solved (accidentally!) - not totally sure how.
 And found a new (to me!) dependency - NumPy.

 1/ When I started grass63 -wxpython the first few times I was in my 
 home
 directory.
 When I got the nasty error messages initially reported I did not have 
 any
 GIS Data.

 Later I copied a GIS Data Directory from another PC into $HOME/MountDoom
 Then:
 cd $HOME/MountDoom
 grass63 -wxpython   (whilst in $HOME/MountDoom)

 No more nasty error messages, instead I got this:
 [EMAIL PROTECTED]:~/MountDoom$ grass63 -wxpython
 Cleaning up temporary files.
 Starting GRASS ...
 GRASS GUI should be wxpython
   __  ___   _____
  / / __ \/   | / ___/ ___/   / /  _/ ___/
 / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
/ /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
\/_/ |_/_/  |_///   \/___///

 Welcome to GRASS 6.3.0svn (2008)
 GRASS homepage:  http://grass.osgeo.org/
 This version running thru:   Bash Shell (/bin/bash)
 Help is available with the command:  g.manual -i
 See the licence terms with:  g.version -c
 If required, restart the GUI with:   g.gui wxpython
 When ready to quit enter:exit

 GRASS 6.3.0svn (MountDoom):~/MountDoom  profile.py:
 This module requires the NumPy module,
 which could not be imported.  It probably is not installed
 (it's not part of the standard Python distribution). See the
 Numeric Python site (http://numpy.scipy.org) for information on
 downloading source or binaries.
 GRASS 6.3.0svn (MountDoom):~/MountDoom 

 2/ So, I installed this new dependency ;) NumPy.
 Lo and behold, without so much as a ./configure or make, I find that
 grass63 -wxpython is running with a shiny new interface.

 3/ It seems that launching from within $HOME/MountDoom was somehow the
 trick that got me started,
 and stopped the nasty error messages.

 I note that -wxpython and -tcltk show different Project Locations
 when launched from my $HOME directory.

 -tcltk lists all directories in $HOME in the Project Location box
 -wxpython only lists directory MountDoom in the Project Location box

 Cheers,

 Peter

 Martin Landa-2 wrote:

 Hi,

  1/ I tried compiling using --with-python=no --with-wxwidgets
  But with svn revision 30941 I get:
  Errors in:
  /home/dad/grass63_release_build/grass63_release/gui/wxpython/vdigit
  --
  In case of errors please change into the directory with error and run
  'make'.

 now should be fixed in trunk and releasebranch_63, see

 http://trac.osgeo.org/grass/changeset/30951

 when you run

 svn up
 ./configure ... --with-python=no ...

 vdigit will be not compiled, i.e. it requires both --with-python and
 --with-wxwidgets.

  So it seems that to have the wxPython gui I need to have swig
 installed.

 No, swig is need only for compilation of vector digitizer, wxGUI
 (without digitizer) is installed regardless of any configuration
 switch.

 Martin

 --
 Martin Landa  * http://gama.fsv.cvut.cz/~landa *
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




  
  
--
View this message in context: 
 http://www.nabble.com/Another-error-with-wxpython-GUI-in-RC6-tp16627913p16656755.html
Sent from the Grass - Users mailing list archive at Nabble.com.
  
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
  


  --
  Martin Landa  * http://gama.fsv.cvut.cz/~landa *



-- 
Martin 

Re: [GRASS-user] How effective is scripting in win-GRASS?

2008-04-13 Thread Nikos Alexandris

On Sun, 2008-04-13 at 11:54 +0200, Markus Neteler wrote:
 On Thu, Apr 10, 2008 at 7:23 AM, maning sambale
 [EMAIL PROTECTED] wrote:
  
What is the best live-cd with GRASS (GDAL/OGR), QGIS ? Or, how could I
build a custom live-CD including latest FOSSGIS tools?
   Some options
   http://grass.itc.it/download/cdrom.php
 
   I think the most up to date is
 
 .. actually slaxGIS-080402!
 
 It comes with GRASS 6.3.0 RC6 and more and runs from USB FlashDisk.
 
 Markus

Yes,

it's very fast and great. I had a problem starting it (ATI graphic
card) :-(

I installed the ATI driver 8.2 and it works fine now.

Congrats to the creators.

Nikos

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Another error with wxpython GUI in RC6 - repeatable

2008-04-13 Thread Peter Gardner
Hi,
OK now with  releasebranch_6_3 grass63_release 30968.
Cheers, Peter

Martin Landa [EMAIL PROTECTED] wrote: Hi,

I committed this patch to releasebranch_63

http://trac.osgeo.org/grass/changeset/30967

Are you getting the same error now?

Martin

2008/4/13, Martin Landa :
 Hi,

  2008/4/13, geep999 :

   -there is an error if there is no directory called PERMANENT
in a directory below the directory where grass63 -wxpython is run


 strange I cannot reproduce this error (python 2.4.5, wxpython 2.8.7.1)

  rm -r /home/martin/.grassrc6
  ls
  [nothing]
  grass630 -wxpython
  [gui starts - list of locations/mapsets empty]

  The patch I sent you didn't help?

  BTW, can you install also grass_trunk and check if the same error appears?


  Martin


geep999 wrote:

 Hi Martin, Glynn  everybody,

 Problem solved (accidentally!) - not totally sure how.
 And found a new (to me!) dependency - NumPy.

 1/ When I started grass63 -wxpython the first few times I was in my 
 home
 directory.
 When I got the nasty error messages initially reported I did not have 
 any
 GIS Data.

 Later I copied a GIS Data Directory from another PC into $HOME/MountDoom
 Then:
 cd $HOME/MountDoom
 grass63 -wxpython   (whilst in $HOME/MountDoom)

 No more nasty error messages, instead I got this:
 [EMAIL PROTECTED]:~/MountDoom$ grass63 -wxpython
 Cleaning up temporary files.
 Starting GRASS ...
 GRASS GUI should be wxpython
   __  ___   _____
  / / __ \/   | / ___/ ___/   / /  _/ ___/
 / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
/ /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
\/_/ |_/_/  |_///   \/___///

 Welcome to GRASS 6.3.0svn (2008)
 GRASS homepage:  http://grass.osgeo.org/
 This version running thru:   Bash Shell (/bin/bash)
 Help is available with the command:  g.manual -i
 See the licence terms with:  g.version -c
 If required, restart the GUI with:   g.gui wxpython
 When ready to quit enter:exit

 GRASS 6.3.0svn (MountDoom):~/MountDoom  profile.py:
 This module requires the NumPy module,
 which could not be imported.  It probably is not installed
 (it's not part of the standard Python distribution). See the
 Numeric Python site (http://numpy.scipy.org) for information on
 downloading source or binaries.
 GRASS 6.3.0svn (MountDoom):~/MountDoom 

 2/ So, I installed this new dependency ;) NumPy.
 Lo and behold, without so much as a ./configure or make, I find that
 grass63 -wxpython is running with a shiny new interface.

 3/ It seems that launching from within $HOME/MountDoom was somehow the
 trick that got me started,
 and stopped the nasty error messages.

 I note that -wxpython and -tcltk show different Project Locations
 when launched from my $HOME directory.

 -tcltk lists all directories in $HOME in the Project Location box
 -wxpython only lists directory MountDoom in the Project Location box

 Cheers,

 Peter

 Martin Landa-2 wrote:

 Hi,

  1/ I tried compiling using --with-python=no --with-wxwidgets
  But with svn revision 30941 I get:
  Errors in:
  /home/dad/grass63_release_build/grass63_release/gui/wxpython/vdigit
  --
  In case of errors please change into the directory with error and run
  'make'.

 now should be fixed in trunk and releasebranch_63, see

 http://trac.osgeo.org/grass/changeset/30951

 when you run

 svn up
 ./configure ... --with-python=no ...

 vdigit will be not compiled, i.e. it requires both --with-python and
 --with-wxwidgets.

  So it seems that to have the wxPython gui I need to have swig
 installed.

 No, swig is need only for compilation of vector digitizer, wxGUI
 (without digitizer) is installed regardless of any configuration
 switch.

 Martin

 --
 Martin Landa  * http://gama.fsv.cvut.cz/~landa *
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




  
  
--
View this message in context: 
 http://www.nabble.com/Another-error-with-wxpython-GUI-in-RC6-tp16627913p16656755.html
Sent from the Grass - Users mailing list archive at Nabble.com.
  
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
  


  --
  Martin Landa  * http://gama.fsv.cvut.cz/~landa *



-- 
Martin Landa  * http://gama.fsv.cvut.cz/~landa *


   

Re: [GRASS-user] v.outlier and sqlite

2008-04-13 Thread Markus Neteler
Mark,

GRASS 6.2.2 is somewhat old - possibly it was fixed later (I see related
notes in
the ChangeLog). Could you try with GRASS 6.3.RC6?
A dry run here with the NC dataset looks good.

Markus

On Sun, Apr 13, 2008 at 1:09 PM, M S [EMAIL PROTECTED] wrote:

 Hi all:

 When I run v.outlier I get the following error.  The data source is lidar
 data, created with v.in.ascii with no table or topology.  Any suggestions?

 Here is the error message:
 GRASS 6.2.2 (SPWharnFT):~/gis/locations/SPWharnFT  v.outlier
 input=lidar57697_3d output=lidar57697_clean outlier=outlier57967
 qgis=qgis57697 --overwrite
 WARNING: The vector 'qgis57697' already exists and will be overwritten.
 WARNING: coor files of vector '[EMAIL PROTECTED]' is larger than it
  should be (12895143 bytes excess).
 DBMI-SQLite driver error:
 Error in sqlite3_prepare():
 no such table: Auxiliar_outlier_table

 ERROR: Impossible to write in the database

 Mark

 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




-- 
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: [GRASS-dev] r.infer, r.weight, r.combine vs r.mapcalc

2008-04-13 Thread Hamish
Moritz Lennert wrote:
 Looking into the potential of using GRASS for multi-criteria analysis,
 I came upon Peter Löwe's article about r.infer in GRASS News Vol. 3
[1]. 
 He also mentions r.weight and r.combine in the article (all from 5.4, 
 never ported to 6.x). I'm not sure I completely understand what these 
 three can do what r.mapcalc cannot do. Is it only a question of ease of
 usage ?

(no idea)

 If they do prove to be of added value, are there any people out there 
 who would be interested in reviving these modules ?

The raster format did not change between GRASS 5 and 6, so as long as
those modules do not access sites or vector maps porting to GRASS 6
usually just means copying it into the source tree and creating a new
Makefile for it (copy  adapt that from a nearby GRASS 6 raster module)

fwiw:
http://grass.osgeo.org/gdp/html_grass5/html/r.weight.html
  -- assign weights to category numbers, and overlay multiple maps. The
resulting output raster map layer depicts the combination of map layer
weights across a landscape. These values represent a hierarchy of
suitability for some user-defined purpose.

http://grass.osgeo.org/gdp/html_grass5/html/r.weight2.html
  -- r.weight2 is the non-interactive version of r.weight

http://grass.osgeo.org/gdp/html_grass5/html/r.weighted.cn.html
  -- The r.weighted.cn program is sensitive to the current window
settings. Thus the program can be used to generate a weighted CN map of
any sub-area within the full map layer.

http://grass.osgeo.org/gdp/html_grass5/html/r.combine.html
  -- r.combine accepts commands that are similar to those used for
boolean combinations (AND, OR, NOT) in order to overlay user-selected
groups of categories from different raster map layers.



I think a similar method (assigning weights to category numbers) can be
done with r.category, although that functionality is hardly ever used now
that we have real FP raster maps. (Perhaps that's how r.weight works, I
haven't looked.)

see also
 http://grass.osgeo.org/wiki/GRASS_Module_Porting_List#Raster_modules



Hamish



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.ascii - put1 of 4 columns to 3D point file attribute

2008-04-13 Thread Hamish
Mark wrote:
 The points are about 5 million per tile, and there are 23 tiles (about
 115 million total).  I'm not sure if this is considered a large amount
 of mass input points.

Yes, it's a lot. The current vector engine allocates a small amount of
memory per feature for topology. With the DBF as database and default
v.in.ascii settings I've only ever managed to import about 3 million
points before running out of memory. I am interested to hear that you
could load 5 million into a SQLite DB, maybe that is more efficient.

With the v.in.ascii -t and -b flags you should be able to load 25million+
points into a single vector map, but there is a limited number of modules
that will be able to use a vector map without topology. (importantly
v.surf.rst still works)

If you are willing to abandon your code data column, you can strip off
that column and import the rest as a 3D vector (-z z=), in which case no
table is created (or just ignore it with -t -z). If you are just
interested in the 3D coordinate, then a DB table is unneeded overhead and
is best skipped.


Question: what do you want to do with the data? Simply create a raster
DEM or do more fancy cleaning with v.lidar.*? If just creating a raster
DEM you might skip v.in.ascii altogether and use the r.in.xyz module.



Hamish




 

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user