Qgis

Solo disponible en BuenasTareas
  • Páginas : 72 (17791 palabras )
  • Descarga(s) : 7
  • Publicado : 7 de julio de 2010
Leer documento completo
Vista previa del texto
Quantum GIS
Coding and Compilation Guide Version 1.4 ’Enceladus’

Preamble

This document is the original Coding and Compilation Guide of the described software Quantum GIS. The software and hardware described in this document are in most cases registered trademarks and are therefore subject to the legal requirements. Quantum GIS is subject to the GNU General Public License. Find moreinformation on the Quantum GIS Homepage http://qgis.osgeo.org. The details, data, results etc. in this document have been written and verified to the best of knowledge and responsibility of the authors and editors. Nevertheless, mistakes concerning the content are possible. Therefore, all data are not liable to any duties or guarantees. The authors, editors and publishers do not take any responsibilityor liability for failures and their consequences. Your are always welcome to indicate possible mistakes.
A A This document has been typeset with LTEX. It is available as LTEX source code via subversion and online as PDF document via http://qgis.osgeo.org/documentation/manuals.html. Translated versions of this document can be downloaded via the documentation area of the QGIS project as well. Formore information about contributing to this document and about translating it, please visit: http://www.qgis.org/wiki/index.php/Community_Ressources

Links in this Document This document contains internal and external links. Clicking on an internal link moves within the document, while clicking on an external link opens an internet address. In PDF form, internal links are shown in blue, whileexternal links are shown in red and are handled by the system browser. In HTML form, the browser displays and handles both identically. Coding Compilation Guide Authors and Editors: Tim Sutton Tara Athan Carson J.Q. Farmer Davis Wills Marco Hugentobler Godofredo Contreras Otto Dassau Magnus Homann Gary E. Sherman Werner Macho Jürgen E. Fischer Martin Dobias

With thanks to Tisham Dhar for preparingthe initial msys (MS Windows) environment documentation, to Tom Elwertowski and William Kyngesburye for help in the MAC OSX Installation Section and to Carlos Dávila. If we have neglected to mention any contributors, please accept our apologies for this oversight. Copyright c 2004 - 2009 Quantum GIS Development Team Internet: http://qgis.osgeo.org

License of this document Permission isgranted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in section 8 entitled "GNU Free Documentation License".

QGIS 1.4 Installation and Coding Guide

iii Contents

Contents
Title Preamble Table of Contents 1 Writing a QGIS Plugin in C++ 1.1 Why C++ and what about licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Programming a QGIS C++ Plugin in four steps . . . . . . . . . . . . . . . . . . . . . . 1.3 Further information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Creating C++ Applications2.1 Creating a simple mapping widget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Working with QgsMapCanvas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Writing a QGIS Plugin in Python 3.1 Why Python and what about licensing . . . . . . . . 3.2 What needs to be installed to get started . . . . . . . 3.3 Programming a simple PyQGIS Plugin in four steps 3.4Uploading the plugin to the repository . . . . . . . . 3.5 Further information . . . . . . . . . . . . . . . . . . . 4 Creating PyQGIS Applications 4.1 Designing the GUI . . . . . 4.2 Creating the MainWindow . 4.3 Finishing Up . . . . . . . . 4.4 Running the Application . . i ii iv 1 1 1 19 20 20 23 27 27 27 28 31 32 33 33 34 39 40 43 43 43 43 44 44 45 45 46 46 46 46 47 47

. . . . .

. . . . ....
tracking img