[GRASS-dev] element name labels --> label?

Markus Neteler neteler at osgeo.org
Sat Jan 10 04:19:45 PST 2015


can we rename for consistency "labels" to "label"?
The element name uses the plural form.

               raster: raster map(s)
               raster_3d: 3D raster map(s)
               vector: vector map(s)
               labels: paint label file(s)  <<--- why s?
               region: region definition(s)
               group: imagery group(s)

In C, there is G_ELEMENT_LABEL (not G_ELEMENT_LABELS) used in include/gis.h.

If no objections, I'll change that and also sync here:
./lib/python/pygrass/gis/__init__.py:         'labels': libgis.G_ELEMENT_LABEL,


More information about the grass-dev mailing list