Works here just fine.

GRASS 6.5 r44853
~AMD64 2.6.36
Python 2.6.6 [GCC 4.4.4]

Maris.


2011/1/4, Martin Landa <[email protected]>:
> Hi,
>
> 2011/1/4 Maris Nartiss <[email protected]>:
>> This one should work. One has to be really carefull and track when
>
> No, it's not working.
>
>> map = Map_info()
>>
>> Vect_open_update(byref(map), "vector", "mapset")
>
> btw, if you need a pointer (to reuse it), it's better to use pointer()
> instead of byref()
>
> map_obj = Map_info()
> map = pointer(map_obj)
>
> Vect_open_update(map, "vector", "mapset")
>
> Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to