Skip to content

Commit

Permalink
Include v.to.3d in QGIS-GRASS in three different modules: v.to.3d.fix…
Browse files Browse the repository at this point in the history
…ed (fixed height for 3D vector features), v.to.3d.attr (attribute column used for height) and v.to.2d (reverse transformation)
  • Loading branch information
PedroVenancio committed Oct 22, 2015
1 parent c7eef14 commit b33ab1a
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/grass/modules/default.qgc
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@
</section>
<section label="Convert 2D vector to 3D by sampling raster">
<grass name="v.drape"/>
<grass name="v.to.2d" version_min="6.4"/>
<grass name="v.to.3d.fixed" version_min="6.4"/>
<grass name="v.to.3d.attr" version_min="6.4"/>
<grass name="v.extrude.fixed"/>
<grass name="v.extrude.attr"/>
</section>
Expand Down
Binary file added src/plugins/grass/modules/v.to.2d.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/plugins/grass/modules/v.to.2d.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/plugins/grass/modules/v.to.2d.qgm
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd">

<qgisgrassmodule label="Performs transformation of 3D vector features to 2D" module="v.to.3d">
<option key="input" typeoption="type" typemask="point,line"/>
<option key="output"/>
<field key="column" layer="input" type="integer,double" label="Column to store height values" advanced="yes"/>
<option key="layer" advanced="yes"/>
<flag key="r" answer="on" hidden="yes"/>
</qgisgrassmodule>
Binary file added src/plugins/grass/modules/v.to.3d.attr.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/plugins/grass/modules/v.to.3d.attr.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/plugins/grass/modules/v.to.3d.attr.qgm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd">

<qgisgrassmodule label="Performs transformation of 2D vector features to 3D with height based on attribute" module="v.to.3d">
<option key="input"/>
<option key="output"/>
<field key="column" layer="input" type="integer,double" label="Column with height values"/>
<option key="layer" advanced="yes"/>
</qgisgrassmodule>
Binary file added src/plugins/grass/modules/v.to.3d.fixed.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/plugins/grass/modules/v.to.3d.fixed.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/plugins/grass/modules/v.to.3d.fixed.qgm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd">

<qgisgrassmodule label="Performs transformation of 2D vector features to 3D with fixed height" module="v.to.3d">
<option key="input"/>
<option key="output"/>
<option key="height"/>
<option key="layer" advanced="yes"/>
</qgisgrassmodule>

2 comments on commit b33ab1a

@Jean-Roc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mach0 @jef-n Hi, with a release date today aren't we supposed to be in a string freeze ?

@jef-n
Copy link
Member

@jef-n jef-n commented on b33ab1a Oct 23, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't do string freezes anymore.

Please sign in to comment.