2011/1/4 Martin Landa <[email protected]>: > something like? > > map_obj = Map_info() > map = pointer(map_obj) > > Vect_open_update(map, "a", "") > > p = Vect_new_line_struct() > c = Vect_new_cats_struct() > > Vect_append_point(p, 1, 1, 0) > Vect_cat_set(c, 1, 1) > print p.contents.n_points > > Vect_write_line(map, GV_POINT, p, c) > > Vect_build(map) > Vect_close(map) > > No success, btw
seems to be problem with LFS. The script works when GRASS compiled without LFS. Can anyone confirm it? 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
