<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Should be fixed with <a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/pull/3471">https://github.com/qgis/QGIS/pull/3471</a><br>
    <br>
    only remove double quotes around "['within']" => ['within'] and
    it works<br>
    <br>
    <pre class="moz-signature" cols="72">Arnaud Morvan
Ingénieur logiciel
Tél: +33 (0)4 58 48 20 32

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
<a class="moz-txt-link-freetext" href="http://www.camptocamp.com">http://www.camptocamp.com</a></pre>
    <div class="moz-cite-prefix">Le 05/09/2016 19:25, Anita Graser a
      écrit :<br>
    </div>
    <blockquote
cite="mid:CAFFV8FiexsyQxsBz902iF-41N6Ncd1HnFHENsg_cBrdzqQTxSA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:small">Hi,</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default">qgis:joinattributesbylocation seems
          to produce correct output when run from GUI but empty output
          when called from the console (just copied the command from
          history):<br>
        </div>
        <div class="gmail_default"><br>
        </div>
        <div class="gmail_default">processing.runalg("qgis:joinattributesbylocation","D:/Documents/Geodata/qgis_sample_data/shapefiles/popp.shp","D:/Documents/Geodata/qgis_sample_data/shapefiles/regions.shp","['within']",0,0,"sum,mean,min,max,median",0,None)<br>
        </div>
        <div class="gmail_default"><br>
        </div>
        <div class="gmail_default">It also runs much faster on the
          command line, indicating that it's not actually processing the
          data (because it's much slower through the GUI).</div>
        <div class="gmail_default"><br>
        </div>
        <div class="gmail_default">Can anyone reproduce? I use OSGeo4W
          version 2.16.</div>
        <div class="gmail_default"><br>
        </div>
        <div class="gmail_default">Best wishes,</div>
        <div class="gmail_default">Anita</div>
        <div class="gmail_default"><br>
        </div>
        <div class="gmail_default"><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>