Skip to content

Commit

Permalink
Added snapping option to GRASS vector import commands
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14752 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
pcav committed Nov 23, 2010
1 parent 1e32db3 commit 35f2ce9
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 19 deletions.
1 change: 0 additions & 1 deletion src/plugins/grass/modules-6.4/default.qgc
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
7 changes: 4 additions & 3 deletions src/plugins/grass/modules-common/v.in.ogr.all.loc.qgm
Original file line number Diff line number Diff line change
Expand Up @@ -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>
7 changes: 4 additions & 3 deletions src/plugins/grass/modules-common/v.in.ogr.all.qgm
Original file line number Diff line number Diff line change
Expand Up @@ -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>
7 changes: 4 additions & 3 deletions src/plugins/grass/modules-common/v.in.ogr.loc.qgm
Original file line number Diff line number Diff line change
Expand Up @@ -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>
8 changes: 5 additions & 3 deletions src/plugins/grass/modules-common/v.in.ogr.qgis.loc.qgm
Original file line number Diff line number Diff line change
Expand Up @@ -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>
7 changes: 4 additions & 3 deletions src/plugins/grass/modules-common/v.in.ogr.qgis.qgm
Original file line number Diff line number Diff line change
Expand Up @@ -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>
7 changes: 4 additions & 3 deletions src/plugins/grass/modules-common/v.in.ogr.qgis.where.qgm
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 35f2ce9

Please sign in to comment.