[Qgis-user] problems running processing.runalg('qgis:voronoipolygons', postgis-layer), processing.runalg('qgis:importintopostgis', ...)

2015-05-07 Thread Marco Lechner - FOSSGIS e.V.

Hi,

1. i try to run qgis' voronoipolygons algorithm from processing toolbox 
in a python script (processing-script or standalone)


For testing I loaded a shape and a postgis layer to a 
QgsMapLayerRegistry. I can sucessfully run 
processing.runalg('qgis:voronoipolygons', shape-layer, 0, outShpVec) 
but processing.runalg('qgis:voronoipolygons', postgis-layer, 0, 
outShpVec) fails (with exit code 137 :-( ). No message in debugging 
console in my IDE (PyCharm).


Any idea or example why this does not work or how I can do further 
investigation?


2. I'm in trouble using the qgis:importintopostgis via script as well. 
It expects an Index of a registered postgis connection. How can I use 
this alg by passing the connection params directly or do I have to 
create an entry in QSettings() for that and how can I get the latest 
registered connection than?


Thank you

Marco
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] problems running processing.runalg('qgis:voronoipolygons', postgis-layer), processing.runalg('qgis:importintopostgis', ...)

2015-05-07 Thread Marco Lechner - FOSSGIS e.V.
question moved to qgis-develo...@lists.osgeo.org

Am 07.05.2015 um 08:30 schrieb Marco Lechner - FOSSGIS e.V.:
 Hi,

 1. i try to run qgis' voronoipolygons algorithm from processing
 toolbox in a python script (processing-script or standalone)

 For testing I loaded a shape and a postgis layer to a
 QgsMapLayerRegistry. I can sucessfully run
 processing.runalg('qgis:voronoipolygons', shape-layer, 0, outShpVec)
 but processing.runalg('qgis:voronoipolygons', postgis-layer, 0,
 outShpVec) fails (with exit code 137 :-( ). No message in debugging
 console in my IDE (PyCharm).

 Any idea or example why this does not work or how I can do further
 investigation?

 2. I'm in trouble using the qgis:importintopostgis via script as well.
 It expects an Index of a registered postgis connection. How can I use
 this alg by passing the connection params directly or do I have to
 create an entry in QSettings() for that and how can I get the latest
 registered connection than?

 Thank you

 Marco 



0x6A30F373.asc
Description: application/pgp-keys
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] vector field marker - set the distance unit

2015-05-07 Thread Luca Lanteri
Thanks for replying and for fixing !
Luca


2015-05-07 14:44 GMT+02:00 Nyall Dawson nyall.daw...@gmail.com:

 On 6 May 2015 at 19:51, Luca Lanteri lklant...@gmail.com wrote:
  Hi,
 
  I'm trying to use the vector filed marker as symbol layer type in order
 to
  plot my GPS data displacement. I can't understand how to set the distance
  unit, because the combo remain void. It's a bug or I missing something ?
 

 It was a bug, it's now fixed in master. I'll backport this fix after
 2.8.2 is released.

 Nyall
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Missing gdall_MrSID dll

2015-05-07 Thread Anthony Dosseto
Hi,

It looks like I have a missing dll (see below). any ideas what's going on? How 
to fix that?
thanks

[cid:image001.png@01D08968.7D30D220]


Dr. Anthony Dosseto
Senior Lecturer
Associate Editor - Geochimica et Cosmochimica Acta
Wollongong Isotope Geochronology Laboratory
School of Earth and Environmental Sciences | Faculty of Science, Medicine and 
Health | Building 41, Room 160
University of Wollongong NSW 2522 Australia
T + 61 2 4221 4805
W http://smah.uow.edu.au/sees/WIGL/index.html
Twitter https://twitter.com/Dr_IsoTony

[cid:image002.png@01D08968.7D30D220]

University of Wollongong CRICOS: 00102E
Your feedback is appreciated and can be submitted at: 
feedb...@uow.edu.aumailto:feedb...@uow.edu.au
NOTICE: This email is intended for the addressee named and may contain 
confidential information. If you are not the intended recipient, please delete 
it and notify the sender. Please consider the environment before printing this 
email.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user