Hi, 2009/10/18 Markus Metz <[email protected]>:
[...] >> The second >> approach would be to add new functions ending by '2', e.g. >> Vect_cidx_find_all2(.., const char *layer, ...), etc. >> >> What do you think? From my point of view would be better just change >> prototypes without adding new and new functions which just takes layer >> as a string... >> > > I think using new Vect_get_field2() in modules is sufficient to support > layer names. When copying a vector map or only dblinks, layer names are > already automatically copied as well. It's more like making layer names > available to users through a modified layer input option that can take both > numbers and names? right, probably Vect_get_field_number() (added in r39620) would be sufficient solution. Martin -- Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
