[GRASS-dev] wxGUI Raster Digitizer

On Tue, Dec 18, 2012 at 2:34 PM, Mohammed Rashad
<mohammedrashadkm@gmail.com> wrote:

Hi All,

I had committed the first version wxGUI Raster Digitizer[1]. Adding/removing
Circles is not available for the moment. There is a lot more to do yet. But
It will be great to have some test results/suggestion/feedback.

[1]
http://trac.osgeo.org/grass/browser/grass-addons/grass7/gui/wxpython/wx.rdigit

Interesting - how to test it?

Markus

from grass-addons/grass7/gui/wxpython/wx.rdigit

python frame.py

sorry. No readme my fault :slight_smile:

···

On Thu, Dec 20, 2012 at 1:30 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Tue, Dec 18, 2012 at 2:34 PM, Mohammed Rashad
<mohammedrashadkm@gmail.com> wrote:

Hi All,

I had committed the first version wxGUI Raster Digitizer[1]. Adding/removing
Circles is not available for the moment. There is a lot more to do yet. But
It will be great to have some test results/suggestion/feedback.

[1]
http://trac.osgeo.org/grass/browser/grass-addons/grass7/gui/wxpython/wx.rdigit

Interesting - how to test it?

Markus

Regards,
Rashad

On Thu, Dec 20, 2012 at 11:18 AM, Mohammed Rashad
<mohammedrashadkm@gmail.com> wrote:

from grass-addons/grass7/gui/wxpython/wx.rdigit

python frame.py

Ok, it starts. I can digitize, nice. See screenshot.

Some observations:
* the right mouse button does not stop the digitizer as I would expect

* The Quit eats the digitized lines rather than opening the save
  dialog (if saving still needed) and quitting.

* Perhaps have the digitizing tools always "on" and remove the button
  for switching them on?

Best
Markus

(attachments)

wx_rdigit.png

Hi Markus,

From your screenshot What I understand is you loaded a raster map but did not created or selected the map to be saved. Output map seems to be empy. I had updated svn for check if map is available. Now wx.rdigit shows error message if no map is selected

Also All your Observations are considered and module is modified accordingly

Please update source and try again.

PS: There is a feature not implemented in it which asks for category id and num for each digitized object created. I will implement it after current testing. Because there are some discussion regarding no need for a digitizer since the same can be acheived from v.digit and v.to.rast

···

On Thu, Dec 20, 2012 at 4:04 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Thu, Dec 20, 2012 at 11:18 AM, Mohammed Rashad
<mohammedrashadkm@gmail.com> wrote:

from grass-addons/grass7/gui/wxpython/wx.rdigit

python frame.py

Ok, it starts. I can digitize, nice. See screenshot.

Some observations:

  • the right mouse button does not stop the digitizer as I would expect

  • The Quit eats the digitized lines rather than opening the save
    dialog (if saving still needed) and quitting.

  • Perhaps have the digitizing tools always “on” and remove the button
    for switching them on?

Best
Markus

Regards,
Rashad