Paolo wrote: > The current command for v.centroid in the grass > qgis plugin is: > > <qgisgrassmodule label="Add missing centroids to closed > boundaries" module="v.centroids"> > <option key="input" layermask="0" typemask="area"/> > <option key="output"/> > <option key="option" answer="add" hidden="yes"/> > <option key="cat" answer="1"/> > <option key="step" answer="1"/> > </qgisgrassmodule> > > > Am I right saying that it should be > typemask="boundary" > ?
I'm not exactly sure what typemask= does, but by looking at qgis/src/plugins/grass/qgsgrassmodule.cpp it seems that it can only be one of point,line,area. note the boundaries themselves are not acted upon, and v.centroids is a simple wrapper around v.category option=add type=area > label="Add missing centroids to closed > boundaries" might be expanded with "... to create areas" Hamish _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev