Index: vector/v.out.ogr/args.c =================================================================== --- vector/v.out.ogr/args.c (revision 71566) +++ vector/v.out.ogr/args.c (working copy) @@ -32,7 +32,7 @@ options->format->type = TYPE_STRING; options->format->required = YES; options->format->multiple = NO; - options->format->answer = "ESRI_Shapefile"; + options->format->answer = "GPKG"; options->format->options = OGR_list_write_drivers(); options->format->description = _("Data format to write"); Index: vector/v.out.ogr/main.c =================================================================== --- vector/v.out.ogr/main.c (revision 71566) +++ vector/v.out.ogr/main.c (working copy) @@ -85,7 +85,7 @@ module->label = _("Exports a vector map layer to any of the supported OGR vector formats."); - module->description = _("By default a vector map layer is exported to Esri Shapefile format."); + module->description = _("By default a vector map layer is exported to OGC GeoPackage format."); module->overwrite = TRUE; /* parse & read options */ Index: vector/v.out.ogr/v.out.ogr.html =================================================================== --- vector/v.out.ogr/v.out.ogr.html (revision 71566) +++ vector/v.out.ogr/v.out.ogr.html (working copy) @@ -2,7 +2,7 @@ v.out.ogr converts GRASS vector map layer to any of the supported OGR vector formats -(like a Esri Shapefile, SpatiaLite or GML). +(OGC GeoPackage, Esri Shapefile, SpatiaLite or GML).
OGR (Simple Features Library) is part of the @@ -13,6 +13,7 @@ The OGR library supports many various formats including:
Export lines from GRASS vector map to OGC GeoPackage format:
+ ++v.out.ogr input=lines type=line output=lines.gpkg +
+Export areas from GRASS vector map to OGC GeoPackage format, converting +islands (holes) to filled polygons: +
+ ++v.out.ogr -c input=areas_islands type=area output=areas_islands.gpkg +
+Export mixed geometry type GRASS vector map to OGC GeoPackage format: +
+ ++v.out.ogr input=generic_vector output=mixed_geometry.gpkg +
-v.out.ogr input=lines type=line output=lines.shp +v.out.ogr format=ESRI_Shapefile input=lines type=line output=lines.shp
@@ -75,7 +101,7 @@ islands (holes) to filled polygons:
-v.out.ogr -c input=areas_islands type=area output=areas_islands.shp +v.out.ogr -c format=ESRI_Shapefile input=areas_islands type=area output=areas_islands.shp
@@ -82,7 +108,7 @@ Export 3D lines from GRASS vector map to Shapefile format:
-v.out.ogr input=lines_3d type=line output=lines_3d.shp lco="SHPT=ARCZ" +v.out.ogr format=ESRI_Shapefile input=lines_3d type=line output=lines_3d.shp lco="SHPT=ARCZ"
@@ -89,13 +115,13 @@ Export 3D points (e.g., Lidar points) from GRASS vector map to Shapefile format
-v.out.ogr points_3d type=point output=points_3d.shp lco="SHPT=POINTZ" +v.out.ogr format=ESRI_Shapefile points_3d type=point output=points_3d.shp lco="SHPT=POINTZ"
Export 3D faces from GRASS vector map to Shapefile format:
-v.out.ogr input=objects_3d type=face output=faces_3d.shp lco="SHPT=POLYGONZ" +v.out.ogr format=ESRI_Shapefile input=objects_3d type=face output=faces_3d.shp lco="SHPT=POLYGONZ"
@@ -102,7 +128,7 @@ Export 3D faces from GRASS vector map to Shapefile format, automatic 3D setting:
-v.out.ogr input=objects_3d type=face output=faces_3d.shp" +v.out.ogr format=ESRI_Shapefile input=objects_3d type=face output=faces_3d.shp"