<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 8, 2016 at 7:48 PM, Arnaud Morvan <span dir="ltr"><<a href="mailto:arnaud.morvan@camptocamp.com" target="_blank">arnaud.morvan@camptocamp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <br>
    Should be fixed with <a href="https://github.com/qgis/QGIS/pull/3471" target="_blank">https://github.com/qgis/QGIS/<wbr>pull/3471</a><br>
    <br>
    only remove double quotes around "['within']" => ['within'] and
    it works</div></blockquote><div><div class="gmail_default" style="font-size:small;display:inline">​</div></div><div><div class="gmail_default" style="display:inline">Thanks Arnaud, I'll try that.</div></div><div><div class="gmail_default" style="display:inline"><br></div></div><div><div class="gmail_default" style="display:inline">Best wishes,</div></div><div><div class="gmail_default" style="display:inline">Anita</div></div><div><div class="gmail_default" style="display:inline"><br></div></div><div><div class="gmail_default" style="display:inline"><br></div></div><div><div class="gmail_default" style="display:inline"><br></div></div><div><div class="gmail_default" style="display:inline"><br></div></div><div><div class="gmail_default" style="display:inline">​</div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class=""><br>
    <br>
    <pre cols="72">Arnaud Morvan
Ingénieur logiciel
Tél: <a href="tel:%2B33%20%280%294%2058%2048%2020%2032" value="+33458482032" target="_blank">+33 (0)4 58 48 20 32</a>

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
<a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a></pre>
    <div>Le 05/09/2016 19:25, Anita Graser a
      écrit :<br>
    </div>
    </span><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div style="font-size:small">Hi,</div>
        <div style="font-size:small"><br>
        </div>
        <div>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><br>
        </div>
        <div>processing.runalg("qgis:<wbr>joinattributesbylocation","D:/<wbr>Documents/Geodata/qgis_sample_<wbr>data/shapefiles/popp.shp","D:/<wbr>Documents/Geodata/qgis_sample_<wbr>data/shapefiles/regions.shp","<wbr>['within']",0,0,"sum,mean,min,<wbr>max,median",0,None)<br>
        </div>
        <div><br>
        </div>
        <div>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><br>
        </div>
        <div>Can anyone reproduce? I use OSGeo4W
          version 2.16.</div>
        <div><br>
        </div>
        <div>Best wishes,</div>
        <div>Anita</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><span class=""><pre>______________________________<wbr>_________________
Qgis-developer mailing list
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></pre>
    </span></blockquote>
    <br>
  </div>

<br>______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br></blockquote></div><br></div></div>