ok. I am building a grass standalone application. As a part of it I need
vector digitizer. My application is written in C++ and cannot use python for
some other reasons.
i saw the code gui/wxpython/vdigit. that are nice c++ classes.
Can I compile then with wxwidgets(C++) library and use it as a vec
Hi,
2010/9/29 Mohammed Rashad :
> All I need is create an map with one point from a c++ program which is
> linked to _grass6_wxvdigit.so located in
> /usr/local/grass-6.5.svn/etc/wxpython/vdigit.
> How to access the functions of the library using a C++ program run from
> grass shell with all varia
Generally, you can use C libraries from C++:
http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html
Then look here, and read the sections on the GRASS
vector architecture and the VEdit library:
http://grass.osgeo.org/programming6/
You will find there is quite a lot of functionality in there
Why don't you just call the C API from C++?
The VEdit C library has some convenient functions for building
a digitizer application.
Ben
- Original Message -
> What I want is a vector digitizer using GRASS. I read programmers
> manual and saw the code to create vector files. I want to edit
How about you explain to us what you want to achieve with your
program? If people here understand what you are trying to do,
they can give you more useful advise.
If all you want is to create some vector objects, you can use
the GRASS C API from within your C++ code. There is a programmer's
manual
How can I communicate with wx digitizer ( i mean using the wxdigit.so file)
using a c++ program.
All I need is create an map with one point from a c++ program which is
linked to _grass6_wxvdigit.so located in
/usr/local/grass-6.5.svn/etc/wxpython/vdigit.
How to access the functions of the library