[QGIS-trac] Re: [Quantum GIS] #1680: New GRASS shell does not
display command gui
Quantum GIS
qgis at qgis.org
Wed Jul 15 12:16:09 EDT 2009
#1680: New GRASS shell does not display command gui
-----------------------------------------------------+----------------------
Reporter: cgsbob | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone:
Component: GRASS | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: All
Must_fix: No | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by cgsbob):
Replying to [comment:6 pcav]:
> This is not what grass-qgis plugin was made for: the idea here is to
present the user with a simplified set of options. In case you need more
flexibility, we can always write a more complex module, with all the
parameters to be filled (or with pre-set options).
The grass-qgis plugin is also for the more advanced qgis user. Why not
have an Advance user button that would enable the grass gui? All it takes
to enable the grass gui is a little extra code that just sets a few grass
environment variables:
{{{
export GRASS_PYTHON=python
export GRASS_TCLSH=tclsh
export GRASS_WISH=wish
unset GRASS_UI_TERM
}}}
> Having the full GUI of grass does not make sense here: if you want to
use the grass GUI you better use grass directly. Furthermore, in this case
QGIS would also depend on a whole lot of other software, which would make
packaging (especially for windows) much more difficult.
> I suggest you to fill wishes for the commands for which you want more
options available, and we can try to write them.
Since most users will have this extra software (especially if you are a
linux user or OSGEO4W users who have also loaded grass), I don't think it
should make packaging difficult. I could imagine that logic can be added
to test for these software component. If they exist, the grass gui should
be enabled (see the little code block above).
In any case, I'll add the code block above to the wiki for those advanced
qgis users :)
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1680#comment:7>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list