[Qgis-developer] DWG/DXF Import -- Geopackage

2017-04-16 Thread Stéphane Henriod
Hi all while updating the doc to describe a future unique "Add data" button https://docs.google.com/document/d/1aMX9jOfl10q8oETRzOHSHnRpHCc7UJ1dDnCCq3VyTAY/edit?usp=sharing I stumbled upon the *Project / DWG/DXF Import*. 2 questions here: - Is there a reason why this import tool is stored

Re: [Qgis-developer] QGIS API Distance, Azimuth/Bearing - API Documentation

2017-04-16 Thread Nyall Dawson
On 14 April 2017 at 01:56, C Hamilton wrote: > Thanks for answering. Geographiclib has a good summary of the benefits over > vincinty. > > https://geographiclib.sourceforge.io/html/python/geodesics.html > > The algorithms implemented by this package are given in Karney

Re: [Qgis-developer] 'Native' python docs for QGIS

2017-04-16 Thread Nyall Dawson
On 14 April 2017 at 09:40, Tim Sutton wrote: > > Hi All > > I made a first pass hack to build python docs from the sip bindings for QGIS. > > See the README & code here: > > https://github.com/qgis/QGISPythonAPIDocumentation > > There are a few things not yet documented like

Re: [Qgis-developer] How to add an action into a layer through python

2017-04-16 Thread Luca Mandolesi
Hi Salvatore, so I will try to extend your python macro for selecting records through relationship with the code of Andrea Borruso!!! Regards Luca Il 16 apr 2017 9:58 PM, "Salvatore Larosa" ha scritto: > Hi Luca, > > On Fri, Apr 14, 2017 at 10:31 PM, Luca Mandolesi

Re: [Qgis-developer] How to add an action into a layer through python

2017-04-16 Thread Salvatore Larosa
Hi Luca, On Fri, Apr 14, 2017 at 10:31 PM, Luca Mandolesi wrote: > Hi, > I would to know if it's possibile to add a python action into a layer > charged inside layer registry? There is a method inside pyQgis API? sure, it is possible. With 2.x version the below example