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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 25 13:23:28 PDT 2017


Author: mmetz
Date: 2017-09-25 13:23:28 -0700 (Mon, 25 Sep 2017)
New Revision: 71508

Modified:
   grass/trunk/vector/v.in.ogr/geom.c
Log:
v.in.ogr: change error to warning for unsupported geometries

Modified: grass/trunk/vector/v.in.ogr/geom.c
===================================================================
--- grass/trunk/vector/v.in.ogr/geom.c	2017-09-25 17:23:18 UTC (rev 71507)
+++ grass/trunk/vector/v.in.ogr/geom.c	2017-09-25 20:23:28 UTC (rev 71508)
@@ -455,7 +455,7 @@
     }
 
     else {
-	G_fatal_error(_("Unknown geometry type"));
+	G_warning(_("Skipping unsupported geometry type '%s'"), OGR_G_GetGeometryName(hGeom));
     }
 
     return 0;



More information about the grass-commit mailing list