[Qgis-user] manual classification tool?

Régis Haubourg regis.haubourg at gmail.com
Thu May 28 02:56:51 PDT 2020


Le jeu. 28 mai 2020 à 11:50, Raymond Nijssen <r.nijssen at terglobo.nl> a
écrit :

> Ah, I found it! (With a little help from Richard..)
>
> There is a widget type "Hidden" that prevents showing up on the form.
>
> Still, if anyone knows of a way that also not needs to close the form
> with an OK, could save me 17k extra mouse clicks. Using actions maybe?
>

Hi, I would try to add a python behavior to the form that will trigger the
OK button just for you when you change the value of your edit widget. I
think this works.


>
> Thanks,
> Raymond
>
>
> On 28-05-2020 10:31, Raymond Nijssen wrote:
> > Hi Alex,
> >
> > Thanks, that is pretty close to what I'm looking for! I didn't manage to
> > only show the widget for the field I want to edit though, so I'm seeing
> > the entire form. I tried to find it in the Form and Fields properties
> > and I tried to use hidden fields.
> >
> > Ray
> >
> > On 28-05-2020 09:24, Alexandre Neto wrote:
> >> Hi Raymond,
> >>
> >> Wouldn't the identify tool with auto open form with only the class
> >> field widget available do that? Also, select tool with multi edit form
> >> to classify several buildings in one go would save lots of clicks.
> >>
> >> Alex
> >>
> >> A quinta, 28/05/2020, 07:38, Raymond Nijssen <r.nijssen at terglobo.nl
> >> <mailto:r.nijssen at terglobo.nl>> escreveu:
> >>
> >>     Does anyone know if there is a tool in QGIS to quickly classify
> >>     features
> >>     manually?
> >>
> >>     I have a layer with 17,000 buildings, all need to be set to 1 of 5
> >>     values. I'm thinking about making a (quick and dirty) plugin that:
> >>
> >>     - On clicking the building shows a popup menu with the 5 choices
> >>     - Clicking the choice would update the value and change the color
> >>     (redraw)
> >>
> >>     Every click less really counts here. I already set up a form
> >> widget but
> >>     also having the location of the menu near the building polygon is
> way
> >>     more efficient. (I mean, no need to cross the screen with your mouse
> >>     cursor.)
> >>
> >>     Thanks!
> >>
> >>     Raymond
> >>     _______________________________________________
> >>     Qgis-user mailing list
> >>     Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
> >>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> >>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> >>
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200528/e7117a59/attachment-0001.html>


More information about the Qgis-user mailing list