[GRASSLIST:4767] problem with Vect_set_constraint_region

Allard, Yannick (EXP) yannick.allard at lmco.com
Thu Oct 17 18:43:13 EDT 2002


Hi everyone.

I'm trying to use the function Vect_set_constraint_region with Grass JNI.
However, I have the following error.

ERROR: System not initialized. Programmer forgot to call G_gisinit() 

This error is thrown by G__check_gisinit() which is call in G__open.... 

Somehow, the variable "initialized" seems to be set to 0...

The system is initialized when call the constructor of libgis : libgis mmm =
new libgis( a, b, c, d );, this function calls the G_gisinit and set the
variable "initialized" to 1...

All the other functions are working well except that one. Does anybody knows
why...

thanks in advance

Yannick Allard
Ph.D student, Universite de Sherbrooke

R&D senior associate member
Lockheed Martin Canada
6111 Royalmount, Montreal
(514) 340-8310 #7776



More information about the grass-user mailing list