[QGIS Commit] r14752 - in trunk/qgis/src/plugins/grass: modules-6.4 modules-common

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Nov 23 09:41:39 EST 2010


Author: pcav
Date: 2010-11-23 06:41:39 -0800 (Tue, 23 Nov 2010)
New Revision: 14752

Modified:
   trunk/qgis/src/plugins/grass/modules-6.4/default.qgc
   trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.all.loc.qgm
   trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.all.qgm
   trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.loc.qgm
   trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.loc.qgm
   trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.qgm
   trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.where.qgm
Log:
Added snapping option to GRASS vector import commands

Modified: trunk/qgis/src/plugins/grass/modules-6.4/default.qgc
===================================================================
--- trunk/qgis/src/plugins/grass/modules-6.4/default.qgc	2010-11-23 13:05:31 UTC (rev 14751)
+++ trunk/qgis/src/plugins/grass/modules-6.4/default.qgc	2010-11-23 14:41:39 UTC (rev 14752)
@@ -16,7 +16,6 @@
 		</section>
 		<section label="Create new GRASS location from vector data">
 			<grass name="v.in.ogr.qgis.loc"/>
-			<grass name="v.in.ogr.qgis"/>
 		</section>
 		<section label="Print projection information from a georeferenced file and create a new location based on it">
 			<grass name="g.proj.geo.new"/>

Modified: trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.all.loc.qgm
===================================================================
--- trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.all.loc.qgm	2010-11-23 13:05:31 UTC (rev 14751)
+++ trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.all.loc.qgm	2010-11-23 14:41:39 UTC (rev 14752)
@@ -3,10 +3,11 @@
 
 <qgisgrassmodule label="Import all OGR/PostGIS vectors in a given data source and create a fitted location" module="v.in.ogr">
 	<flag key="o" answer="off" hidden="yes" />
-	<flag key="z" answer="off" hidden="no" />
-	<flag key="e" answer="off" hidden="no" />
 	<option key="dsn" label="Path to the OGR data source" />
 	<option key="output" />
 	<option key="location" />
-	<option key="type" />
+        <option key="type" advanced="yes"/>
+        <flag key="z" answer="off" hidden="no" advanced="yes"/>
+        <flag key="e" answer="off" hidden="no" advanced="yes"/>
+        <option key="snap" advanced="yes" /> 
 </qgisgrassmodule>

Modified: trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.all.qgm
===================================================================
--- trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.all.qgm	2010-11-23 13:05:31 UTC (rev 14751)
+++ trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.all.qgm	2010-11-23 14:41:39 UTC (rev 14752)
@@ -3,9 +3,10 @@
 
 <qgisgrassmodule label="Import OGR vectors in a given data source combining them in a GRASS vector" module="v.in.ogr">
 	<flag key="o" answer="on" hidden="yes" />
-	<flag key="z" answer="off" hidden="no" advanced="yes" />
-	<flag key="e" answer="off" hidden="no" advanced="yes" />
 	<file key="dsn" type="directory" label="Path to the OGR data source" />
 	<option key="output" />
-	<option key="type" advanced="yes" />
+        <option key="type" advanced="yes"/>
+        <flag key="z" answer="off" hidden="no" advanced="yes"/>
+        <flag key="e" answer="off" hidden="no" advanced="yes"/>
+        <option key="snap" advanced="yes" /> 
 </qgisgrassmodule>

Modified: trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.loc.qgm
===================================================================
--- trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.loc.qgm	2010-11-23 13:05:31 UTC (rev 14751)
+++ trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.loc.qgm	2010-11-23 14:41:39 UTC (rev 14752)
@@ -3,10 +3,11 @@
 
 <qgisgrassmodule label="Import OGR/PostGIS vector and create a fitted location" module="v.in.ogr">
 	<flag key="o" answer="off" hidden="yes" />
-	<flag key="z" answer="off" hidden="no" />
-	<flag key="e" answer="off" hidden="no" />
 	<file key="dsn" type="old" label="OGR file" />
 	<option key="output" />
 	<option key="location" />
-	<option key="type" />
+        <option key="type" advanced="yes"/>
+        <flag key="z" answer="off" hidden="no" advanced="yes"/>
+        <flag key="e" answer="off" hidden="no" advanced="yes"/>
+        <option key="snap" advanced="yes" /> 
 </qgisgrassmodule>

Modified: trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.loc.qgm
===================================================================
--- trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.loc.qgm	2010-11-23 13:05:31 UTC (rev 14751)
+++ trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.loc.qgm	2010-11-23 14:41:39 UTC (rev 14752)
@@ -3,9 +3,11 @@
 
 <qgisgrassmodule label="Import loaded vector and create a fitted location" module="v.in.ogr"> 
 	<flag key="o" answer="off" hidden="yes" />
-	<flag key="z" answer="off" hidden="no" />
-    <ogr key="dsn" layeroption="layer" whereoption="where" label="OGR vector layer" /> 
+	<ogr key="dsn" layeroption="layer" whereoption="where" label="OGR vector layer" /> 
 	<option key="output" />	
 	<option key="location" />
-	<option key="type" />
+        <option key="type" advanced="yes"/>
+        <flag key="z" answer="off" hidden="no" advanced="yes"/>
+        <flag key="e" answer="off" hidden="no" advanced="yes"/>
+        <option key="snap" advanced="yes" /> 
 </qgisgrassmodule>

Modified: trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.qgm
===================================================================
--- trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.qgm	2010-11-23 13:05:31 UTC (rev 14751)
+++ trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.qgm	2010-11-23 14:41:39 UTC (rev 14752)
@@ -3,9 +3,10 @@
 
 <qgisgrassmodule label="Import loaded vector" module="v.in.ogr"> 
 	<flag key="o" answer="on" hidden="yes" />
-	<flag key="z" answer="off" hidden="no" />
-	<flag key="e" answer="off" hidden="no" />
         <ogr key="dsn" layeroption="layer" whereoption="where" label="OGR vector layer" /> 
         <option key="output" /> 
-	<option key="type" />
+	<option key="type" advanced="yes"/>
+        <flag key="z" answer="off" hidden="no" advanced="yes" />
+        <flag key="e" answer="off" hidden="no" advanced="yes" />
+	<option key="snap" advanced="yes" />
 </qgisgrassmodule>

Modified: trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.where.qgm
===================================================================
--- trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.where.qgm	2010-11-23 13:05:31 UTC (rev 14751)
+++ trunk/qgis/src/plugins/grass/modules-common/v.in.ogr.qgis.where.qgm	2010-11-23 14:41:39 UTC (rev 14752)
@@ -3,10 +3,11 @@
 
 <qgisgrassmodule label="Import loaded vector selecting some features" module="v.in.ogr"> 
 	<flag key="o" answer="on" hidden="yes" />
-	<flag key="z" answer="off" hidden="no" />
-	<flag key="e" answer="off" hidden="no" />
         <ogr key="dsn" layeroption="layer" whereoption="where" label="OGR vector layer" />
 	<option key="where" />
         <option key="output" /> 
-	<option key="type" />
+        <option key="type" advanced="yes"/>
+        <flag key="z" answer="off" hidden="no" advanced="yes"/>
+        <flag key="e" answer="off" hidden="no" advanced="yes"/>
+        <option key="snap" advanced="yes" /> 
 </qgisgrassmodule>



More information about the QGIS-commit mailing list