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

Arnaud Morvan arnaud.morvan at camptocamp.com
Thu Sep 8 02:35:17 PDT 2016


Hello Anita,

Yes, I can reproduce, with 2.16 on Ubuntu.

As it is probably me that have injected this bug, I will try to fix it.

I will have to take a look at ExtractByLocation and SelectByLocation too.

Regards

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
http://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:/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)
>
> 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 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/e56bfca0/attachment-0001.html>


More information about the Qgis-developer mailing list