[GRASS-dev] GUI for v.in.ogr

Markus Metz markus.metz.giswork at gmail.com
Fri Jul 20 05:37:58 PDT 2012


On Fri, Jul 20, 2012 at 2:20 PM, Markus Neteler <neteler at osgeo.org> wrote:
> On Fri, Jul 20, 2012 at 11:22 AM, Johannes Radinger <JRadinger at gmx.at> wrote:
>> Hi,
>>> > Hi,
>>> >
>>> > I don't know if this behavior is intended or not, I just
>>> > wanted to inform:
>>> > Using the GUI and selecting File -> Import vector data
>>> > -> Common Import Formats (v.in.ogr)
> ...
>> I was just a little confused as I wasn't aware that there are two different types of windows...Maybe just the "(v.in.ogr)" in the line "Common Import Formats" is misleading and suggesting getting the autogenerated window of the v.in.ogr module.
>
> I agree but it is auto-generated in the menu. I don't know how this could
> be selectively suppressed.

In the menu this can be selectively suppressed/changed by creating a
dedicated handler, here OnImportOgrLayers instead of OnMenuCmd. There
are a number of modules where the menu will call a custom GUI
different from the autogenerated GUI, e.g. g.mapsets, r.mapcalc,
i.group, v.clean.

Markus M


More information about the grass-dev mailing list