[GRASS-SVN] r55587 - grass/branches/releasebranch_6_4/scripts/db.out.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 2 05:01:00 PDT 2013
Author: neteler
Date: 2013-04-02 05:01:00 -0700 (Tue, 02 Apr 2013)
New Revision: 55587
Modified:
grass/branches/releasebranch_6_4/scripts/db.out.ogr/db.out.ogr
Log:
db.out.ogr: also support attribute export in case of line and area vectors
Modified: grass/branches/releasebranch_6_4/scripts/db.out.ogr/db.out.ogr
===================================================================
--- grass/branches/releasebranch_6_4/scripts/db.out.ogr/db.out.ogr 2013-04-02 11:55:30 UTC (rev 55586)
+++ grass/branches/releasebranch_6_4/scripts/db.out.ogr/db.out.ogr 2013-04-02 12:01:00 UTC (rev 55587)
@@ -100,11 +100,11 @@
fi
if [ -n "$OLAYER" ] ; then
- v.out.ogr input="$GIS_OPT_INPUT" dsn="$GIS_OPT_DSN" \
- "$OLAYER" format="$GIS_OPT_FORMAT" type=point --quiet
+ v.out.ogr -c input="$GIS_OPT_INPUT" dsn="$GIS_OPT_DSN" \
+ "$OLAYER" format="$GIS_OPT_FORMAT" type=point,line,area --quiet
else
- v.out.ogr input="$GIS_OPT_INPUT" dsn="$GIS_OPT_DSN" \
- format="$GIS_OPT_FORMAT" type=point --quiet
+ v.out.ogr -c input="$GIS_OPT_INPUT" dsn="$GIS_OPT_DSN" \
+ format="$GIS_OPT_FORMAT" type=point,line,area --quiet
fi
if [ $? -ne 0 ] ; then
More information about the grass-commit
mailing list