[Qgis-developer] Processing qgis:joinattributesbylocation output empty if run from console

Anita Graser anitagraser at gmx.at
Thu Sep 8 12:08:54 PDT 2016


Could you please add a test to avoid breakages like this in the future?

Thanks again,
Anita

On Thu, Sep 8, 2016 at 8:57 PM, Anita Graser <anitagraser at gmx.at> wrote:

>
>
> On Thu, Sep 8, 2016 at 7:48 PM, Arnaud Morvan <
> arnaud.morvan at camptocamp.com> wrote:
>
>>
>> Should be fixed with https://github.com/qgis/QGIS/pull/3471
>>
>> only remove double quotes around "['within']" => ['within'] and it works
>>
>> Thanks Arnaud, I'll try that.
>
> Best wishes,
> Anita
>
>
>
>
>>
>
>>
>>
>> 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 Cedexhttp://www.camptocamp.com
>>
>> Le 05/09/2016 19:25, Anita Graser a écrit :
>>
>> Hi,
>>
>> 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):
>>
>> processing.runalg("qgis:joinattributesbylocation","D:/Docume
>> nts/Geodata/qgis_sample_data/shapefiles/popp.shp","D:/Docum
>> ents/Geodata/qgis_sample_data/shapefiles/regions.shp","['
>> within']",0,0,"sum,mean,min,max,median",0,None)
>>
>> 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).
>>
>> Can anyone reproduce? I use OSGeo4W version 2.16.
>>
>> Best wishes,
>> Anita
>>
>>
>>
>>
>> _______________________________________________
>> Qgis-developer mailing listQgis-developer at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160908/38a5e414/attachment.html>


More information about the Qgis-developer mailing list