[GRASS-SVN] r71878 - grass/trunk/vector/v.out.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 1 02:10:59 PST 2017
Author: mmetz
Date: 2017-12-01 02:10:59 -0800 (Fri, 01 Dec 2017)
New Revision: 71878
Modified:
grass/trunk/vector/v.out.ogr/main.c
Log:
v.out.ogr: white space to underscore
Modified: grass/trunk/vector/v.out.ogr/main.c
===================================================================
--- grass/trunk/vector/v.out.ogr/main.c 2017-11-30 14:11:10 UTC (rev 71877)
+++ grass/trunk/vector/v.out.ogr/main.c 2017-12-01 10:10:59 UTC (rev 71878)
@@ -779,13 +779,15 @@
outer_ring_ccw = 1;
/* some formats expect outer rings to be CW and inner rings to be CCW:
* ESRI Shapefile, PGeo, FileGDB, OpenFileGDB (all ESRI) */
- if (strcmp(options.format->answer, "ESRI Shapefile") == 0 ||
+ if (strcmp(options.format->answer, "ESRI_Shapefile") == 0 ||
strcmp(options.format->answer, "PGeo") == 0 ||
strcmp(options.format->answer, "FileGDB") == 0 ||
strcmp(options.format->answer, "OpenFileGDB") == 0) {
outer_ring_ccw = 0;
}
-
+ G_debug(1, "Format \"%s\", outer ring %s",
+ options.format->answer, (outer_ring_ccw ? "CCW" : "CW"));
+
/* Lines (run always to count features of different type) */
if (otype & (GV_POINTS | GV_LINES | GV_KERNEL | GV_FACE)) {
G_message(n_("Exporting %d feature...",
More information about the grass-commit
mailing list