[Portugal] Python/C++ (TIN to raster)

Ricardo Filipe Soares Garcia da ricardo.garcia.silva at gmail.com
Thu Mar 31 18:26:05 EDT 2011


Olá

O recurso PyQGIS Developer CookBook[1] é uma leitura excelente para
aprender a desenvolver plugins no QGIS.

Além disso, recomendo que acedas à documentação da API C++[2] do QGIS.
A maioria das classes são acessíveis através do Python e a sua
utilização em Python é similar.

Também será útil consultares a documentação do PyQt[3], a biblioteca
que é usada para a construção da interface gráfica do plugin.

Finalmente, se experimentares dar uma olhadela nos plugins Python que
já tens instalados, também poderás retirar algumas boas ideias ;) Uma
vantagem do Python é a de que o código fonte está disponível e é
bastante legível. No teu caso, como estás a trabalhar com dados
raster, sugiro que dês uma olhada no plugin GdalTools.

Se tiveres dúvidas concretas depois de consultar estes recursos, estás
à vontade para perguntar na mailing-list qgis-developer (em inglês). O
pessoal é normalmente bastante prestável e interessado.

Boa sorte ;)

[1] - http://www.qgis.org/pyqgis-cookbook/
[2] - http://doc.qgis.org/head/classes.html
[3] - http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html

On Thu, Mar 31, 2011 at 4:49 PM, Jorge de Jesus <jmdj  pml.ac.uk> wrote:
>  Ola
>
> Alem de usar a mailing-developers do QGIS
>
> So para acrescentar as classes C++ do QGIS sao acedidas usando SIP
>
> http://wiki.python.org/moin/SIP
>
> http://www.controlvideo.de/sip/out/index.html
>
> Convem dar uma vista de olhos a documentacao para percerber como Python
> acede ao Qt e QGIS
>
>
> Jorge
>
>
> On 31/03/11 16:00, Giovanni Manghi wrote:
>> Olá Lia,
>>
>> parabéns pela iniciativa.
>>
>> Sugiro que faça as mesmas perguntas nas mailing list mais adequada para
>> este tipo de problemas, ou seja a dos developers de QGIS
>>
>>
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>> irá encontrar com certeza as respostas que procura.
>>
>>
>> Saluti
>>
>
>
> --------------------------------------------------------------------------------
> Plymouth Marine Laboratory
>
> Registered Office:
> Prospect Place
> The Hoe
> Plymouth  PL1 3DH
>
> Website: www.pml.ac.uk
> Click here for PML Annual Review 2010
> Registered Charity No. 1091222
> PML is a company limited by guarantee
> registered in England & Wales
> company number 4178503
>
> Please think before you print
>
> --------------------------------------------------------------------------------
> This e-mail, its content and any file attachments are confidential.
>
> If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail forinfo  pml.ac.uk and then delete the email without making any copies or using it in any other way.
>
> The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.
>
> You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.
> --------------------------------------------------------------------------------
> _______________________________________________
> Portugal mailing list
> Portugal  lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/portugal
>



-- 
___________________________ ___ __
Ricardo Garcia Silva


More information about the Portugal mailing list