1

I am trying to make a model in the processing modeler of QGIS.
I need a step where a layer with polygons is dissolved based on two fields.

At the moment I do this manually. When I open the dissolve algorithm i can select the two fields.

In the modelbuilder version I get a drop down menu or the option to enter the fields. If I try one field, all works well, If I try two fields, the algorithm dissolves my polygonlayer as if I didn't enter any field to dissolve on.

I am almost sure there is something wrong in the notation of how I give in the two field. It is not mentioned in the help document. I must have tried any combination I can think of, but not the correct one.

Does anybody have the answer?

enter image description here

0

The correct syntax is

DRVAL1;DRVAL2

Source: https://lists.osgeo.org/pipermail/qgis-developer/2019-May/057263.html

  • Thank you, I feel like an idiot – CaptainAhab Feb 14 at 19:02
  • @CaptainAhab Don't! I couldn't figure it out myself either – underdark Feb 15 at 15:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.