[Qgis-developer] Where, O Where is the Python/C++ API Documentation for 1.6 QGIS

Noli Sicad nsicad at gmail.com
Sun Jan 2 19:58:16 EST 2011


Just to complete this idea and documentation on trying to create SAGA
plugin for QGIS.

There is already SAGA Python Bindings
http://static.saga.cct.lsu.edu/apidoc/python/latest/

Noli

On 1/3/11, Noli Sicad <nsicad at gmail.com> wrote:
> SAGA Toolbox for QGIS Ideas
>
> http://www.qgis.org/wiki/SAGA_Toolbox_for_QGIS
>
> Noli
>
> On 1/3/11, Noli Sicad <nsicad at gmail.com> wrote:
>> Hi Maaza.
>>
>> Here is the C++ API.
>>
>> http://doc.qgis.org/head/index.html
>>
>> I think there is no documentation of the Python API to corresponding
>> to C++, however, Qgis have pyqgis cookbook and other useful tools.
>>
>> http://www.qgis.org/pyqgis-cookbook/
>>
>> http://pyqgis.org/builder/plugin_builder.py
>>
>> You can look at the plugins in the repository, visit the sites and
>> download the plugins and see how they are implemented in python.
>>
>> http://www.qgis.org/wiki/Python_Plugin_Repositories
>>
>> You also install the plugins and browse the plugin directory to see
>> the python codes.
>>
>> Compiling QGIS, visit this site (below).
>>
>> http://www.qgis.org/wiki/Installation_Guide
>>
>> Noli
>>
>>
>>
>>
>> On 1/3/11, maaza mekuria <sailmcm at yahoo.com> wrote:
>>> I am wondering which APIdocumentation is applicable for Python functions
>>> for
>>> Version 1.6 Copiapo release.
>>>
>>> For
>>>  example, I was using QGSGeometry and according to the documentation it
>>> takes a point and returns a double and another argument that receives a
>>> vertex (closest) on the line segment geometry.
>>>
>>> Similar discrepancy exists for closestsegmentWithContext.  exists. The
>>> documentations says it like this,
>>> double QgsGeometry::closestegmentWithContext(qgsPoint,
>>>            minDistPoint,beforeVertex)
>>>
>>> but in the 1.6 version I am using, it give an array of results and it
>>> must
>>> be retrieved as part of an array.
>>>
>>> Where
>>>  would be the API docs that corresponds to a particular version of the
>>> software. I am assuming that the Python functions parallel those of C++.
>>>  Until I could run with all the C++ crowd, (I am seriously contemplating
>>>  to do just that, except I do not know how?) can you help me walk along
>>> the pathway of QGIS? If I could compile QGIS in QT I would jump to it
>>> immediately. I also wanted to just compile a dll in QGIS instead of
>>> compiling a complete3 application, I do not want to create a separate
>>> GUI, but just a dll that would be called like a Python
>>>
>>> Thank you for your help,
>>>
>>> Maaza
>>>
>>>
>>>
>>>
>>
>


More information about the Qgis-developer mailing list