[GRASS-dev] [GRASS-user] d.where windows error( d.where not implemented in the WxGui)

Hi Swapan.

Firstly, I put grass-dev into CC. We should switch the thread to
grass-dev because this is dev question.

Secondly, I have no idea how d.where should work, so I'm not able to
help much. I think that you should specify what you expect from
d.where in wxGUI. Also compare your ideas to exiting wxGUI functions,
e.g. there is a right-click context menu with "Copy coordinates to
clipboard" function.

Anyway, places in code to start:
lmgr/frame.py: RunDisplayCmd
mapdisp/mapwindow.py: OnCopyCoordinates
mapdisp/mapwindow.py: RegisterMouseEventHandler
(and its usage in gui_core/gselect.py)

Vaclav

On 27 November 2012 08:14, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

Dear All,

Please see the Windows error for d.where as given below--

Any body can help me to implement it for WxGui.

Thanks & Regards,

Swapan

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hi,

2012/11/27 SWAPAN GHOSH <swap.ghsh@gmail.com>:

Actually I would like to redirect the output of d.where to another command
like r.what

in wxGUI you can use 'Query raster map' tool from Map Display.

In GRASS 7 the GUI dialog of commands, which have coordinates as
input, allows also to pick up the coordinates interactively (see the
screenshot [1]). This functionality has been implemented by Stepan
Turek as one of the results of the GSoC 2012 project [2].

Martin

[1] http://grasswiki.osgeo.org/grass-wiki/images/Wxgui-r-what-grass7.png
[2] http://grasswiki.osgeo.org/wiki/GRASS_GSoC_2012_WxGUI_front_end_for_vector_analysis_modules

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa