[GRASS-user] First java module with native grass7 library access

Soeren Gebbert soerengebbert at googlemail.com
Sat Jun 4 08:55:07 EDT 2011


Dear Developers and Users,
JFYI i am developing an object oriented wrapper library
(vtk-grass-bridge) around the grass7 raster, vector, dbmi and raster3d
libraries based on VTK[1], which supports now the implementation of
Java based grass modules with native library access. Additionally C++
and Python are supported using the VTK wrapping approach.

I have implemented a simple module which samples multiple raster maps
based on the points of an input vector map.It shows how the
vtk-grass-bridge works with vector, raster and dbmi access. This
module is implemented in C++, Python and finally Java.

Here the links:

The vtk-grass-bridge main page
http://code.google.com/p/vtk-grass-bridge/

The Java module v_sample_rast:
http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/Modules/Java/v_sample_rast.java

The Python module v.sample.rast.py
http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/Modules/Python/v.sample.rast.py

The C++ module v.sample.rast
http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/Modules/Cxx/v.sample.rast.cxx

In case someone would like to try out the vtk-grass-bridge, here is a
short introduction how to compile the vtk-grass-bridge:
http://code.google.com/p/vtk-grass-bridge/wiki/HowToCompile

Any feedback is very welcome.

Best regards
Soeren

[1] http://www.vtk.org


More information about the grass-user mailing list