[GRASS-dev] [GRASS GIS] #2042: wxgui: no more menu access to r.in.gdal / v.in.ogr

GRASS GIS trac at osgeo.org
Fri Dec 4 04:27:36 PST 2015


#2042: wxgui: no more menu access to r.in.gdal / v.in.ogr
--------------------------+--------------------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.0.3
 Component:  wxGUI        |    Version:  svn-trunk
Resolution:               |   Keywords:  r.in.gdal, v.in.ogr, gui
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+--------------------------------------

Comment (by mlennert):

 Replying to [comment:28 martinl]:
 > Replying to [comment:27 mlennert]:
 >
 > > Could you explain where this dialog comes from ? AFAIU, it is not the
 automatically created dialog based on the parser, or ? So even the --ui
 doesn't even give the normal interface anymore ?
 >
 > the dialog is still autogenerated, the only difference is that for
 gisprompt 'datasource' is used GDALSelect widget (1), so nothing special
 in forms.py.

 Beautiful ! Great job, thanks !

 > BTW, by normal interface do you mean just textctrl? It's was not normal,
 it was just not designed at all. You needed to type full path to the file,
 directory, or connection string manually. I don't feel it as normal in the
 sense of (interactive) GUI.

 +1

 "Normal" meant "the one I'm used to". I hadn't followed your changes to
 forms.py and suddenly got the feeling that by some automagic, typing
 v.in.ogr somehow circumvented the normal GUI creation process. The current
 implementation is much better.

 I agree, however, that this needs to be improved. Notably, as you mention,
 you cannot import in a loop, but you can select a directory of shapefiles
 as datasource and then select several layers in that directory and import
 those. They are then imported as one vector map (with name of the first
 layer if you don't set an output name), containing the content of all
 shapefiles selected in separate layers in that map. Potentially quite
 confusing for the user.

 Maybe the directory option should be desactivated while this isn't solved,
 or at least a big warning printed somewhere, unless you are working on
 fixing that issue in a near future ? When that is done, we won't even need
 what I called the "wizard" anymore, or ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2042#comment:29>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list