[GRASS-user] Wxpython vector digitizer

Hi

Due to the fact that i.class is not available at Windows I decided to start using GRASS on Linux.
I have just installed and compiled. When I start grass64 I get this warning:

WARNING: Vector digitizer is not available (No module named grass6_wxvdigit).
Note that vector digitizer is currently not working under MS Windows (hopefully will be fixed soon). Please try more recent version of GRASS.

But since I’m now using LINUX :), I don’t give a damn about that.
But unfortunely, in GIS lay Manager “Start Editing” option is not available. And, when I select “Digitizer” at GIS Map Display, I get the following error window
" Unable to start vector digitizer.
The VDigit python extension was not found or loaded properly.
Switching back to 2D display mode
Details: No module named grass6_wxdigit"

What am I missing because it was suppose to be working…

Thanks and happy holidays for everyone.

Luis Lisboa

Hi,

2009/12/18 Luis Lisboa <luislisboa1975@gmail.com>:

Due to the fact that i.class is not available at Windows I decided to start
using GRASS on Linux.
I have just installed and compiled. When I start grass64 I get this warning:
"WARNING: Vector digitizer is not available (No module named
grass6_wxvdigit).
Note that vector digitizer is currently not working under MS Windows
(hopefully will be fixed soon). Please try more recent version of GRASS."
But since I'm now using LINUX :), I don't give a damn about that.
But unfortunely, in GIS lay Manager "Start Editing" option is not available.
And, when I select "Digitizer" at GIS Map Display, I get the following
error window
" Unable to start vector digitizer.
The VDigit python extension was not found or loaded properly.
Switching back to 2D display mode
Details: No module named grass6_wxdigit"
What am I missing because it was suppose to be working..
Thanks and happy holidays for everyone.

You need to compile vdigit extension, see [1].

Martin

[1] http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/README#L141

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

Douhhhhh

Ok when I run SVN I used this command
./configure --enable-64bit --with-libs=/usr/lib64 --with-wxwidgets --with-blas --with-lapack

So, I have to add: --with-cxx.

And then I have to compile those 2. I just have to run Makefile of the following directories:
…/grass-6.4.svn_src_snapshot_2009_12_12/gui/wxpython/vdigit
…/grass-6.4.svn_src_snapshot_2009_12_12/gui/wxpython/nviz

Right? Thanks Martin, that was really helpful

Best regards,
Luis

On Fri, Dec 18, 2009 at 10:55 AM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2009/12/18 Luis Lisboa <luislisboa1975@gmail.com>:

Due to the fact that i.class is not available at Windows I decided to start
using GRASS on Linux.
I have just installed and compiled. When I start grass64 I get this warning:
“WARNING: Vector digitizer is not available (No module named
grass6_wxvdigit).
Note that vector digitizer is currently not working under MS Windows
(hopefully will be fixed soon). Please try more recent version of GRASS.”
But since I’m now using LINUX :), I don’t give a damn about that.
But unfortunely, in GIS lay Manager “Start Editing” option is not available.
And, when I select “Digitizer” at GIS Map Display, I get the following
error window
" Unable to start vector digitizer.
The VDigit python extension was not found or loaded properly.
Switching back to 2D display mode
Details: No module named grass6_wxdigit"
What am I missing because it was suppose to be working…
Thanks and happy holidays for everyone.

You need to compile vdigit extension, see [1].

Martin

[1] http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/README#L141


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

2009/12/18 Luis Lisboa <luislisboa1975@gmail.com>:

./configure --enable-64bit --with-libs=/usr/lib64 --with-wxwidgets
--with-blas --with-lapack
So, I have to add: --with-cxx.

Also add --with-python switch.

And then I have to compile those 2. I just have to run Makefile of the
following directories:
.../grass-6.4.svn_src_snapshot_2009_12_12/gui/wxpython/vdigit
.../grass-6.4.svn_src_snapshot_2009_12_12/gui/wxpython/nviz
Right? Thanks Martin, that was really helpful

Right.

Martin

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

Martin Landa wrote:

> ./configure --enable-64bit --with-libs=/usr/lib64 --with-wxwidgets
> --with-blas --with-lapack
> So, I have to add: --with-cxx.

Also add --with-python switch.

Also, --with-wxwidgets is (AFAIK) only meaningful if you also use
--with-python and --with-cxx.

The wxPython GUI gets "built" (i.e. installed) unconditionally. The
configure switches only affect components which contain C/C++ code
which needs to be compiled.

--
Glynn Clements <glynn@gclements.plus.com>