[GRASS-SVN] r54244 - grass/trunk/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 7 15:54:43 PST 2012


Author: martinl
Date: 2012-12-07 15:54:42 -0800 (Fri, 07 Dec 2012)
New Revision: 54244

Modified:
   grass/trunk/vector/v.in.ogr/main.c
Log:
v.in.ogr: message cosmetics
          remove not used variable


Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c	2012-12-07 23:37:28 UTC (rev 54243)
+++ grass/trunk/vector/v.in.ogr/main.c	2012-12-07 23:54:42 UTC (rev 54244)
@@ -95,7 +95,6 @@
     OGRSpatialReferenceH Ogr_projection;
     OGREnvelope oExt;
     int have_ogr_extent = 0;
-    OGRwkbGeometryType Ogr_geom_type; 
 
     int OFTIntegerListlength;
 
@@ -343,8 +342,7 @@
     for (i = 0; i < navailable_layers; i++) {
 	Ogr_layer = OGR_DS_GetLayer(Ogr_ds, i);
 	Ogr_featuredefn = OGR_L_GetLayerDefn(Ogr_layer);
-	Ogr_geom_type = OGR_FD_GetGeomType(Ogr_featuredefn); 
-	
+        
 	available_layer_names[i] =
 	    G_store((char *)OGR_FD_GetName(Ogr_featuredefn));
 
@@ -843,7 +841,7 @@
 		    G_str_to_lower(Ogr_fieldname);
 
 		if (strcmp(OGR_Fld_GetNameRef(Ogr_field), Ogr_fieldname) != 0) {
-		    G_warning(_("Column name changed: '%s' -> '%s'"),
+		    G_important_message(_("Column name <%s> renamed to <%s>"),
 			      OGR_Fld_GetNameRef(Ogr_field), Ogr_fieldname);
 		}
 



More information about the grass-commit mailing list