Manual QGIS 2.8 Archivo - EVA Fing [PDF]

Aug 7, 2015 - A través de los símbolos 'Modo de simbología' desde la original simbología QGIS puede ser exportado con al

23 downloads 11 Views 14MB Size

Recommend Stories


(archivo PDF)
Be who you needed when you were younger. Anonymous

Basic eVA Purchasing Manual
Don't count the days, make the days count. Muhammad Ali

Archivo PDF español
The happiest people don't have the best of everything, they just make the best of everything. Anony

QGIS tanfolyam
Seek knowledge from cradle to the grave. Prophet Muhammad (Peace be upon him)

archivo
There are only two mistakes one can make along the road to truth; not going all the way, and not starting.

archivo
I cannot do all the good that the world needs, but the world needs all the good that I can do. Jana

Archivo PDF español
Kindness, like a boomerang, always returns. Unknown

archivo
You're not going to master the rest of your life in one day. Just relax. Master the day. Than just keep

archivo
You have to expect things of yourself before you can do them. Michael Jordan

Archivo
There are only two mistakes one can make along the road to truth; not going all the way, and not starting.

Idea Transcript


"

QGIS User Guide Publicación 2.8

QGIS Project

07 de August de 2015

Contents

1

Preámbulo

3

2

Convenciones 2.1 Convenciones de la Interfaz Gráfica o GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Convenciones de Texto o Teclado . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 Instrucciones específicas de cada plataforma . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5 5 5 6

3

Prólogo

7

4

Características 4.1 Ver datos . . . . . . . . . . . . . . . . . . 4.2 Explorar datos y componer mapas . . . . . 4.3 Crear, editar, gestionar y exportar datos . . 4.4 Analizar datos . . . . . . . . . . . . . . . 4.5 Publicar mapas en Internet . . . . . . . . . 4.6 Extend QGIS functionality through plugins 4.7 Consola de Python . . . . . . . . . . . . . 4.8 Problemas Conocidos . . . . . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

9 9 9 10 10 10 10 11 12

Qué es lo nuevo en QGIS 2.8 5.1 Application . . . . . . . . . . . . 5.2 Proveedor de datos . . . . . . . . 5.3 Digitizing . . . . . . . . . . . . . 5.4 Diseñador de impresión de Mapa 5.5 Plugins . . . . . . . . . . . . . . 5.6 Servidor QGIS . . . . . . . . . . 5.7 Simbología . . . . . . . . . . . . 5.8 Interfaz de Usuario . . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

13 13 13 14 14 14 14 14 14

Comenzar 6.1 Instalación . . . . . . . . . . . 6.2 Datos de ejemplo . . . . . . . . 6.3 Sesión de ejemplo . . . . . . . 6.4 Iniciar y cerrar QGIS . . . . . . 6.5 Opciones de la línea de órdenes 6.6 Proyectos . . . . . . . . . . . . 6.7 Salida . . . . . . . . . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

15 15 15 16 17 17 19 20

QGIS GUI 7.1 Barra de Menú . . . 7.2 Barra de herramietas 7.3 Leyenda del mapa . 7.4 Vista del mapa . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

21 22 29 29 32

5

6

7

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

i

7.5 8

Barra de Estado . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

35 35 35 35 37 39 40 43 44 45

Configuración QGIS 9.1 Paneles y Barras de Herramientas 9.2 Propiedades del proyecto . . . . . 9.3 Opciones . . . . . . . . . . . . . 9.4 Personalización . . . . . . . . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

47 47 48 49 57

10 Working with Projections 10.1 Overview of Projection Support . . . . 10.2 Global Projection Specification . . . . 10.3 Define On The Fly (OTF) Reprojection 10.4 Custom Coordinate Reference System . 10.5 Default datum transformations . . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

59 59 59 61 62 63

9

Herramientas generales 8.1 Teclas de acceso rápido . . 8.2 Ayuda de contexto . . . . . 8.3 Renderizado . . . . . . . . 8.4 Mediciones . . . . . . . . . 8.5 Identificar objetos espaciales 8.6 Elementos decorativos . . . 8.7 Herramientas de anotaciones 8.8 Marcadores espaciales . . . 8.9 Anidar proyectos . . . . . .

32

. . . . . . . . .

. . . . . . . . .

11 QGIS Browser 12 Trabajar con catos vectoriales 12.1 Supported ; imagerelpath="images/test_image.jpg"; projectpath=qgis.core.QgsProject.instance().fileName(); import os.path; path=os.path.dirname(str(projectpath)) if projectpath != ’’ else None; image=os.path.join(path, imagerelpath); import subprocess; subprocess.Popen( [command, image ] );

Another Python action example is the one that allows us to add new layers to the project. For instance, the following examples will add to the project respectively a vector and a raster. The names of the files to be added to the project and the names to be given to the layers are , group=’Custom’) def myfunc(value1, value2 feature, parent): pass

The short example creates a function ‘myfunc’ that will give you a function with two values. When using the args=’auto’ function argument the number of function arguments required will be calculated by the number of arguments the function has been defined with in Python (minus 2 - feature, and parent). This function then can be used with the following expression: myfunc(’test1’, ’test2’)

Your function will be implemented in the ‘Custom’ Functions of the Expression tab after using the Run Script button.

Further information about creating Python code can be found on http://www.qgis.org/html/en/docs/pyqgis_developer_cookbook/inde The function editor is not only limited to working with the field calculator, it can be found whenever you work with expressions. See also Expressions. .

138

Chapter 12. Trabajar con catos vectoriales

CHAPTER 13

Trabajar con catos raster

.

13.1 Working with Raster , ATTRS{idProduct}=="0003", MODE="666"

After that is necessary to be sure that the garmin_gps kernel module is not loaded rmmod garmin_gps

and then you can use the GPS Tools. Unfortunately there seems to be a bug #7182 and usually QGIS freezes several times before the operation work fine. BTGP-38KM encoding="UTF-8"?>

The parser reads this definition and creates a new tab inside the Toolbox when you select the module. A more detailed description for adding new modules, changing a module’s group, etc., can be found on the QGIS wiki at http://hub.qgis.org/projects/quantum-gis/wiki/Adding_New_Tools_to_the_GRASS_Toolbox. .

16.9. The GRASS Toolbox

193

QGIS User Guide, Publicación 2.8

194

Chapter 16. GRASS GIS Integration

CHAPTER 17

Entorno de trabajo de procesamiento de QGIS

.

17.1 Introducción Este capítulo introduce al marco de procesamiento de QGIS, un entorno de geoprosesamiento que se puede utilizar para llamar algoritmos nativos o de terceros de QGIS, haciendo su tarea de análisis espacial más productivo y fácil de lograr. En las siguientes secciones, revisaremos cómo usar los elementos gráficos de este sistema y sacar el máximo provecho de cada uno de ellos. Hay cuatro elementos básicos en el marco IUG, que se usa para ejecutar algoritmos para diferentes propósitos. Elegir una u otra herramienta dependerá del tipo de análisis que se va a realizar y de las características particulares que cada usuario y proyecto. Todos ellos (a excepción de la interfaz de procesamiento por lotes, lo que se llama desde la caja de herramientas, como veremos más delante) se puede acceder desde el menú Procesado. (Verpa más de cuatro entradas. Los restantes no se utilizan para ejecutar los algoritmos y se explicarán más adelante en este capítulo.) • La caja de herramientas. El elemento principal de la IUG, se usa para ejecutar un solo algoritmo o grupo de procesos sobre la base de ese algoritmo.

Figure 17.1: Caja de herramientas de procesado

195

QGIS User Guide, Publicación 2.8

• El modelador gráfico. Varios algoritmos se pueden combinar graficamente usando el modelador para definir un flujo de trabajo, creando un proceso individual que involucre varios subprocesos.

Figure 17.2: Procesamiento del modelador • El administrador del historial. Todas las acciones que se llevan acabo mediante cualquiera de los elementos mencionados se almacenan en un archivo de la historia y puede ser posteriormente producido usando el administrador del historial. • La interfaz de procesamiento por lote. Esta interfaz permite que ejecute procesos por lote y automatizar la ejecución de un solo algoritmo a múltiples conjuntos de datos. En las siguientes secciones, revisaremos cada uno de los elementos a detalle. .

17.2 La caja de herramientas La Caja de herramientas es el principal elemento de procesamiento de la interfaz gráfica de usuario, y el que más se suele usar en el trabajo diario. Muestra un listado de todos los algoritmos disponibles agrupados en diferentes bloques, y es el punto de acceso para ejecutarlos, bien haciéndolo como un proceso único o bien como un proceso por lotes que realice varias ejecuciones del mismo algoritmo con diferentes conjuntos de entradas. La caja de herramientas contiene todos los algoritmos disponibles, divididos en grupos definidos. Todos estos grupos se encuentran bajo una sola categoría llamada Geoalgoritmos Además, hay dos entradas más llamadas Modelos y Scripts. Éstas permiten crear algorimtos y definir flujos de trabajo y tareas de procesamiento personalizados. Más adelante hay uan sección completa dedicada a esto. En la parte superior de la caja de herramientas, hay una caja de texto. Para reducir el número de algoritmos que se muestran en la caja de herramientas y que resulte más fácil encontrar el que se necesita, se puede introducir cualquier palabra o frase en esa caja de texto. Según se va escribiendo, el número de algorimos que se muestra se va reduciendo a sólo aquellos que contienen el texto introducido en su nombre. En la parte inferior, hay una caja desplegable en la que se puede elegir entre la lista simplificada (la ya explicada) y la lista avanzada. Si se cambia a la opción avanzada, la caja de herramientas tendrá este aspecto: 196

Chapter 17. Entorno de trabajo de procesamiento de QGIS

QGIS User Guide, Publicación 2.8

Figure 17.3: Procesamiento de Historial

Figure 17.4: Interfaz de procesamiento por lote

17.2. La caja de herramientas

197

QGIS User Guide, Publicación 2.8

Figure 17.5: Caja de herramientas de procesado

Figure 17.6: Caja de herramientas de procesado (modo avanzado)

198

Chapter 17. Entorno de trabajo de procesamiento de QGIS

QGIS User Guide, Publicación 2.8

En la vista avanzada, cada grupo representa a un ‘proveedor de algoritmos’, que es un conjunto de algorimos que tiene el mismo origen, por ejemplo de una aplicación externa con capacidades de geoprocesamiento. Algunos de estos grupos representan algoritmos de aplicaciones como SAGA, GRASS o R, mientras que otros contienen algorimos directamente programados usando el complemeto de procesamiento y no pertenecen a ningún otro programa. Esta vista se recomienda para los usuarios/as que tienen cierto conocimiento de las aplicaciones de las que provienen los algoritmos, ya que estos se muestran con sus nombres y grupos originales. Además, hay algunos algoritmos que sólo están disponibles en la vista avanzada, como las herramientas de LIDAR y los scripts basados en el software de cálculo estadístico R entre otras. Los plugins de QGIS independientes que añaden nuevos algoritmos a la caja de herramientas, se muestran también sólo en la vista avanzada. En concreto, la vista simplificada contiene algoritmos de los siguientes productos: • GRASS • SAGA • OTB • Algoritmos QGIS nativos Si se usa QGIS en Windows, estos algorimos están plenamente funcionales desde el principio y pueden ejecutarse sin necesidad de instalaciones adicionales. Además, ejecutarlos no requiere un conocimiento previo de las aplicaciones externas que usan, haciéndolos más accesibles para usuarios/as sin experiencia. If you want to use an algorithm not provided by any of the above providers, switch to the advanced mode by selecting the corresponding option at the bottom of the toolbox. Para ejecutar un algoritmo, basta con hacer doble click sobre su nombre en la caja de herramientas.

17.2.1 El cuadro de diálogo de algoritmo Once you double-click on the name of the algorithm that you want to execute, a dialog similar to that in the figure below is shown (in this case, the dialog corresponds to the SAGA ‘Convergence index’ algorithm).

Figure 17.7: Diálogo de parámetros

17.2. La caja de herramientas

199

QGIS User Guide, Publicación 2.8

This dialog is used to set the input values that the algorithm needs to be executed. It shows a table where input values and configuration parameters are to be set. It of course has a different content, depending on the requirements of the algorithm to be executed, and is created automatically based on those requirements. On the left side, the name of the parameter is shown. On the right side, the value of the parameter can be set. Although the number and type of parameters depend on the characteristics of the algorithm, the structure is similar for all of them. The parameters found in the table can be of one of the following types. • A raster layer, to select from a list of all such layers available (currently opened) in QGIS. The selector contains as well a button on its right-hand side, to let you select filenames that represent layers currently not loaded in QGIS. • A vector layer, to select from a list of all vector layers available in QGIS. Layers not loaded in QGIS can be selected as well, as in the case of raster layers, but only if the algorithm does not require a table field selected from the attributes table of the layer. In that case, only opened layers can be selected, since they need to be open so as to retrieve the list of field names available. Se ve un botón por cada selector de capa vectorial, como se muestra en la figura inferior.

Figure 17.8: Botón iterador vectorial If the algorithm contains several of them, you will be able to toggle just one of them. If the button corresponding to a vector input is toggled, the algorithm will be executed iteratively on each one of its features, instead of just once for the whole layer, producing as many outputs as times the algorithm is executed. This allows for automating the process when all features in a layer have to be processed separately. • A table, to select from a list of all available in QGIS. Non-spatial tables are loaded into QGIS like vector layers, and in fact they are treated as such by the program. Currently, the list of available tables that you will see when executing an algorithm that needs one of them is restricted to tables coming from files in dBase (.dbf) or Comma-Separated Values (.csv) formats. • Una opción, a elegir de una lista de selección de posibles opciones. • A numerical value, to be introduced in a text box. You will find a button by its side. Clicking on it, you will see a dialog that allows you to enter a mathematical expression, so you can use it as a handy calculator. Some useful variables related to ) output=SpatialPoints)

La variable polygon ya contiene un objeto SpatialPolygons?> Import all photograph points This command will import all of the encoding="UTF-8"?>

Smile Life

When life gives you a hundred reasons to cry, show life that you have a thousand reasons to smile

Get in touch

© Copyright 2015 - 2024 PDFFOX.COM - All rights reserved.