[GRASS-SVN] r47963 - in grass/trunk: lib/vector/Vlib
vector/v.out.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 29 16:29:54 EDT 2011
Author: martinl
Date: 2011-08-29 13:29:53 -0700 (Mon, 29 Aug 2011)
New Revision: 47963
Modified:
grass/trunk/lib/vector/Vlib/write_nat.c
grass/trunk/vector/v.out.ogr/args.c
Log:
v.out.ogr: do not default format (Shapefile)
Modified: grass/trunk/lib/vector/Vlib/write_nat.c
===================================================================
--- grass/trunk/lib/vector/Vlib/write_nat.c 2011-08-29 20:10:17 UTC (rev 47962)
+++ grass/trunk/lib/vector/Vlib/write_nat.c 2011-08-29 20:29:53 UTC (rev 47963)
@@ -101,7 +101,7 @@
}
/*!
- \brief Add line to topo file
+ \brief Add line to topo file (internal use only)
Update areas. Areas are modified if:
@@ -130,9 +130,14 @@
- attach new isle to area outside
Note that 1) and 2) is done by the same code.
+
+ \param Map pointer to Map_info structure
+ \param line line id
+ \param points pointer to line_pnts structure (feature's geometry)
+ \param cats pointer to line_cats structure (feature's categories)
*/
static void V2__add_line_to_topo_nat(struct Map_info *Map, int line,
- const struct line_pnts *points, const struct line_cats *cats)
+ const struct line_pnts *points, const struct line_cats *cats)
{
int first, s, n, i;
int type, node, next_line, area, side, sel_area, new_area[2];
Modified: grass/trunk/vector/v.out.ogr/args.c
===================================================================
--- grass/trunk/vector/v.out.ogr/args.c 2011-08-29 20:10:17 UTC (rev 47962)
+++ grass/trunk/vector/v.out.ogr/args.c 2011-08-29 20:29:53 UTC (rev 47963)
@@ -44,9 +44,8 @@
options->format->type = TYPE_STRING;
options->format->required = YES;
options->format->multiple = NO;
- options->format->answer = "ESRI_Shapefile";
options->format->options = OGR_list_write_drivers();
- options->format->description = _("Vector data format to write");
+ options->format->description = _("Data format to write");
options->dsco = G_define_option();
options->dsco->key = "dsco";
More information about the grass-commit
mailing list