[GRASS-SVN] r64004 - in grass/trunk: general/g.rename lib/manage lib/python/pygrass/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 8 10:37:47 PST 2015


Author: martinl
Date: 2015-01-08 10:37:47 -0800 (Thu, 08 Jan 2015)
New Revision: 64004

Modified:
   grass/trunk/general/g.rename/g.rename.html
   grass/trunk/lib/manage/option.c
   grass/trunk/lib/python/pygrass/gis/__init__.py
Log:
remove ascii_vector from element_list #2440


Modified: grass/trunk/general/g.rename/g.rename.html
===================================================================
--- grass/trunk/general/g.rename/g.rename.html	2015-01-08 18:19:01 UTC (rev 64003)
+++ grass/trunk/general/g.rename/g.rename.html	2015-01-08 18:37:47 UTC (rev 64004)
@@ -22,7 +22,6 @@
        raster   raster map(s) to be renamed
     raster_3d   3D raster map(s) to be renamed
        vector   vector map(s) to be renamed
- ascii_vector   ASCII vector map(s) to be renamed
        labels   paint label file(s) to be renamed
        region   region definition(s) to be renamed
         group   imagery group(s) to be renamed

Modified: grass/trunk/lib/manage/option.c
===================================================================
--- grass/trunk/lib/manage/option.c	2015-01-08 18:19:01 UTC (rev 64003)
+++ grass/trunk/lib/manage/option.c	2015-01-08 18:37:47 UTC (rev 64004)
@@ -49,8 +49,7 @@
     p->description = str;
     if (strcmp(p->key, "raster") == 0 || strcmp(p->key, "raster_3d") == 0)
 	p->guisection = _("Raster");
-    else if (strcmp(p->key, "vector") == 0 ||
-	     strcmp(p->key, "ascii_vector") == 0)
+    else if (strcmp(p->key, "vector") == 0)
 	p->guisection = _("Vector");
     else if (strcmp(p->key, "region") == 0)
 	p->guisection = _("Region");

Modified: grass/trunk/lib/python/pygrass/gis/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/gis/__init__.py	2015-01-08 18:19:01 UTC (rev 64003)
+++ grass/trunk/lib/python/pygrass/gis/__init__.py	2015-01-08 18:37:47 UTC (rev 64004)
@@ -18,7 +18,6 @@
 ETYPE = {'raster': libgis.G_ELEMENT_RASTER,
          'raster_3d': libgis.G_ELEMENT_RASTER3D,
          'vector': libgis.G_ELEMENT_VECTOR,
-         'ascii_vector': libgis.G_ELEMENT_ASCIIVECTOR,
          'label': libgis.G_ELEMENT_LABEL,
          'region': libgis.G_ELEMENT_REGION,
          'group': libgis.G_ELEMENT_GROUP}
@@ -304,7 +303,6 @@
     def glist(self, type, pattern=None):
         """Return a list of grass types like:
 
-            * 'ascii_vector',
             * 'group',
             * 'label',
             * 'raster',



More information about the grass-commit mailing list