Skip to content
Permalink
Browse files

[GRASS] use plain text for r/.proj, fixes partially #2575

  • Loading branch information
blazek committed Feb 15, 2016
1 parent 6f2d11b commit 8af571ae06e4578b051bae5ea49eb6067ef75b69
@@ -350,7 +350,7 @@
<grass name="v.extrude.fixed"/>
<grass name="v.extrude.attr"/>
</section>
<section label="Reproject vector from another Location">
<section label="Transform or reproject vector from another Location">
<grass name="v.transform"/>
<grass name="v.proj"/>
</section>
@@ -2,11 +2,11 @@
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd">

<qgisgrassmodule label="Re-project raster from a location to the current location" module="r.proj">
<option key="input" />
<option key="mapset"/>
<option key="location"/>
<option key="mapset"/>
<option key="input" widget="text" />
<option key="method" />
<option key="resolution" />
<option key="output" label="Name for the output raster map (optional)"/>
<option key="dbase" label="Path to GRASS database of input location (optional)"/>
<option key="dbase" label="Path to GRASS database of input location (optional)"/>
</qgisgrassmodule>
@@ -2,9 +2,9 @@
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd">

<qgisgrassmodule label="Projection conversion of vector" module="v.proj">
<option key="input" />
<option key="mapset" />
<option key="location" />
<option key="mapset" />
<option key="input" widget="text" />
<option key="output" label="Name for output vector map (optional)" />
<option key="dbase" label="Path to GRASS database of input location (optional)" />
<option key="dbase" label="Path to GRASS database of input location (optional)" />
</qgisgrassmodule>
@@ -200,10 +200,12 @@ QgsGrassModuleStandardOptions::QgsGrassModuleStandardOptions(
{
QString element = promptElem.attribute( "element" );
QString age = promptElem.attribute( "age" );

//QgsDebugMsg("element = " + element + " age = " + age);
if ( age == "old" && ( element == "vector" || element == "cell" ||
element == "strds" || element == "stvds" ||
element == "str3ds" || element == "stds" ) )
element == "str3ds" || element == "stds" )
&& confDomElement.attribute( "widget" ) != "text" )
{
QgsGrassModuleInput *mi = new QgsGrassModuleInput(
mModule, this, key, confDomElement, descDocElem, gnode, mDirect, this );

0 comments on commit 8af571a

Please sign in to comment.
You can’t perform that action at this time.