Home

QGIS User Guide - Moodle USP do Stoa

image

Contents

1. X Ten ETT Composer VIEW ayouL pH eRAROS MEA Hv b BU ES s Z9 7 ES d 200 250 z E Composition Atlas generation Command history Composition w Paper and quality Presets A4 210x297 mm Width 297 00 Height 210 00 Units mm Number of pages 1 Orientation Landscape Export resolution 300 dpi Print as raster b amp Snap to grid b amp Snap to alignments Figura 18 1 Compositor de Impressao 4b The Print Composer provides four tabs The Composition tab allows you to set paper size orientation the page background number of pages and print quality for the output file in dpi Furthermore you can also activate the L Print as raster checkbox This means all elements will be rastered before printing or saving as PostScript or PDF In this tab you can also customize settings for grid and smart guides The tem Properties tab displays the properties for the selected item element Click the vio PERENNE icon to select an element e g legend scale bar or label on the canvas Then click the Item Properties tab and customize the settings for the selected element e The Command history tab hidden by default displays a history of all changes applied to the Print Composer layout With a mouse click it is possible to undo and redo layout steps back and forth to a certain status The Atlas generation tab allows you to enable the generation of an atlas for the current Composer and gives ac
2. Figura 16 1 Dados GRASS em LOCATION alaska 16 3 1 Criando uma nova Localiza o GRASS As an example here is how the sample GRASS LOCATION alaska which is projected in Albers Equal Area projection with unit feet was created for the QGIS sample dataset This sample GRASS LOCATION alaska will be used for all examples and exercises in the following GRASS related sections It is useful to download and install the dataset on your computer see Amostra de Dados L 2 12 13 Start QGIS and make sure the GRASS plugin is loaded Visualize the alaska shp shapefile see section vector load shapefile from the QGIS Alaska dataset see Amostra de Dados z Na barra de ferramentas GRASS clique no cone E Abrir mapset nara abrir o arquivo Assistente MAPSET q p q Select an existing GRASS database GISDBASE folder grassdata or create one for the new LOCATION using a file manager on your computer Then click Next Podemos usar este assistente para criar um novo arquivo MAPSET dentro de um ja existente ar quivo LOCATION ver se o ref sec add mapset ou para criar um novo arquivo LOCATION Selecione 54 Criar nova location ver figure grass location 2 Enter a name for the LOCATION we used alaska and click Next Defina a proje o clicando no bot o de r dio 5 guilabel Proje o para habilitar a lista de proje es We are using Albers Equal Area Alaska feet projec
3. S Use this menu to make general settings for the vector layer There are several options available Layer Info e Change the display name of the layer in displayed as Define the Layer source of the vector layer Define the Data source encoding to define provider specific options and to be able to read the file Coordinate Reference System Specify the coordinate reference system Here you can view or change the projection of the specific vector layer Create a Spatial Index only for OGR supported formats Update Extents information for a layer View or change the projection of the specific vector layer clicking on Specify Ed Scale dependent visibility 96 Cap tulo 12 Trabalhando com Dados Vetoriais gt General Style Labels Fields Rendering amp Display EO Actions Joins ER Diagrams 7 Metadata D Attribute editor layout Drag and drop designer uns d QGIS User Guide Vers o 2 2 v Fields uU ES ld Name Type Type name 0 cat int Integer 1 NAMES QString String 2 AREA MI double Real 3 xlabel int Integer 4 ylabel int Integer Create category Relations Load Style Save As Default Add tab or group For lakes atab a group in container Suppress attribute form pop up after feature creation Default Label v main v Fields mm cat D NAMES AREA MI e Label control se xlabel
4. 4 EM gnment horizontal vertical v 9 water Group P d F gt SZ V majrivers er Ugashik Lake T d Rotation E Preserve data rotation values amp lakes i h m bh 7 w Priority ad i E v e swamp Low High Lay Brow Browser p Apply Coordinate 594841 3221861 b E Figura 12 19 Labeling of vector polygon layers with data defined override Figura 12 20 Move labels 94 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Edi o de Widget PT General Attribute editor layout Autogenerate Python Init function w Fields f Style Labels Id 7 Name Type Type name Length Precision Comment Edit widget Alias WA Fields 0 cat int Attribute Edit Dialog cat Rendering 1 NAMES QString a Line edit Editable UB Display 2 AREA MI double classification Label on top CEG av Actions l Unique values Allows one to set numeric values from a specified range The edit 4 ylabel int File name widget can be either a slider or a spin box Joins Value map 5 rotation int Enumeralion Editable ER Diagrams Immutable Mi Hidden I 1 1 Metadata Checkbox Tw edit Maximum 30 Calendar 1 Value relation step UUID generator Current minimum for this value is 2147483648 and current Photo maximum is 2147483647 Webview Color Relation Reference
5. 98 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Layer Properties regions Display General Map Tip display text O Field NAME 1 Style E HTML lt b gt Name of feature lt b gt 96 NAME 2 96 lt br gt lt b gt Is this place a Borough lt b gt lt br gt Labels CASE WHEN TYPE 2 Borough THEN Yes ELSE No It is a TYPE_2 END ES Fields Rendering D Display RO Actions f Joins ER Diagrams Insert expression NAME 2 Insert field RS AO al arise a S ade ae Sl Apply Cancel SKINS Help Figura 12 25 HTML code for map tip DILLINGHAM k J Name of feature Dillingham is this place a Borough No It is a Census Area E Figura 12 26 Map tip made with HTML code 4b 12 2 Janela de Propriedades de Vetor 99 QGIS User Guide Vers o 2 2 12 2 7 Actions Menu E QGIS fornece a capacidade de executar uma a o com base nos atributos de um recurso Isso pode ser usado para executar qualquer n mero de a es por exemplo a execu o de um programa com argumentos constru dos a partir dos atributos de um recurso ou passar par metros ao uma ferramenta de comunica o web Layer Properties lakes Actions w Action list General Type Name Action Capture Style di E 5 Python Clicked coordinates Run featu QtGui QMe Labels A 6 Open Open file 96 PATH 96 E ES Fields 7 Se
6. Dica Carregando dados GRASS If you have problems loading data or QGIS terminates abnormally check to make sure you have loaded the GRASS plugin properly as described in section sec starting grass 16 3 Localiza o e MAPSET GRASS GRASS data are stored in a directory referred to as GISDBASE This directory often called grassdata must be created before you start working with the GRASS plugin in QGIS Within this directory the GRASS GIS data are organized by projects stored in subdirectories called LOCATIONS Each LOCATION is defined by its coordinate system map projection and geographical boundaries Each LOCATION can have several MAPSETs subdirectories of the LOCATION that are used to subdivide the project into different topics or subregions or as workspaces for individual team members see Neteler amp Mitasova 2008 in Refer ncias bibliogr ficas e Web In order to analyze vector and raster layers with GRASS modules you must import them into a GRASS LOCATION This is not strictly true with the GRASS modules r external and v external you can create read only links to external GDAL OGR supported datasets without importing them But because this is not the usual way for beginners to work with GRASS this functionality will not be described here 170 Cap tulo 16 Integra o com SIG GRASS QGIS User Guide Vers o 2 2 GRASS Database LOCATION MAPSET Geometry and attribute data ihome user grassdata _ Vector layers
7. Total 30 195 km MB new close Figura 8 3 Measure Area A Gnome rim Measure Angle You can also measure angles The cursor becomes cross shaped Click to draw the first segment of the angle you wish to measure then move the cursor to draw the desired angle The measure is displayed in a pop up dialog 53 9174 degrees Figura 8 4 Measure Angle 4b Gnome 8 4 2 Selecionar e desselecionar fei es The QGIS toolbar provides several tools to select features in the map canvas To select one or several features just click on E and select your tool m E Select Single Feature m t Select Features by Rectangle Part 1 r IN Select Features by Polygon trae e ie Select Features by Freehand e a Select Features by Radius Para desselecionar todos as fei es selecionadas clique em PESSElesion An Wes tepe KA rama 8 5 Identificar fei es The Identify tool allows you to interact with the map canvas and get information on features in a pop up window To identify features use View Identify features or press Ctrl Shift I orclick on the Q a E oi 38 Cap tulo 8 Ferramentas Gerais QGIS User Guide Vers o 2 2 icon 1n the toolbar If you click on several features the Identify results dialog will list information about all the selected features The first item is the number of the feature in the list of results followed by the layer name Then its first child will be the name of a field with it
8. a Layer order R swamp on fas BILLIN E airports A Iw i e E majrivers a q E amp lakes TI O q E regions amp Control rendering order Figura 7 2 Definir a ordem da legenda de camada indepenente 7 4 Visualiza o do mapa Este o fim do neg cio do QGIS mapas s o exibidos nesta rea O mapa exibido nesta janela depender das camadas vetoriais e raster que voc escolheu para carregar ver se es a seguir para obter mais informa es sobre como carregar camadas A vista do mapa pode ser deslocada mudando o foco da exibi o do mapa para outra regi o e zoom in e out V rias outras opera es podem ser realizadas sobre o mapa tal como descrito na descri o acima da barra de ferramentas A vista do mapa e a legenda est o fortemente ligados uns aos outros os mapas em vista refletem as altera es feitas na rea de legenda Dica Ampliando o mapa com a roda do mouse 74 Visualiza o do mapa sss QGIS User Guide Vers o 2 2 Voc pode usar a roda do mouse para zoom 1n e out no mapa Coloque o cursor do mouse dentro da rea do mapa e gire a roda para a frente longe de voc para ampliar e para tr s para voc para diminuir o zoom A posi o do cursor do mouse o centro onde o zoom ocorre Voc pode personalizar o comportamento do zoom roda do mouse usando o guilabel aba Ferramentas do mapa sob o menu Configura es Op es Dica Percorrendo o mapa com a
9. dempart demparti dem grat points lines 3cuencas Figura 17 11 Lista de Extens o Se seleccionar o segundo os par metros da janela ir o esconder se para que possa clicar e arrastar para o enquadramento Uma vez definido o rect ngulo seleccionado o di logo ira reaparecer contendo os valores na caixa de texto da extens o Figura 17 12 Arrastamento para Extens o A list of elements whether raster layers vector layers or tables to select from the list of such layers available in QGIS To make the selection click on the small button on the left side of the corresponding row to see a dialog like the following one Uma pequena tabela para ser editada pelo utilizador Estes s o usados para definir os par metros como tabelas lookup ou kernels de convolu o entre outros 17 2 A caixa de ferramentas 193 QGIS User Guide Vers o 2 2 4 Multiple selection Figura 17 13 M ltipla Selec o 7 E Fixed Table Figura 17 14 Tabela Fixa 194 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 Clique no bot o do lado direito para ver a tabela e editar os seus valores Depending on the algorithm the number of rows can be modified or not by using the buttons on the right side of the window You will find a Help tab in the the parameters dialog If a help file is available it will be shown giving you mor
10. 15 1 3 GPSBabel Since QGIS uses GPX files you need a way to convert other GPS file formats to GPX This can be done for many formats using the free program GPSBabel which is available at http www gpsbabel org This program can also transfer GPS data between your computer and a GPS device QGIS uses GPSBabel to do these things so it is recommended that you install it However if you just want to load GPS data from GPX files you will not need it Version 1 2 3 of GPSBabel is known to work with QGIS but you should be able to use later versions without any problems 15 1 4 Importando dados GPS To import GPS data from a file that is not a GPX file you use the tool Import other file in the GPS Tools dialog Here you select the file that you want to import and the file type which feature type you want to import from it where you want to store the converted GPX file and what the name of the new layer should be Note that not all GPS data formats will support all three feature types so for many formats you will only be able to choose between one or two types 15 1 5 Descarregando dados de um receptor GPS QGIS can use GPSBabel to download data from a GPS device directly as new vector layers For this we use the Download from GPS tab of the GPS Tools dialog see Figure_GPS_2 Here we select the type of GPS device the port that it is connected to or USB if your GPS supports this the feature type that you want to download the GPX file wh
11. Aba Tabela The Table tab provides information about the database table for a given layer Here you can add new columns to an existing attribute table or create a new database table for a new GRASS vector layer see section Criando uma nova camada vetorial GRASS Dc GRASS Edit E GRE e e yl a B fo fo la n BE O Category Settings Symbology Table Layer ol Column Type Length Add Column Create Alter Table Figura 16 7 Aba Tabela de Digitaliza o GRASS Dica GRASS Edita Permiss es You must be the owner of the GRASS MAPSET you want to edit It is impossible to edit data layers ina MAPSET that is not yours even if you have write permission 16 8 A ferramenta regiao GRASS The region definition setting a spatial working window in GRASS is important for working with raster layers Vector analysis is by default not limited to any defined region definitions But all newly created rasters will have the spatial extension and resolution of the currently defined GRASS region regardless of their original extension and resolution The current GRASS region is stored in the SLOCATION SMAPSET WIND file and it defines north south east and west bounds number of columns and rows horizontal and vertical spatial resolution It is possible to switch on and off the visualization of the GRASS region in the QGIS canvas using the M Display current GRASS region button With the 2 Edit current GRASS region ic
12. Equal Contain Cover are CoveredBy Cross are Disjoint Intersect Overlap Touch or are Within each other It depends on your individual questions which topology rules you apply to your vector data e g normally you won t accept overshoots in line layers but if they depict dead end streets you won t remove them from your vector layer QGIS has a built in topological editing feature which is great for creating new features without errors But existing data errors and user induced errors are hard to find This plugin helps you find such errors through a list of rules E muito simples para criar regras topol gicas com o m dulo Verificador de Topologia Nas camadas do tipo vector as seguintes regras est o dispon veis Must be covered by Here you can choose a vector layer from your project Points that aren t covered by the given vector layer occur in the Error field Must be covered by endpoints of Here you can choose a line layer from your project 19 18 Complemento SQL Anywhere 287 QGIS User Guide Vers o 2 2 g w Add SQL Anywhere layer EN leg eS tes g an Create a new SQL Anywhere co dy e e Q9 SQL Anywhere Connections Connection Information Name Host la Port Server Database Connection Parameters e 0 a ap Figura 19 32 Janela SQL Anywhere KDE A TS BRR VETAR A DO Wu dH 6 N RsmEm oncms
13. ctour_100 aparece como Nome do vetor de entrada From the list of algorithms choose Chaiken s Leave all other options at their default and scroll down to the last row to enter in the field Name for output vector map ctour 100 smooth and click Run The process takes several moments Once Successfully finished appears in the output windows click View output and then Close E poss vel mudar a cor do vetor para apresentar claramente o fundo matricial e para contrastar com as linhas de contorno originais Voc notar que as novas linhas de contorno t m cantos mais suaves do que o original enquanto permanecer fiel forma geral de origem Dica Outros usos para r contour The procedure described above can be used in other equivalent situations If you have a raster map of precipitation data for example then the same method will be used to create a vector map of isohyetal constant rainfall lines Creating a Hillshade 3 D effect Several methods are used to display elevation layers and give a 3 D effect to maps The use of contour lines as shown above is one popular method often chosen to produce topographic maps Another way to display a 3 D effect is by hillshading The hillshade effect is created from a DEM elevation raster by first calculating the slope and aspect of each cell then simulating the sun s position in the sky and giving a reflectance value to each cell Thus you get sun facing slopes lighted t
14. dropdown lists If the coordinates are defined as degrees minutes seconds activate the A DMS coordinates checkbox Finally enter a layer name e g e le vp as shown in figure delimited text 1 To add the layer to the map click OK The delimited text file now behaves as any other map layer in QGIS 12 1 Formatos de dados suportados 71 QGIS User Guide Vers o 2 2 Create a Layer from a Delimited Text File File Name data Dropbox Trabalho QGIS qgis_sample_data csv elevp csv Browse Layer name elevp Encoding UTF 8 File Format CSV comma separated values Custom delimiters Regular expression delimiter Comma amp Tab Space f Colon amp Semicolon Other delimiters Quote Escape Record options Number of header lines to discard 0 First record has field names Field options Trim fields Discard empty fields Decimal separator is comma Geometry definition Point coordinates J Well known text WKT No geometry attribute only table X field X Y field Y gt _ DMS coordinates Layer settings _ Use spatial index _ Use subset index _ Watch file X Y ELEV 1 300120 7689960 13 2 654360 7562040 52 3 1640 7512840 3 E Help cancel ORI Figura 12 4 Delimited Text Dialog There is also a helper option that allows you to trim leading and trailing spaces from fields C Trim fields Also it is possible to A Discard empty fields If necessary you can force a comma to be the decimal separ
15. m 4 9 O2 RM Im ug r9 o U B i pe tee 150 200 230 300 330 400 e Compositi Atlas generati Item Propert m Atlas generation x West Alaska Nome Region amp Generate an atlas 50 w Configuration Composer map Map 0 10 Coverage layer airports 3 Nome Region Nearby ar ports E DE me w Visibility 156 _ Hidden coverage layer b Feature sorting 20 b Feature filtering w Scaling 25 Fixed scale A w Output Output filename expression output Sfeature Help Close Single file export when possible Figura 18 30 Print Composer with map view legend image scale bar coordinates text and HTML frame added A e The Ets Export as SVG icon saves the Print Composer canvas as an SVG Scalable Vector Graphic If you need to export your layout as a georeferenced image 1 e to load back inside QGIS you need to enable this feature under the Composition tab Check Ed World file on and choose the map item to use With this option the Export as image action will create also a world file Nota Currently the SVG output is very basic This is not a QGIS problem but a problem with the underlying Qt library This will hopefully be sorted out in future versions Exporting big rasters can sometimes fail even if there seems to be enough memory This is also a problem with the underlying Qt management of rasters 18 8 Gerir o Compositor With the oo E Load
16. o camada e exportados como um shapefile Dividir uma camada de entrada em v rias outras camadas distintas com base em um campo de entrada Dividir camada vetorial Juntar em um shapefile Criar indices espaciais Mesclar varioss shapefiles dentro de uma pasta para um novo shapefile com base no tipo de camada ponto linha area Cria um indice espacial para os formatos OGR suportados Tabela fTools 5 ferramentas de gerenciamento de dados fTools 266 Capitulo 19 Complementos QGIS User Guide Vers o 2 2 Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 8 M dulo de Ferramentas GDAL 19 8 1 O que s o as Ferramentas GDAL O m dulo Ferramentas GDAL oferece uma colec o GUI de ferramentas da Biblioteca de Abstrac o de Dados Geoespaciais http gdal osgeo org Estes s o ferramentas de gest o raster para consultar reprojectar torcer e unir um conjunto variado de formatos raster Inclui tamb m ferramentas para criar camadas de contornos vector ou relevos sombreados a partir de MDT matriciais e para fazer um vrt Virtual Raster Tile em formato XML a partir de uma colec o de um ou mais ficheiros raster Estas ferramentas est o dispon veis quando o m dulo est instalado e activado Biblioteca GDAL A biblioteca GDAL consiste num conjunto de programas da linha de comandos cada um com uma lista cheia de op es Os utilizadores que sabem usar a linha de comand
17. o no QGIS Usaremos a ca mada raster qgis sample data raster landcover img e o camada vetor lakes qgis sample data gml lakes gml 6 3 1 Iniciar o QGIS 2 Iniciar QGIS teclando QGIS um uma linha de comando prompt ou usando se um bin rio pr combinado usando o menu de Aplicativos 7 Inicie o QGIS usando o menu Iniciar ou o atalho do ambiente de trabalho ou de duplo clique no arquivo de projeto QGIS X de duplo clique no cone na sua pasta de Aplica es 6 3 2 Carregue camadas vetoriais ou raster a partir do conjunto de amostras de dados 1 Clique no cone o Carregar Raster 2 Navegue at a pasta qgis sample data raster selecione o arquivo ERDAS IMG landcover img e clique Abrir 18 Cap tulo 6 Iniciando QGIS User Guide Vers o 2 2 3 Se o arquivo n o for localizado confira se quadro combinado Tipos de Arquivos da parte de baixo do di logo est estabelecido o tipo correto neste caso Erdas Imagine Images 1mg IMG 4 Agora clique no cone Wey Carregar Vetor 5 54 Arquivo deveria estar selecionado como Tipo de origem na nova janela Adicionar camada vetorial Agora clique Navegar para selecionar a camada vetorial 6 Navegue para a pasta qgis sample data gml selecione Geography Markup Language GML OGR gml GML para a caixa combinada Tipo de arquivo Edi em seguida selecione o arquivo GML lakes gml e clique Abrir Na janela Adicionar camada vetorial cli
18. 2 00 m Line style change Blend mode Normal b Draw coordinates Figura 18 6 Janela da Grelha do Mapa rs Visao Global The Overview dialog of the map Item Properties tab provides the following functionalities see Fig ure composer 7 w Overview Overview frame None 7j Overview style W Change Overview blending mode Normal A Invert overview Figura 18 7 Janela da Vis o Global do Mapa rs If the Composer has more than one map you can choose to use a first map to show the extents of a second map The Overview dialog of the map Item Properties tab allows you to customize the appearance of that feature The Overview frame combo list references the map item whose extents will be drawn on the present map item e The Overview Style allows you to change the frame color See section vector style manager The Overview Blend mode allows you to set different transparency blend modes to enhance visibility of the frame See Rendering_Mode If checked Ed Invert overview creates a mask around the extents the referenced map extents are shown clearly whereas everything else is blended with the frame color 18 3 2 Adicionando uma etiqueta ao Compositor de Impress o 1 f To add a label click the Add label icon place the element with the left mouse button on the Print Composer canvas and position and customize its appearance in the label Item Properties tab The tem Properties tab of a label
19. 30481 6876 IEE Diagrams em 30481 6 30481 6876 45722 5314 4 4 457222 5 45722 5314 60963 3752 gy Metadata 60963 3 60963 3752 76204 2190 Classify Addclass Delete Delete all Advanced Load Style Save As Default Restore Default Style Save Style 7 Help Apply Cancel OK Figura 12 12 Graduated Symbolizing options C Like the Categorized Renderer the Graduated Renderer allows you to define rotation and size scale from specified columns Also analogous to the Categorized Renderer the Style tab allows you to select The attribute using the Column listbox or the Set column expression function O simbolo usando o bot o Propriedades do Simbolo e As cores usando a lista de rampas de cores Additionally you can specify the number of classes and also the mode for classifying features within the classes using the Mode list The available modes are Intervalo igual Quartil Quebras Naturais Jenks e Desvio padr o e Quebras suaves The listbox in the center part of the Style menu lists the classes together with their ranges labels and symbols that will be rendered The example in figure_symbology_4 shows the graduated rendering dialog for the rivers layer of the QGIS sample dataset Dica Thematic maps using an expression Categorized and graduated thematic maps can now be created using the result of an expression In the properties dialog
20. Define Raio de pesquisa para identificar e exibir dicas de mapa como uma percentagem de largura de mapa Ferramenta de medida 52 Cap tulo 9 Configura o QGIS QGIS User Guide Vers o 2 2 Define Cor do el stico para as ferramentas de medida e Define Casas decimais E Manter unidade base Preferred measurements units Meters Feet Nautical Miles or Degrees Preferred angle units Degrees Radians or Gon Movendo e ampliando Define a Ac o da roda do rato Visualizar Visualizar e Centrar Aproximar ao cursor do rato Nada Define o factor de aproxima o afastamento para a roda do rato Escalas pr definidas Here you find a list of predefined scales With the and buttons you can add or remove your individual scales 9 3 7 Composer Menu Composition defaults You can define the Default font here Apar ncia da Grelha Define the Grid style dki Solid Dots Crosses Define the Color Grid defaults Define the Spacing 19 9 Define the Grid offset for x and y Define the Snap tolerance 5 99 Guide defaults Define the Snap tolerance 99 9 9 3 8 Menu Digitalizar Cria o de elementos E Suprimir atributos de janelas pop up depois de cada elemento criado E Reutilizar ltimos valores de atributos inseridos e Validate geometries Editing complex lines and po
21. Seleciona o v rtice anterior utilizando a ferramenta de n s Delete or Backspace Deletar as fei es selecionadas voc pode desfazer estas a es ou n s utilizando a ferramenta de n s F5 Atualiza a tela ao inv s do Ctrl r Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 16 Cap tulo 5 O que h de novo no QGIS 2 2 CAP TULO 6 Iniciando Este cap tulo da uma vis o geral r pida sobre a instala o do QGIS alguns dados de exemplo na web sobre o QGIS e rodar uma primeira se o simples visualizando camadas raster e vetoriais 6 1 Instala o A instala o do QGIS muito simples Est o dispon veis pacotes de instala o padr o para MS Windows e Mac OS X Se proporcionam pacotes binarios rpm e deb ou reposit rios de software para adquirir o seu gerenciador de instala o de pacotes para diversos savidores de GNU Linux Consiga as ltimas informa es sobre pacotes binarios na p gina do QGIS na internet em http download qgis org 6 1 1 Instala o partir da fonte Se necessitar compilar o QGIS a partir da fonte por favor consulte as instru es de instala o S o distribu das com o c digo fonte do QGIS em um arquivo chamado INSTALL Tambem pode encontrar em linha de comando em http htmlpreview github io https raw github com qgis QGIS master doc INS TALL html 6 1 2 Instala o no dispositivo de armazenamento externo QGIS te permite
22. There are all kinds of uses for actions For example if you have a point layer containing locations of images or photos along with a file name you could create an action to launch a viewer to display the image You could also use actions to launch web based reports for an attribute field or combination of fields specifying them in the same way we did in our Google search example We can also make more complex examples for instance using Python actions Usually when we create an action to open a file with an external application we can use absolute paths or eventually relative paths In the second case the path is relative to the location of the external program executable file But what about if we need to use relative paths relative to the selected layer a file based one like a shapefile or SpatiaLite The following code will do the trick 102 Capitulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 command firefox imagerelpath images test test image Jjpg layer qgis utils iface activeLayer import os path layerpath layer source if layer providerType ogr else qgis core QgsDataSourceURI layer source database if layer providerType spatialite else None path os path dirname str layerpath image os path join path imagerelpath import subprocess subprocess Popen command image We just have to remember that the action is one of type Python and the comma
23. dem raster twi output ret slope processing runalg Saga slopeaspectcurvature dem O None None None None None ret area processing runalg saga catchmentarea mass fluxmethod dem 0 False False False False None None None None None processing runalg saga topographicwetnessindex twi ret slope SLOPE ret area AREA None 1 O tw1i As you can see the calculation involves three algorithms all of them coming from SAGA The last one calculates the TWI but it needs a slope layer and a flow accumulation layer We do not have these layers but since we have the DEM we can calculate them by calling the corresponding SAGA algorithms A parte do c digo onde este processamento tem lugar n o dif cil de perceber se leu o as secc es anteriores deste cap tulo Contudo as primeiras linhas necessitam de uma explica o adicional Eles fornecem a informa o que necess ria para tornar o c digo num algortimo que possa ser corrido a partir qualquer componente do GUI como por exemplo a caixa de ferramentas ou o modelador gr fico These lines start with a double Python comment symbol and have the following structure parameter name parameter type optional values Here is a list of all the parameter types that are supported in processing scripts their syntax and some examples raster A raster layer vector A vector layer table A table number A numerical value A default value must b
24. o de camadas de forma que a sa da cont m tanto as reas que n o se sim trica intersectam da entrada e das camadas de diferen a Cortar Sobreposi o de camadas de forma que a sa da cont m reas que se cruzam a camada de corte Diferen a Sobreposi o de camadas de forma que a sa da cont m reas que n o cruzam a camada de corte Dissolver Mesclar fei es com base no campo de entrada Todas as fei es com valores id nticos de entrada s o combinadas para formar uma nica fei o Elimine Mescla fei es selecionadas com o pol gono vizinho com a maior rea ou maior pol gonos fronteira comum prateados Tabela fTools 3 Ferramentas de Geoprocessamento fTools 19 7 Complemento fTools 265 QGIS User Guide Vers o 2 2 19 7 4 Ferramentas de Geometria eonbFemamenta Finalidade Verificar validade da geometria Exportar Adicionar geometrias de colunas Centr ides de pol gonos Triangula o de Delaunay Pol gonos de Voronoi Simplificar geometrias Densifica o de geometria Densificar geometrias Multipartes para partes simples Poligonos para linhas Linhas para poligonos Extra o de n s Verifica os pol gonos para interse es buracos fechados e corrige ordena o de n s Adicionar Informa es de geometrias vetoriais em camadas do tipo ponto xCoord yCoord linha comprimento ou pol gono rea per metro Calcular os centr ides reais para cada pol gono em u
25. pjesssnppaae Layers E i Topology Checker E E 9 group A i Error Layer Feature ID amp popp 0 gaps regions Topology Rule Settings 1 jc regions regions Current Rules regions airports s must be inside alaska regions regions Delete Rule amp Add Rule l6 regions 7 regions regions 1 must be inside popp alaska No tolerance lo regions 2 must not have gaps regions No layer No tolerance 10 gaps regions 11 gaps regions 3 must not have invalid geometries lakes No layer No tolerance 12 gaps regions m l l 13 gaps regions 14 gaps regions 15 gaps regions 16 gaps regions 17 gaps regions 18 gaps regions 19 gaps regions 20 gaps regions BF Configure majrivers B validateAll Bl Validate Extent E Co Rr TRE pre Becharo f Lake amp Show errors 81 errors were found Coordinate 495242 3850406 Scale 2206834 Qf amp Render EPSG 2964 A Rule Layer 1 Layer 2 Tolerance oo0000000000000000000 ul T Figura 19 33 O M dulo Verificador de Topologia 288 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 Must be inside Here you can choose a polygon layer from your project The points must be inside a polygon Otherwise QGIS writes an Error for the point Must not have duplicates Whenever a point is represented twice or more it will occur in the Error field Must not
26. shapefile with geometries and the airport csv table without geometries and a foreign key fk_region to the layer region This means that each airport belongs to exactly one region while each region can have any number of airports a typical one to many relation Definition Relation Manager The first thing we are going to do is to let QGIS know about the relations between the layer This is done in Settings Project Properties Open the Relations menu and click on Add name is going to be used as a title It should be a human readable string describing what the relation is used for We will just call say Airports in this case referencing layer is the one with the foreign key field on it In our case this is the airports layer referencing field will say which field points to the other layer so this is fk_region in this case referenced layer is the one with the primary key pointed to so here it is the regions layer referenced field is the primary key of the referenced layer so it is ID id will be used for internal purposes and has to be unique You may need it to build custom forms once this is supported If you leave it empty one will be generated for you but you can assign one yourself to get one that is easier to handle Forms Now that QGIS knows about the relation it will be used to improve the forms it generates As we did not change the default form method autogenerated it will just add a new widg
27. 87 Renderiza o 35 Revert Layout Actions 241 ring polygons 114 Rotate Point symbols 115 Rotated North Arrow 231 Rule based Rendering 87 Search Radius 107 Secured OGC Authentication 151 Selecionar usando Consulta 124 Servi o de Cobertura Web 151 SFS 143 Shapefile 67 Shapefile to Postgis Import Tool 286 Shared Polygon Boundaries 108 shp2pgsql 75 Simbologia 133 Single_Symbol_Renderer 82 Sistema_de_Refer ncia_de_Coordenadas 59 SLD 152 SLD SE 152 Snapping On Intersections 109 Snapping_ Tolerance 107 Spatialite 77 Spatialite_Manager 77 SPIT 286 Split_Features 115 SQLite 77 SRC 59 147 SRC_padrao 59 SRC_personalizado 62 ST_Shift_Longitude 76 Suspender edi o 36 Symbology 81 teclas de direc es para mover 34 Tiger Format 70 Toggle Editing 109 Topological Editing 108 Transforma o datum 63 Transpar ncia 137 UK National Transfer Format 70 US Census Bureau 70 V rtice 111 V rtices 111 visibilidade da camada 31 WCS 143 151 WES 143 151 WFS T 151 WFS Transactional 151 WKT 59 111 WMS 143 WMS C 148 WMS 1 3 0 151 WMS client 143 ndice QGIS User Guide Vers o 2 2 WMS identify 149 WMS layer transparency 147 WMS metadata 149 WMS properties 149 WMS tiles 148 WMTS 148 WMTS client 143 Work with Attribute Table 118 Zoom In Zoom Out 107 309
28. Addition This blend mode simply adds pixel values of one layer with the other In case of values above one in the case of RGB white is displayed This mode is suitable for highlighting features Darken This creates a resultant pixel that retains the smallest components of the foreground and background pixels Like lighten the results tend to be jagged and harsh Multiply Here the numbers for each pixel of the top layer are multiplied with the corresponding pixels for the bottom layer The results are darker pictures Burn Darker colors in the top layer cause the underlying layers to darken Burn can be used to tweak and colorise underlying layers Overlay This mode combines the multiply and screen blending modes In the resulting picture light parts become lighter and dark parts become darker Soft light This is very similar to overlay but instead of using multiply screen it uses color burn dodge This is supposed to emulate shining a soft light onto an image Hard light Hard light is also very similar to the overlay mode It s supposed to emulate projecting a very intense light onto an image Difference Difference subtracts the top pixel from the bottom pixel or the other way around to always get a positive value Blending with black produces no change as the difference with all colors is Zero Subtract This blend mode simply subtracts pixel values of one layer from the other In case of
29. As licen as de muitos software s o desenvolvidas para restringir sua liberdade de compartilh lo e mud lo Con tr ria a isso a Licen a P blica Geral GNU pretende garantir sua liberdade de compartilhar e alterar software livres garantindo que o software ser livre e gratuito para os seus usu rios Esta Licen a P blica Geral aplica se maioria dos software da Free Software Foundation e a qualquer outro programa cujo autor decida aplic la Alguns outros software da FSF s o cobertos pela Licen a P blica Geral de Bibliotecas no entanto Voc pode aplic la tamb m aos seus programas Quando falamos em softwares livres nos referimos a liberdade n o pre o Nossa Licen a Publica Geral proje tada para garantir que voc tenha liberdade de compartilhar c pias do software livre e cobrar por este servi o se desejar que voc recebeu o c digo fonte ou pode adquirir se quiser que voc possa modificar o software ou usar partes dele em novos softwares livres que voc saiba que pode fazer tais coisas Para proteger os seus direitos n s precisamos fazer restri es que proibem qualquer pessoa a negar a voc tais direitos ou a pedir que se renda a eles Estas restri oes se traduzem em certas responsabilidades para voc se voc distribuir ou modificar c pias do software Por exemplo se voc distribuir c pias de determinado programa seja ele gratis ou por uma taxa voc deve dar aos benefici rios todos os direito
30. Estes dados de entrada ser o adicionados na janela de par metros para que o utilizador possa configurar os seus valores quando executa o modelo O modelo por si um al goritmo portanto os par metros da janela gerado automaticamente como acontece em todos os algoritmos dispon veis na infraestrutura de processamento 2 Defini o do fluxo de trabalho Usando os dados de entrada do modelo o fluxo de trabalho definido adicionando algoritmos e seleccionando como v o usar esses ficheiros de entrada ou de sa da gerados por outros algoritmos que j existem no modelo 17 3 O modelador gr fico 197 QGIS User Guide Vers o 2 2 4 Processing modeler i 3 xl PAE alee Parameters HH Enter model name here Enter group name here Boolean Extent File Number Raster Layer String Table Table field Vector layer Figura 17 16 Modelador 17 3 1 Defini o das entradas O primeiro passo para criar um modelo definir as entradas que necessita Os seguintes elementos s o encontrados no separador Entradas no lado esquerdo da janela do modelador e Camada matricial e Camada vectorial e Cadeia de texto e Campo da tabela e Tabela e Extens o e N mero e Booleano e Ficheiro Fa a duplo clique em qualquer um e ser exibido um di logo para definir as suas caracter sticas Dependendo do par metro o di logo ir conter apenas um elemento b sico a descri o
31. I landcover S877403 18 Coordinate 2803800 7140758 Scale 22240717 v S EB Render eEpsa 29 Figura 19 26 O mapa de densidade ap s ser carregado fica com uma surperf cie cinzenta Quantum GI5 eb4TFFs Project Edit View yer Settings Plugins Vect SPARED NAAR e 9 P211 AA Layers x MH airports gt E heatmap airports pe V gt al majrivers Y C9 lakes C9 alaska LJ E landcover S Coordinate 6877403 7758555 J Scale 22240717 1 E Render EpsG 2964 9 Figura 19 27 Mapa de Densidade decorado dos aeroportos do Alaska 5 19 15 M dulo de C lculo de Rotas 283 QGIS User Guide Vers o 2 2 QGIS 2 0 1 Dufour COmBBEHOGX TTE GE SZXQGQOSV 5 Bv Bj t ES mm D 860 9 PRUPPAR gt Layers Shortest path Start 1 04099e 06 4 67976e 06 Stop 1 04219e 06 4 6792e 06 Criterion Length Length 1197 42m Time 1 19742h Calculate Export Clear 3 1 li a O Hel A i BI L1 i NON Toggles the editing s amp S Coordinate 1041721 4679296 Scale 1 8398 8 amp 6 E Render EPSG 3857 A Figura 19 28 M dulo de C lculo de Rotaslnixl e Optimizes by length or by travel time e Exports path to a vector layer Highlights roads directions this is slow and used mainly for debug purposes and for the settings testing As a roads layer you can use any polyli
32. O QGIS vem com um complemento chamado SPIT Ferramenta de Importa o de Shapefile para PostGIS O SPIT pode ser usado para carregar m ltiplas shapefiles de uma s vez e inclui o suporte para esquemas Para usar o SPIT abre o Gerenciador de Complementis do menu Complementos no menu A Instalado e marque a caixa perto do 4 guilabel SPTIT e clique OK Para importar uma shapefile use Base de dados Spit Importar Shape para PostgreSQL da barra de menu para abrir a janela SPIT Ferramenta de Importa o de Shape para PostGIS Selecione a base de dados PostGIS que quer conectar e clique em Conectar Se quiser pode definir ou alterar op es de importa o Agora pode adicionar um ou mais arquivos para a fila clicando no bot o Adicionar Para processar os arquivos clique no bot o OK O progresso de importa o assim como algum tipo de erros avisos ser o exibidos em cada shapefile processado Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 286 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 8 amp SPIT Shapefile to PostGIS Import Tool cQ PostgreSQL connections Alaska v Connect New E dit Remove Import options and shapefile list IS Geometry column name Use default geometry column name SRID 2964 S Use default SRID Primary key column name gid Global schema public v File Name Feature Class Features DB Relation Name Schema
33. Simplificar elemento E The D Simplify Feature too allows you to reduce the number of vertices of a feature as long as the geometry doesn t change First select a feature It will be highlighted by a red rubber band and a slider will appear Moving the slider the red rubber band will change its shape to show how the feature is being simplified Click OK to store the new simplified geometry If a feature cannot be simplified e g multi polygons a message will appear Adicionar An l You can create ring polygons using the Add Ring icon in the toolbar This means that inside an existing area it is possible to digitize further polygons that will occur as a hole so only the area between the boundaries of the outer and inner polygons remains as a ring polygon Adicionar Parte A You can add part polygons to a selected multipolygon The new part polygon must be digitized outside the selected multi polygon Fill Ring o You can use the 3 FI Ring function to add a ring to a polygon and add a new feature to the layer at the same time o NM Thus you need not first use the Add Ring icon and then the 3 Add feature function anymore Apagar An l The fad Dele Ring too allows you to delete ring polygons inside an existing area This tool only works with polygon layers It doesn t change anything when it is used on the outer ring of the polygon This tool can be used on polygon and multi polygon features Be
34. Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 The menu Vector Openstreetmap Export topology to SpatiaLite then allows you to open the database connection select the type of data you want points lines or polygons and choose tags to import This creates a SpatiaLite geometry layer that you can add to your project by clicking on the Le d d toolbar button or by selecting the fee Add SpatiaLite Layer option from the Layer menu see section Camadas SpatiaLite 12 1 6 Camadas PostGIS PostGIS layers are stored in a PostgreSQL database The advantages of PostGIS are the spatial indexing filter ing and query capabilities it provides Using PostGIS vector functions such as select and identify work more accurately than they do with OGR layers in QGIS Criando uma conexao armazenada amp The first time you use a PostGIS data source you must create a connection to the PostgreSQL database that contains the data Begin by clicking on the m dd PostGIS Layer toolbar button selecting the a Add PostGIS Layer option from the Layer menu or typing Ctr1 Shift D You can also open the Add Vector Layer dialog and select 5 Database The Add PostGIS Table s dialog will be displayed To access the connection manager click on the New button to display the Create a New PostGIS Connection dialog The parameters required for a connection are e Name A name for this connection It can be the same as Database
35. Usar metadados atribuidos da tabela Uma vez que todos os par metros e as op es est o configuradas voc pode testar a conex o clicando no bot o Testar Conex o Dica QGIS Configura es do Usu rio e Seguran a Depending on your computing environment storing passwords in your QGIS settings may be a security risk Your customized settings for QGIS are stored based on the operating system The settings are stored in your home directory in qgis2 e The settings are stored in the registry Carregando uma camada PostGIS Once you have one or more connections defined you can load layers from the PostgreSQL database Of course this requires having data in PostgreSQL See section Importa o de dados no PostgreSQL for a discussion on importing data into the database Para colocar uma camada no PostGIS execute os seguintes passos v Add PostGIS Layer option from the If the Add PostGIS layers dialog is not already open selecting the Layer menu or typing Ctr1l Shi ft D opens the dialog Escolha a conex o a partir da lista drop down e clique em Conectar Select or unselect Ed Also list tables with no geometry Optionally use some L Search Options to define which features to load from the layer or use the Build query button to start the Query builder dialog Encontre a camada s que deseja adicionar na lista de camadas dispon veis Select it by clicking on it You can select multiple laye
36. a cada m s E Mostrar tamb ms os complementos experimentais O QGIS mostrar todos os complementos nos esta gios Iniciais de desenvolvimento que geralemente s o inadequados para uso em produ o E Tamb m mostrar complementos obsoletos Estes complementos s o obsoletos e geralmente inadequados para uso em produ o Para adicionar reposit rios externos clique em Adicionar na se o de Reposit rios de complementos Se voc n o quer um ou mais reposit rios adicionados eles podem ser desabilitados atrav s do bot o Editar or remover completamente com o bot o Excluir Plugins Settings A All E J Installed amp check for updates on startup every time QGIS starts Not installed Note If this function is enabled QGIS will inform you whenever a new plugin or plugin update is available Otherwise fetching repositories will be performed during opening of the Plugin Manager window amp show also experimental plugins b Show also deprecated plugins Plugin repositories Status Name URL E connected QGIS Official Repository http plugins qgis org plugins plugins xml qgis Reload repository Add Edit Delete Help Close Figura 19 5 The E guilabel menu Op es rs A fun o Buscar esta dispon vel em quase todos os menus exceto em oo Op es Aqui voc pode procurar por complementos espec ficos Dica Complementos nativos
37. arbeit grassdata qgis sample data shapefiles majrivers shp public farbeit grassdata qgis sample data shapefiles pipelines shp public arbeit grassdata qgis sample data shapefiles popp shp POINT 1891 popp public arbeit grassdata qgis sample data shapefiles railroads shp LINESTRING 84 railroads public arbeit grassdata qgis sample data shapefiles regions shp MULTIPOLYGOM 26 regions public Add Remove Remove All l Help e OK Cancel Figura 19 31 Usando Complemento SPIT para importar arquivos shapefile do PostGIS 19 18 Complemento SQL Anywhere O SQL Anywhere um sistema de gerenciamento de bancos de dados com propriedade relacional RDBMS do Sybase O SQL Anywhere possui suporte espacial incluindo OGC shapefiles e fun es internas para exportar para os formatos KML GML e SVG SQL Anywhere permite que voc se conecte a bancos de dados do SQL Anywhere espacialmente habilitado A janela Add SOL Anywhere layer similar em funcionalidade com a janela do PostGIS e SpatiaLite Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 19 19 M dulo Verificador de Topologia Topology describes the relationships between points lines and polygons that represent the features of a geographic region With the Topology Checker plugin you can look over your vector files and check the topology with several topology rules These rules check with spatial relations whether your features
38. b Relations DD a UU Suppress attribute form pop up after feature creation Default Load Style Save As Default Restore Default Style Save Style v Help Apply Cancel Lok Figura 12 21 Dialog to select an edit widget for an attribute column Within the Fields menu you also find an edit widget column This column can be used to define values or a range of values that are allowed to be added to the specific attribute table column If you click on the edit widget button a dialog opens where you can define different widgets These widgets are e Line edit An edit field that allows you to enter simple text or restrict to numbers for numeric attributes e Classification Displays a combo box with the values used for classification if you have chosen unique value as legend type in the Style menu of the properties dialog e Range Allows you to set numeric values from a specific range The edit widget can be either a slider or a spin box Unique values You can select one of the values already used in the attribute table If Editable is activated a line edit is shown with autocompletion support otherwise a combo box is used e Nome do Arquivo Simplifica a sele o adicionando uma janela de sele o de arquivos Value map A combo box with predefined items The value is stored in the attribute the description is shown in the combo box You can define values manually or load them
39. blica Geral GNU Encontre mais informa es sobre o QGIS na p gina http www qgis org Os detalhes dados e resultados neste documento podem ter sido escritos e verificados para melhorar o conheci mento e a responsabilidade dos autores e editores No entanto erros relativos ao conte do s o poss veis Portanto os dados n o est o sujeitos a quaisquer direitos ou garantias Os autores editores e editoras n o t m qualquer responsabilidade por falhas e suas consequ ncias Voc sempre bem vindo para relatar poss veis erros Este documento foi elaborado com reStruturedText Ele est dispon vel como c digo fonte reST via github e on line como HTML e PDF via http www qgis org en docs As vers es traduzidas deste documento tamb m podem ser baixadas em v rios formatos atrav s da rea de documenta o do projeto QGIS Para mais informa es sobre a contribuir para este documento e sobre a tradu o por favor visite http www qgis org wiki Links neste Documento Este documento cont m links internos e externos Clicando sobre um link interno move se dentro do documento ao clicar em um link externo abre um endere o de internet Em formato PDF links internos e externos s o mostradas em azul e s o tratados pelo navegador do sistema Em formato HTML o navegador exibe e trata ambos de forma id ntica Usu rio Instala o e C digo Guia dos Autores e Editores Copyright c 2004 2014 QGIS Equipe de Desenvolvimento In
40. during the reading of the features A suggested value to start with is 500 Influ ncia da qualidade da edi o To influence the rendering quality of the map you have two options Choose menu option Settings Options click on the Rendering tab and select or deselect following checkboxes E Fazer linhas aparecem com menos defini o para n o peder performance ao renderizar E Ajustar problemas com pol gonos preenchidos incorretamente Speed up rendering There are two settings that allow you to improve rendering speed Open the QGIS options dialog using Settings Options go to the Rendering tab and select or deselect the following checkboxes g Enable back buffer This provides better graphics performance at the cost of losing the possibility to cancel rendering and incrementally draw features If it is unchecked you can set the Number of features to draw before updating the display otherwise this option is inactive Use render caching where possible to speed up redraws 8 4 Medi o Measuring works within projected coordinate systems e g UTM and unprojected data If the loaded map is defined with a geographic coordinate system latitude longitude the results from line or area measurements will be incorrect To fix this you need to set an appropriate map coordinate system see section Trabalhando com Proje es All measuring modules also use the snapping settings from the digitizing module This is useful if
41. esquerda Alinhar direita LJ Alinhar ao centro Centraliza na vertical Alinhar ao topo Alinhar ao fundo Preview Atlas First Feature Previous Feature Next Feature Last feature Print Atlas ve Export Atlas as Image Atlas Settings Tabela 1 do Compositor Ferramentas do Compositor de Impress o Todas as ferramentas do Compositor de Impress o est o dispon veis nos menus e como cones na barra de fer ramentas A barra de ferramentas pode ser desligada ou ligada usando o bot o direito do rato sobre a barra de ferramentas 18 1 Primeiros passos 18 1 1 Abrir um novo Modelo de de Compositor de Impress o Before you start to work with the Print Composer you need to load some raster and vector layers in the QGIS map canvas and adapt their properties to suit your own convenience After everything is rendered and symbolized 222 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 to your liking click the New Print Composer icon in the toolbar or choose File New Print Composer You will be prompted to choose a title for the new Composer 18 1 2 Usando o Compositor de Impress o Opening the Print Composer provides you with a blank canvas to which you can add the current QGIS map canvas text labels images legends scale bars basic shapes arrows attribute tables and HTML frames Fig ure composer 1 shows the initial view of the Print Composer before any elements are added alaska
42. form of the actual layer See Creating one to many relations With the Attribute editor layout you can now define built in forms for data entry jobs see figure fields 2 Choose Drag and drop designer and an attribute column Use the ep icon to create a category that will then be shown during the digitizing session see figure fields 3 The next step will be to assign the relevant fields to the category with the D icon You can create more categories and use the same fields again When creating a new category QGIS will insert a new tab for the category in the built in form Other options in the dialog are Autogenerate and Provide ui file Autogenerate just creates editors for all fields and tabulates them The Provide ui file option allows you to use complex dialogs made with the Qt Designer Using a Ul file allows a great deal of freedom in creating a dialog For detailed information see http nathanw net 201 1 09 05 qgis tips custom feature forms with python logic QGIS dialogs can have a Python function that is called when the dialog is opened Use this function to add extra logic to your dialogs An example is in module MyForms py def open dialog layer feature geom feature geometry control dialog findChild QWidged My line edit Reference in Python Init Function like so MyForms open MyForms py must live on PY THONPATH in qgis2 python or inside the project folder 12 2 4 General Menu
43. o Pol gono a partir da extens o da camada Seleciona aleatoriamente n n meros de elementos ou n percentagem de elementos Selecionar aleatoriamente fei es dentro de subconjuntos com base em um campo exclusivo de identifica o Gerar pseudo pontos aleat rios sobre uma camada de entrada Gerar uma grade regular de pontos ao longo de uma regi o determinada e export los como um shapefile de pontos Gera uma grelha de linhas ou pol gonos baseada num espa amento espec fico dado pelo utilizador Selecionar fei es com base na sua localiza o em rela o a uma outra camada para formar uma nova sele o adicionar ou subtrair da sele o atual Criar uma camada com um nico pol gono retangular a partir da extens o de uma camada de entrada raster ou vetorial Tabela fTools 2 Ferramentas de Pesquisa fTools 264 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 19 7 3 Ferramentas de geoprocessamento icone Ferramenta Finalidade Forma s Criar o m nimo de forma s convexas em uma camada de entrada ou com base convexa s em um campo de ID Buffer s Criar buffer s em torno de fei es com base em dist ncias ou em um campo de dist ncia Intersec o Intersectar sobreposi o de camadas de forma que a sa da cont m reas onde ambas as camadas se cruzam Uni o Sobreposi o de camadas de forma que a sa da cont m a interse o e n o interse o de reas Diferen a Sobreposi
44. o 2 2 QGIS 2 0 1 DufFour AeSeBRBBR EWZXeeqSuv uH o w s9es1pp inmumgee mmuoty II L vy Er amp amp Coordinate 1262229 4638386 Scale 17833418 SY M Render EPSG 2964 O Figura 12 3 QGIS with Shapefile of Alaska loaded 12 1 Formatos de dados suportados 69 QGIS User Guide Vers o 2 2 legend and choosing Properties from the context menu See section Style Menu for more information on setting symbology of vector layers Dica Carregando camadas e armazenando projetos em unidades externas no OS X On OS X portable drives that are mounted beside the primary hard drive do not show up as expected under File Open Project We are working on a more OSX native open save dialog to fix this As a workaround you can type Volumes in the File name box and press Enter Then you can navigate to external drives and network mounts Improving Performance for Shapefiles Para melhorar o desempenho do desenho de um shapefile voc pode criar um ndice espacial Um indice espacial ir melhorar a velocidade do zoom e vis o panor mica Os ndices espaciais utilizados pelo QGIS est o na extens o qix Siga estes passos para criar o ndice Load a shapefile by clicking on the Vo Add Vector Layer toolbar button or pressing Ctr1 Shi ft V Open the Layer Properties dialog by double clicking on the shapefile name in the legend or by right clicking and choosing Properties from the context
45. que ser o que o utilizador ir ver quando executar o modelo ou outros Por exemplo quando quer adicionar um valor n merico como aparece na pr xima figura al m da descri o do par metro tem um conjunto de valor por defeito e um intervalo de valores v lidos Para cada entrada adicionada um novo elemento adicionado ao enquadramento do modelador 17 3 2 Defini o do fluxo de trabalho Uma vez as entradas definidas tempo de definir os algoritmos que vamos aplicar Os algoritmos podem ser encontrados no separador Algoritmos agrupados na mesma forma que est o na caixa de ferramentas 198 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 Figura 17 17 Par metros do Modelo oP cP oP Point A DEM Landsat Figura 17 18 Par metros do Modelo Processing modeler E 2 xl Enter model name here Enter group name here Figura 17 19 Par metros do Modelo 17 3 O modelador gr fico 199 QGIS User Guide Vers o 2 2 A apar ncia da caixa de ferramentas tem dois modos simplificado e avan ado Contudo n o existe nenhum ele mento para trocar entre as vistas no modelador e pode faz lo na caixa de ferramentas O modo que seleccionado na caixa de ferramentas aquele que ser usado para a lista de algoritmos no modelador Para adicionar um algoritmo ao modelo clique duas vezes no seu nome Um di logo de execu o ira aparecer com um conte do similar a
46. s bandas da imagem que vai representar cada banda representa respectivamente a componente vermelha verde e azul que ser o usadas para criar a cor da imagem Podem se escolher v rios m todos para Melhora do contraste Sem melhora Estique para MinMax Estique e corte no MinMax e Corte no min max Layer Properties cascais map Style E Y Band rendering General amp style Render type Multiband color 1 lal Transparency Red band Band 1 Red Load didi values ow Cumulative o E i Pyramids Min max 0 O 9 count cut 2 0 98 0 96 IE Histogram Green band _ Band 2 Green Min max i Mean Min max m f Metadata standard deviation x 100 Blue band Band 3 Blue B Extent esos Min max Full O Estimate faster Current Actual slower erii Stretch to MinMax q Load Figura 13 2 Representa o do Raster Multibanda Colorida Esta sele o lhe oferece uma ampla variedade de op es para modificar a apar ncia da sua camada raster Primeira mente deve se ter a amplitude dos dados da sua imagem Isto pode ser visto escolhendo Extens o e clicando Carregar QGIS pode Estimar mais r pido os valores M n e M x das bandas ou use o Real mais lento Precis o Agora pode se criar uma escala de cores com ajuda da se o Carregar valores m n m x Muitas imagens tem valores muito baixos ou muito altos Estes valores discrepantes ou out
47. sticas b sicas An lise de Vizinhan a Coordenada s m dia s Interse es de linhas Medir dist ncias entre dois pontos de uma camada os resultados saem como a matriz de dist ncias quadrada b matriz de dist ncia linear ou c S ntese de dist ncias Pode limitar dist ncias com as caracter sticas mais pr ximas de k Calcular a soma total dos comprimentos das linhas para cada pol gono de uma camada vetorial do tipo pol gono Conta o n mero de pontos que existem em cada pol gono de uma camada de entrada do tipo vetorial poligonal Origina uma lista de valores nicos num campo de uma camada vetorial Calcular estat sticas b sicas m dia std dev N soma CV em um campo de entrada Calcula as estat sticas de vizinho mais pr ximo avaliando o n vel de agrupamento numa camada de pontos vetorial Calcular o centro m dio ponderado normal ou inteiro de uma camada vetorial ou de v rias fei es com base em um campo exclusivo de identifica o Localizar cruzamentos entre as linhas e as fei es de uma outra shapefile Util para localizar cruzamentos ou fluxo ignora cruzamentos de linha com comprimento gt 0 Table Ftools 1 Ferramentas de an lise fTools 19 7 2 Ferramentas de pesquisa iconFerramenta Finalidade amp Sele o aleat ria Sele o aleat ria dentro de subconjuntos Pontos aleat rios Pontos regulares Grade vetorial Selecionar pela localiza
48. tat Fem Calculadora de Campos A Alternar o modo de edi o e abra a janela da E Clique no Selecciona a caixa de verifica o Ed Criar novo campo para guardar os c lculos no novo campo Adicione comprimento como campo de sa da do nome real como o tipo de campo de sa da e defina o campo de comprimento de sa da de 10 com Precis o 3 agora fa a duplo clique na fun o length no grupo guilabel Geometria para adicionar caixa de ex press es da Calculadora de campos Complete a express o introduzindo 1000 na caixa de express es da Calculadora de campos e clique OK Pode agora encontrar a nova coluna comprimento na tabela de atributos As fun es dispon veis est o listadas em baixo A calculadora de campos Lista de Fun es com os menus Ajuda da Fun o Seleccionada Operadores e Ex press es s o tamb m dispon veis atrav s de uma renderiza o baseada em regras no menu Estilo das propriedades lt ne abe p da Camada e a express o baseada na etiquetagem na aplica o core Pug etagen Operadores Este grupo cont m operadores ex a b a plus b a D a minus b a b a multiplied by b a b a divided by b a b a modulo b for example 7 2 1 or 2 fits into 7 three times with remainder 1 a b a power b for example 2 2 4 or 2 3 8 a b a and b are equal a gt bp a is larger than b a lt b a is smaller than b a lt gt b a and b are not equal a b a and b are
49. what items and which IDs are available in a layout Rendering mode can be selected in the option field See Rendering_Mode 18 2 Modo de Renderizacao QGIS now allows advanced rendering for Composer items just like vector and raster layers 18 2 w Rendering Blending mode Lighten Transparency o Figura 18 3 Modo de Renderiza o rs Modo de Renderiza o 225 QGIS User Guide Vers o 2 2 e Transparency You can make the underlying item in the Composer visible with this tool Use the slider to adapt the visibility of your item to your needs You can also make a precise definition of the percentage of visibility in the the menu beside the slider e Blending mode You can achieve special rendering effects with these tools that you previously only may know from graphics programs The pixels of your overlaying and underlaying items are mixed through the settings described below 18 3 Normal This is the standard blend mode which uses the alpha channel of the top pixel to blend with the pixel beneath it the colors aren t mixed Lighten This selects the maximum of each component from the foreground and background pixels Be aware that the results tend to be jagged and harsh Screen Light pixels from the source are painted over the destination while dark pixels are not This mode is most useful for mixing the texture of one layer with another layer e g you can use a hillshade to texture another layer D
50. ylabel rotation Python Init Function Restore Default Style Save Style z Apply Cancel OK Figura 12 22 Dialog to create categories with the Attribute editor layout Attributes lakes Fields cat 14 a NAMES Becharof Lake a AREA MI 456 025 a Label control xlabel 509083 a ylabel 2920397 a rotation Cancel OK Figura 12 23 Resulting built in form in a data entry session 12 2 Janela de Propriedades de Vetor 97 QGIS User Guide Vers o 2 2 You can set the Maximum inclusive and Minimum exclusive scale The scale can also be set by the Current buttons Feature subset With the Query Builder button you can create a subset of the features in the layer that will be visualized also refer to section Salvar elementos selecionados como uma nova camada Layer Properties regions General x Gemeri w Layer info Layer name regions displayed as regions Style ER Layer source DOS1 Alexandre Dropbox Trabalho QGIS qgis sample data shapefiles regions shp Labels Es i Data source encoding System E E Fields Rendering v Coordinate reference system EPSG 2964 NAD27 Alaska Albers Specify ES Display J Create spatial ind
51. 21 Separador de propriedades da Forma The Arrow item properties tab allows you to draw an arrow in the Print Composer canvas You can define color outline and arrow width and it is possible to use a default marker no marker or an SVG marker For the SVG marker you can additionally add an SVG start and end marker from a directory on your computer Propriedades principais For basic shapes this dialog allows you to choose an Ellipse Rectangle or Triangle shape and its rotation e Contrariamente aos outros items o estilo de linha cor da linha e cor de fundo da forma b sica s o ajustados com a Janela de Moldura e Fundo Nenhuma moldura desenhada For arrows you can define here the line style Color Line width and Arrow head width e Arrows markers can be adjusted If you want to set an SVG Start marker and or End marker browse to your SVG file by clicking on the button after selecting the SVG radio button 18 3 Itens do Compositor 237 QGIS User Guide Vers o 2 2 Item Properties E Arrow Main properties B color Line width 1 00 mm Arrow head width 4 00 mm w Arrow markers Default None Jj SVG Start marker End marker Figura 18 22 Separador das propriedades da Seta rs Nota Unlike other items the background color for a basic shape is the shape background and not the frame background 18 3 7 Adicionar valores da tabela de atributos ao Compositor de Impress o It is possible
52. 35 2200000000 149 9300000000 Acacia mearnsii 32 2700000000 150 4100000000 As an exercise we can create an action that does a Google search on the lakes layer First we need to determine the URL required to perform a search on a keyword This is easily done by just going to Google and doing a simple search then grabbing the URL from the address bar in your browser From this little effort we see that the format is http google com search q qgis where QGIS is the search term Armed with this information we can proceed 1 Verifique se a camada lagos est carregada 2 Open the Layer Properties dialog by double clicking on the layer in the legend or right click and choose Properties from the pop up menu 3 Click on the Actions menu 12 2 Janela de Propriedades de Vetor 101 QGIS User Guide Vers o 2 2 4 Digite um nome para a a o por exemplo Google Search 5 Para a a o precisamos fornecer o nome do programa externo a ser executado Neste caso podemos usar o Firefox Se o programa n o estiver em seu caminho voc precisar fornecer o caminho completo 6 Following the name of the external application add the URL used for doing a Google search up to but not including the search term http google com search g 7 O texto no campo de a o ser mostrado como este firefox http google com search g 8 Click on the drop down box containing the field names for the lakes layer It s located just
53. Ascending Cona Figura 18 25 Janela Sec o de atributos da tabela de atributos 18 3 Itens do Compositor 239 QGIS User Guide Vers o 2 2 The Table dialog allows you to select the vector layer and columns of the attribute table Attribute columns can be sorted and you can specify whether to show values in ascending or descending order see fig ure_composer_25 You can choose to display the attributes of only features visible on a map Check Show only visible features and select the corresponding Composer map to filter You can define the Maximum number of rows to be displayed and the margin around text Additionally you can define the grid characteristics of the table Stroke width and Color of the grid and the header and content font 18 3 8 Add an HTML frame to the Print Composer ETE p It is possible to add a clickable frame linked to a URL Click the 3 Add HTML frame icon place the element with the left mouse button on the Print Composer canvas and position and customize the appearance in the Item Properties tab Propriedades principais The Main properties dialog of the HTML frame Item Properties tab provides the following functionalities see figure composer 26 Item Properties x HTML frame wv Main properties URL Resize mode Use existing frames b Position and size gt Frame b amp Background b Item ID b Rendering Figura 18 26 Separadores das propriedades do frame HT
54. Bibliogr ficas e Web 100 Actions 100 amplia o com a roda do rato 33 anota o 42 apache 153 apache2 153 Arc Info ASCII Grid 131 Arc Info Binary Grid 131 ArcInfo Binary Coverage 70 arquivo de sa da guardado como imagem 21 Atalhos de teclado 35 Atlas Generation 241 Atrac o 107 attribute table 118 Attribute Actions 100 Attribute Table 238 Attribute Table Selection 118 Avoid Intersections Of Polygons 108 Barra de Escala Map Scalebar 235 barra de ferramentas do layout 31 Browse Maps 65 c lculo da escala 34 Calculator Field 124 CAT 143 Categorized Renderer 84 CGI 152 Colliding labels 89 Color Ramp 84 ColorBrewer 84 Comma Separated Values 70 Common Gateway Interface 152 Complementos 247 Compose Maps 221 Composer Manager 245 Composer Template 222 Conte do da ajuda 35 Coordinate Reference System 147 Create Maps 221 Create New Layers 116 crossing the 180 degrees longitude line 76 CRS 147 ndice CSV 70 111 Current Edits 110 Custom Color Ramp 84 DB Manager 77 Debian Squeeze 153 define an action 100 Derived Fields 124 desenhar durante a atualiza o da edi o 37 Digitaliza o 109 Displacement plugin 87 documenta o 7 documento da licen a 295 edi o de qualidade 37 Editar escala dependente 36 editing 107 Elements Alignment 240 Enquadramento do Mapa 47 EPSG 59 Equal Interval 84 Erdas
55. Browser w Nata defined M b Apply Cancel OK S Coordinate 671139 3203444 Se FT a 00909 A Figura 12 17 Smart labeling of vector polygon layers Expression based label Function list Selected function help Search re r Geometry Arguments None val E Example Slength l Sperimeter sarea 42 E Operators a st o Lo i Lo ao ui ad Expression Region NAME 2 nArea format number Sarea 1000000 3 km Region Aleutians East E jew Output preview area 192 708 710 km Cancel GRIND Figura 12 18 Using expressions for labeling 92 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Expression based labeling is easy to work with All you have to take care of is that you need to combine all elements strings fields and functions with a string concatenation sign Il and that fields a written in double quotes and strings in single quotes Let s have a look at some examples label based on two fields name and place with a nates P place gt John Smith Paris label based on two fields name and place with a descriptive text My name is name and I live in place My name is John Smith and I live in Paris label bas
56. Capa voc deve encadernar as c pias em capas que carreguem de forma clara e leg vel todos estes Textos de Capa Textos de Capa Frontal na capa frontal e Textos de Quarta Capa na quarta capa Ambas as capas devem tamb m identificar de forma clara e leg vel voc como o editor das c pias A capa frontal deve apresentar o t tulo completo com todas as palavras deste igualmente proeminentes e vis veis Voc pode adicionar outro material nas capas C pias com mudan as limitadas s capas desde que preservando o t tulo do Documento e satisfazendo estas condi es podem ser tratadas como c pias literais em outros aspectos Se os textos necess rios a qualquer uma das capas s o demasiado volumosos para serem inclu dos de forma leg vel voc deve colocar os primeiros listados quantos couberem razoavelmente na pr pria capa e continuar o resto nas p ginas adjacentes Se voc publicar ou distribuir c pias Opacas do Documento em n mero maior que 100 voc deve ou incluir uma c pia Transparente leg vel por computador juntamente com cada c pia Opaca ou dizer em ou juntamente com cada c pia Opaca um endere o de rede a partir do qual o p blico geral possa acessar e obter usando protocolos de rede p blicos padr o uma c pia Transparente completa do Documento livre de material adicionado Se voc decidir pela segunda op o voc deve seguir passos razoavelmente prudentes quando come ar a distribuir as c pias Opacas em qu
57. Digitalizar uma camada existente Digitaliza o Adicionar fei o ver Digitalizar uma camada existente Digitaliza o Adicionar fei o ver Digitalizar uma camada existente Digitaliza o 7 1 4 Ver Op o de menu Atalho Refer ncia Barra de Ferramentas Alt Panor mica no Mapa Navega o no Mapa e Mover mapa para selec o Navegac o no Mapa oe Aproximar Navega o no Mapa Afastar Navega o no Mapa Selecionar ver Selecionar e desselecionar Atributos fei es Q Identificar fei es CrriAShL EH Atributos Medir ver Medi o Atributos 3 2 9 Ver tudo Cerito Niir Navega o no Mapa be i Aproximar camada Navega o no Mapa gt J Aproximar sele o GERA Navega o no Mapa oa Ultima visualiza o Navega o no Mapa Pr xima visualiza o Navega o no Mapa 4 1 Aproximar Resolu o Navega o no Mapa Natural Decora es ver Decora es G Dicas do Mapa Atributos E Novo Favorito Ctrl B ver Favoritos Espaciais Atributos Et Mostrar Favoritos Ctrl Shi ft B ver Favoritos Espaciais Atributos Pu Mee Atualizar ODE IR Navegac o no Mapa 7 1 5 Camada Op o de menu Atalho Barra de Fe Novo veja Criando novas camadas Vectoriais Gerenciar cc Incorporar camadas e grupos ver Projetos animados Va Adicionar Camada Vectorial Ctrl Shift V ver Trabalhando com Dados Vetoriais Gerenciar cc e Adicionar camada raster Ctrl Shift R ver Loading ras
58. E a units e airports majrivers alaska L 18 regions lakes popp R 19 w Segments c Segments left 2 right 1 Size 500000 00 units Height 3mm b Display gt Fonts and colors QD b Position and size Help Close b M Frame Figura 18 27 Linhas Guia de alinhamento no Compositor de Impress o Command history E Scalebar segment size Item deleted Change item position a Change item position E Map added E Item z order changed Change item position Man cale chanoed Figura 18 28 Hist rico de comandos no Compositor de Impress o 242 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 18 6 Gera o de Atlas The Print Composer includes generation functions that allow you to create map books in an automated way The concept is to use a coverage layer which contains geometries and fields For each geometry in the coverage layer a new output will be generated where the content of some canvas maps will be moved to highlight the current geometry Fields associated with this geometry can be used within text labels Every page will be generated with each feature To enable the generation of an atlas and access generation parameters refer to the Atlas generation tab This tab contains the following widgets see Figure_composer_29 Atlas generation x Im Generate an atlas v Configuration Coverage layer Hidden coverage layer Filter with e w Output Qut
59. Edi es Simultaneas This version of QGIS does not track if somebody else is editing a feature at the same time as you are The last person to save their edits wins 12 3 1 Configurando a Toler ncia de Atrac o e Raio de Pesquisa Antes de podermos editar os v rtices necessitamos de configurar a toler ncia e o raio de pesquisa para um valor que nos permita uma edi o ideal das geometrias da camada vectorial Toler ncia de Atrac o Snapping tolerance is the distance QGIS uses to search for the closest vertex and or segment you are trying to connect to when you set a new vertex or move an existing vertex If you aren t within the snapping tolerance QGIS will leave the vertex where you release the mouse button instead of snapping it to an existing vertex and or segment The snapping tolerance setting affects all tools that work with tolerance 1 A general project wide snapping tolerance can be defined by choosing Settings s Options On Mac go to QIS gt R Preferences On Linux Edit gt R Options In the Digitizing tab you can select between to vertex to segment or to vertex and segment as default snap mode You can also define a default snapping tolerance and a search radius for vertex edits The tolerance can be set either in map units or in pixels The advantage of choosing pixels is that the snapping tolerance doesn t have to be changed after zoom operations In our small digitizing project worki
60. Espacial SPIT Estatisticas Locais Capture coordenadas com o rato em diferentes SRC Fa a a gest o das suas bases de dados dentro do QGIS Converte do DXF para o formato de ficheiro SHP Ferramenta de Visualiza o Event Um conjunto de ferramentas vectoriais Ferramentas para carregamento e importa o de dados GPS Funcionalidade GRASS Funcionalidade matricial GDAL Georeferenciar rasters com GDAL Criar rasters heatmap para entrar pontos vetoriais Interpola o baseada nos v rtices da camada vectorial Edi o Offline e sincroniza o com a base de dados Acesso ao Oracle Spatial GeoRasters Gerir m dulos core e externos Computar caracter sticas geomorfol gicas a partir de MDE An lise do Caminho mais curto Acesso a BD SQL anywhere Interroga o espacial nos vectores Ferramenta de importa o Shapefile para PostgreSQL PostGIS Calcular estatisticas matriciais a partir de poligonos vectoriais Complemento de Captura de Coordenadas Modulo Gestor BD Complemento dxf2shp Complemento eVis Complemento flools Complemento GPS Integra o com SIG GRASS M dulo de Ferramentas GDAL georeferenciar M dulo de Mapa de Densidade Complemento de Interpola o M dulo Edi o Offiline Oracle Spatial GeoRaster Plugin O menu de complementos M dulo de An lise do Terreno Matricial M dulo de C lculo de Rotas Complemento SOL Anywhere Complemento de Consulta E
61. G Townshend and R Sohlberg Url http glcF umd edu data landcover index shtml Restore Default Style Save As Default LoadStyle Save Style Hep Apply Cancel OK Figura 13 9 Metadados do raster Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 13 3 Calculadora Matricial The Raster Calculator in the Raster menu allows you to perform calculations on the basis of existing raster pixel values see figure_raster_2_ The results are written to a new raster layer with a GDAL supported format The Raster bands list contains all loaded raster layers that can be used To add a raster to the raster calculator expression field double click its name in the Fields list You can then use the operators to construct calculation expressions or you can just type them into the box In the Result layer section you will need to define an output layer You can then define the extent of the calculation area based on an input raster layer or based on X Y coordinates and on columns and rows to set the resolution of the output layer If the input layer has a different resolution the values will be resampled with the nearest neighbor algorithm The Operators section contains all available operators To add an operator to the raster calculator expression box click the appropriate button Mathematical calculations x and trigonometric functions sin cos tan
62. Gestao do historico 211 QGIS User Guide Vers o 2 2 4 History and log x E INFO z fal Thu Oct 10 2013 13 07 47 GRASS execution console output Thu Oct 10 2013 13 07 46 GRASS execution commands E Thu Oct 10 2013 13 07 35 SAGA execution console output l fal Thu Oct 10 2013 13 07 29 SAGA execution commands e jy WARNING El ALGORITHM j ns Thu Oct 10 2013 13 07 46 processing runalg grass v voronoi C Wsers Wolaya qgis2 python plugins proces i mg Thu Oct 10 2013 13 07 29 processing runalg saga polygoncentroids C VUsers YWolaya qgis 2 python plugins E ERROR LET C UsersWolaya Desktop gt saga_cmd shapes polygons Polygon Centroids POLYGONS C WWsers Wolaya qgis2 python olugins processing tests data polygons shp CENTROIDS C Users Wolaya AppData Local Temp processing 56e 25336e9644496 5b4442c5ec 1cdaf651 CENTROIDS shp zz2z222 FF FFE FF zzz FFP SP dessa SSS HRS freee ds OF FHSS S Free FF FFF FF library path ct saga21 modules shapes_polygons dll library name Shapes Polygons module name Polygon Centroids author c 2003 by O Conrad Figura 17 29 Hist rico 7 each time you run one of those algorithms If for instance you are having problems executing a SAGA algorithm look for an entry named SAGA execution console output to check all the messages generated by SAGA and try to find out where the problem is Some alg
63. Guardar CERs ver Projetos Projecto td Salvar Como Ctrl Shift S ver Projetos Projecto CS Salvar como Imagem ver Arquivo de Sa da Exportar DXF ver Arquivo de Sa da Novo compositor de impress o ver Compositor de Impress o Projecto EN Gestor de compositores ver Compositor de Impress o Projecto Imprimir Compositores ver Compositor de Impress o O sair do OGIS Ctrl 4Q 24 Cap tulo 7 QGIS GUI QGIS User Guide Vers o 2 2 7 1 Barra de Menu 25 QGIS User Guide Vers o 2 2 7 1 2 Editar Op o de menu Desfazer e Refazer S Recortar Fei es Copiar fei es Colar fei es Colar fei o como o0 3 Adicionar fei o gt Mover Elemento s 49 Excluir Selecionado s e Rodar Elemento s UR Simplificar fei es Adicionar Anel Adicionar Parte e E3 Preenchimento Anel e Ed Excluir Anel OS Excluir Parte x C3 Remodelar fei es Curva de deslocamento Y Quebras Fei es ae Partes Split a Juntar Elementos Seleccionados untar Atributos dos Elementos e Rea andor amp Ferramenta de n s E CUM Atalho Refer ncia Barra de Ferramentas Cel FZ ver Digitaliza o Avan ada Ctrl Shi fti ver Digitaliza o Avan ada CEELIX ver Digitalizar uma camada existente CEEISC ver Digitalizar uma camada existente Ctrl V ver Digitalizar uma camada existente Veja Trabalhando com a Tabela de Atributos v
64. INTO gr FROM cities WHERE id 1 FOR UPDATE 278 Capitulo 19 Complementos END QGIS User Guide Vers o 2 2 sdo geor generatePyramid gr rLevel 5 resampling NN UPDATE cities SET image gr WHERE id 1 COMMIT Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 19 13 M dulo de An lise do Terreno Matricial 7 The Raster Terrain Analysis Plugin can be used to calculate the slope aspect hillshade ruggedness index and relief for digital elevation models DEM It is very simple to handle and provides an intuitive graphical user interface for creating new raster layers see Figure raster terrain 1 Descri o das an lises Slope Calculates the slope angle for each cell in degrees based on first order derivative estimation Exposi es Exposi o come ando com o O para direc o norte em graus contra rel gio Hillshade Creates a shaded map using light and shadow to provide a more three dimensional appearance for a shaded relief map Ruggedness Index A quantitative measurement of terrain heterogeneity as described by Riley et al 1999 It is calculated for every location by summarizing the change in elevation within the 3x3 pixel grid Relief Creates a shaded relief map from digital elevation data Implemented is a method to choose the elevation colors by analysing the frequency distribution Elevation layer gtopo30 Output layer a Output format jGeoT
65. ISSO ISSO e ISSO e ISSO ISSO isso Faz aquilo E faz aquilo e aquilo e aquilo e aquilo e aquilo e aquilo e aquilo e aquilo e aquilo e aquilo e aquilo e aquilo e aquilo e aquilo e aquilo Imagens que aparecem ao longo do guia do usu rio foram criadas em diferentes plataformas a plataforma indicada pelo cone espec fico da plataforma no final da legenda da figura Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 6 Cap tulo 2 Conven es CAP TULO 3 Pre mbulo Bem vindo ao mundo maravilhoso dos Sistemas de Informa o Geogr ficas SIG QGIS um Sistema de Informa o Geogr fica de C digo Aberto O projeto nasceu em maio de 2002 e foi criado como um projeto no SourceForge em junho do mesmo ano N s trabalhamos duro para tornar o software SIG que um software propriet rio tradicionalmente caro uma perspectiva vi vel para qualquer pessoa com acesso b sico a um computador pessoal QGIS atualmente funciona na maioria das plataformas Unix Windows e OS X QGIS desenvolvido usando o Qt toolkit http qt digia com e C Isso significa que QGIS considerado amig vel e tem uma interface gr fica GUI agrad vel e f cil de usar QGIS pretende ser um SIG de f cil utiliza o fornecendo fun es e fei es comuns O objetivo inicial do projeto era fornecer um visualizador de dados SIG QGIS chegou ao ponto em sua evolu o onde ele est sendo usado po
66. Imagine 131 Escala 36 ESRI 67 European Petroleom Search Group 59 example actions 101 Export as image 244 Export as PDF 244 Export as SVG 244 FastCGI 152 favoritos 43 favoritos espaciais ver favoritos 43 Ferramenta Consulta 123 Ferramentas de an lise 263 Ferramentas de pesquisa 264 Ferramentas do Georreferenciador 270 Ferramentas GRASS 177 Buscador 184 customizar 184 Field Calculator 124 Field Calculator Functions 126 GDAL 131 GeoTIFF 131 307 QGIS User Guide Vers o 2 2 GeoTiff 131 GiST Generalized Search Tree index 76 GML 143 Gradient_Color_Ramp 84 Graduated_Renderer 84 GRASS 169 veja Criando novos tores editando criando uma nova camada armazenamento de atributos 174 configurando categorias 175 configurando simbologias 176 editando tabela 177 ferramentas 181 ferramentas de digitaliza o 174 lincagem de atributos 174 regi o 177 regi o editada 177 regi o visualizada 177 resultados na tela 178 181 toler ncia de aproxima o 176 Grelha Map Grid 228 ve Histograma 139 HTML Frame 240 Identificar fei es 38 IGNF 59 Import Maps 65 impress o r pida do compositor de impress o 21 Imprimindo Export Map 244 Institut Geographique National de France 59 InteProxy 151 Interpola o de cores 136 janela principal 23 join 103 join layer 103 Layout_Maps 221 legenda 31 load a shapefile 68 loading_raster 131 M todo Discreto 136 M
67. Proje es CAP TULO 11 QGIS Browser The QGIS Browser is a panel in QGIS that lets you easily navigate in your filesystem and manage geodata You can have access to common vector files e g ESRI shapefiles or MapInfo files databases e g PostGIS Oracle SpatiaLite or MS SQL Spatial and WMS WFS connections You can also view your GRASS data to get the data into QGIS see Integra o com SIG GRASS QGIS Browser a ba Refresh ER Manage WMS iX New Shapefile Set layer CRS v in shapefiles Param Metadata Preview Attributes airports shp C3 alaska shp General C3 builtups shp C3 grassland shp Storage type of this layer lakes shp ESRI Shapefile C3 landice shp P C3 majrivers shp Source for this layer C3 pipelines sh ca o in P home alexandre Dropbox Trabalho QOGIS qgis sample data 9 railroads shp shapefiles airports shp C3 regions shp Geometry type of the features in this layer C rivers shp No C3 storagep shp Point ii swamp shp The number of features in this layer C3 trails shp trees shp 76 oo Editing capabilities of this layer V WES Add Features Delete Features Change Attribute Values Add Ej MSSQL Attributes Delete Attributes Create Spatial Index Fast F 7 Mafii Figura 11 1 QGIS browser as a stand alone application Use the QGIS Browser to preview your data The drag and drop function makes it easy to get your data into the map view and the map
68. Slope length SEXTANTE algorithm Slope aspect curvature SEXTANTE algorithm Downslope distance gradient SEXTANTE algorithm Relative heights and slope positions SEXTANTE algorithm Upslope Area SEXTANTE algorithm Dtm filter slope based SEXTANTE algorithm Vegetation index slope based SEXTANTE algorithm r slope aspect Generates raster layers of slope aspect cu SEXTANTE algorithm r flow Construction of slope curves flowlines flowpath le Figura 17 30 Linha de Comandos SEXTANTE 7 The Commander is started from the Analysis menu or more practically by pressing Shift Ctrl M you can change that default keyboard shortcut in the QGIS configuration if you prefer a different one Apart from executing SEXTANTE algorithms the Commander gives you access to most of the functionality in QGIS which means that it gives you a practical and efficient way of running QGIS tasks and allows you to control QGIS with reduced usage of buttons and menus Moreover the Commander is configurable so you can add your custom commands and have them just a few keystrokes away making it a powerful tool to help you become more productive in your daily work with QGIS 17 8 1 Comandos disponiveis The commands available in the Commander fall in the following categories e SEXTANTE algorithms These are shown as SEXTANTE algorithm lt name of the algorithm Menu items These are shown as Menu item menu entry
69. and it includes the identify select labeling and attributes functions 12 1 1 Shapefiles ESRI The standard vector file format used in QGIS is the ESRI shapefile Support is provided by the OGR Simple Feature Library http www gdal org ogr Um shapefile consiste na verdade de um conjunto de v rios arquivos Os tr s seguintes s o necess rios 1 shp file containing the feature geometries 2 dbf file containing the attributes in dBase format 3 shx index file Shapefiles also can include a file with a prj suffix which contains the projection information While it is very useful to have a projection file it is not mandatory A shapefile dataset can contain additional files For further details see the ESRI technical specification at http www esri com library whitepapers pdfs shapefile pdf 67 QGIS User Guide Vers o 2 2 Carregando um Shapefile To load a shapefile start QGIS and click on the 63 dd Vector Layer toolbar button or simply press Ctr1 Shi ft V This will bring up a new window see figure vector 1 Add vector layer Source type File Directory 2 Database J Protocol Encoding UTF 8 Source Dataset Browse Figura 12 1 Add Vector Layer Dialog 2 From the available options check 5 File Click on Browse That will bring up a standard open file dialog see figure vector 2 which allows you to navigate the file system and load a shapefile or other supported data source The s
70. are available Stay tuned for more operators to come With the C Add result to project checkbox the result layer will automatically be added to the legend area and can be visualized 13 3 1 Exemplos Convert elevation values from meters to feet Creating an elevation raster in feet from a raster in meters you need to use the conversion factor for meters to feet 3 28 The expression is 140 Cap tulo 13 Trabalhando com Dados Raster QGIS User Guide Vers o 2 2 Raster calculator Raster bands Result layer elevation 1 Output layer home alex elevation_Feet tiF m landcover 1 Current layer extent X min 7117600 00000 XMax 4897040 00000 Y min 1367760 00000 Y max 7809680 00000 Columns 3663 Rows 1964 Output format GeoTIFF amp Add result to project Operators sqrt sin acos cos asin tan atan lt gt lt gt AND OR Raster calculator expression elevation 1 gt 0 elevation 1 3 28 Expression valid Cancel OK Figura 13 10 Calculador Matricial elevation 1l 3 28 Usando uma m scara If you want to mask out parts of a raster say for instance because you are only interested in elevations above 0 meters you can use the following expression to create a mask and apply the result to a raster in one step alevationel gt D elevationgl In other
71. be created and the associated DBF table will contain information about the TEXT fields found in the DXF file and the text strings themselves 19 5 Complemento dxf2shp 253 QGIS User Guide Vers o 2 2 g i Dxf Importer a g CS Input and output Input Dxf file L qggis sample data gps geodata dxf ad Outputfile qgis sample data gps geodata shp Export text labels Output file type Polyline e Polga Point P Hep W OK Cancel Figura 19 8 Complemento Conversor Dxf2Shape 19 5 1 Usando o Plugin 1 Start QGIS load the Dxf2Shape plugin in the Plugin Manager see O menu de complementos and click r on the 4g Pxf2Shape Converter icon which appears in the QGIS toolbar menu The Dxf2Shape plugin dialog appears as shown in Figure dxf2shape 1 2 Enter the input DXF file a name for the output shapefile and the shapefile type 3 Marque a caixa s Export text labels se voc deseja criar uma camada extra do tipo pontos com os r tulos 4 Clique OK Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 6 Complemento eVis This section is derived from Horning N K Koy P Ersts 2009 eVis v1 1 0 User s Guide American Museum of Natural History Center for Biodiversity and Conservation Available from http biodiversityinformatics amnh org and released under the GNU FDL The Biodiversity Informatics Facility at the American
72. configured so there is no need to do anything else 17 7 Configurando as aplica es externas 213 QGIS User Guide Vers o 2 2 If you have installed SAGA yourself remember you need version 2 1 the path to the SAGA executable must be configured To do this open the configuration dialog In the SAGA block you will find a setting named SAGA Folder Enter the path to the folder where SAGA is installed Close the configuration dialog and now you are ready to run SAGA algorithms from QGIS If you are running Linux SAGA binaries are not included with SEXTANTE so you have to download and install the software yourself Please check the SAGA website for more information SAGA 2 1 is needed In this case there is no need to configure the path to the SAGA executable and you will not see those folders Instead you must make sure that SAGA is properly installed and its folder is added to the PATH environment variable Just open a console and type saga cmd to check that the system can find where the SAGA binaries are located 17 7 4 Sobre as limita es do sistema de grelhas do SAGA Most SAGA algorithms that require several input raster layers require them to have the same grid system That is they must cover the same geographic area and have the same cell size so their corresponding grids match When calling SAGA algorithms from QGIS you can use any layer regardless of its cell size and extent When multiple raster layers are used as inpu
73. current working LOCATION with its MAPSETs In the left browser windows you can browse through all MAPSETs inside the current LOCATION The right browser window shows some meta information for selected raster or vector layers e g resolution bounding box data source connected attribute table for vector data and a command history The toolbar inside the Browser tab offers the following tools to manage the selected LOCATION y guilabel Adicione mapa selecionado tela L3 guilabel Copiar mapa selecionado guilabel Renomeia mapa selecionado to guilabel Exclua mapa selecionado LI guilabel Defina regi o atual de mapa selecionado Q guilabel Atualizar janela de busca A guilabel Renomeia mapa selecionado e ouilabel Cad Exclua mapa selecionado s trabalha com os mapas dentro do seu selecionado arquivo MAPSET Todas as outras ferramentas tamb m trabalham com camadas vetoriais e raster em outro arquivo MAPSET 16 9 4 Personalizando a caixa de ferramentas GRASS Nearly all GRASS modules can be added to the GRASS Toolbox An XML interface is provided to parse the pretty simple XML files that configure the modules appearance and parameters inside the Toolbox 184 Cap tulo 16 Integra o com SIG GRASS QGIS User Guide Vers o 2 2 GRASS Tools alaska demo Modules Tree Modules List oy Quo M E pa Vector airports f i9 raster e gtopo30 Points T6 Y DB vector Lines o gt airports I
74. da camada Raster ver figura raster 1 Existem v rios menus na janela de dialogo Geral Estilo e Transpar ncia e Pir mides e Histograma e Metadados 13 2 1 Menu Geral Informa o da camada O menu Geral apresenta informa o b sica do raster selecionado incluindo o caminho da camada origem o nome que aparece na legenda que pode ser modificado e o n mero de colunas linhas e valores nulos do raster 132 Cap tulo 13 Trabalhando com Dados Raster QGIS User Guide Vers o 2 2 Layer Properties landcover General x LIRE w Layer info Layer name landcover displayed as landcover Style Layer source 2 Dropbox Trabalho QGIS aqgis sample da ta raste la ndcoverimg T Transparency n Columns 3663 Rows 1964 No Data Value n a a Pyramids v Coordinate reference system IS Histogram EPSG 2964 NAD27 Alaska Albers Specify ri Metadata w Scale dependent visibility Maximum j B Minimum ip RS D O eee M AXI i Jr cp 4 9 l nim U n 4 100 000 000 inclusive exclusive Current Current Thumbnail Legend Palette Restore Default Style Save As Default Load Style Save Style Hep Apply Cancel OR Figura 13 1 Di logo de Propriedades das Camadas do Raster Sistema de Referencia de Coordenadas Aqui encontra se a informa o do Sistema de Referencia de Coordenadas SRC impressa como string PROJ 4 Se esta d
75. data can also be loaded in read mode from zip and gzip archives into QGIS As of the date of this document more than 100 raster formats are supported by the GDAL library see GDAL SOFTWARE SUITE in Refer ncias Bibliogr ficas e Web A complete list is available at http www gdal org formats list html Nota Not all of the listed formats may work in QGIS for various reasons For example some require external commercial libraries or the GDAL installation of your OS may not have been built to support the format you want to use Only those formats that have been well tested will appear in the list of file types when loading a raster into QGIS Other untested formats can be loaded by selecting the GDAL All files x filter Working with GRASS raster data is described in section ntegrac o com SIG GRASS 13 1 1 O que s o dados raster Raster data in GIS are matrices of discrete cells that represent features on above or below the earth s surface Each cell in the raster grid is the same size and cells are usually rectangular in QGIS they will always be rectangular Typical raster datasets include remote sensing data such as aerial photography or satellite 1magery and modelled data such as an elevation matrix Unlike vector data raster data typically do not have an associated database record for each cell They are geocoded by pixel resolution and the x y coordinate of a corner pixel of the raster layer This allows QGIS to position th
76. de acordo com a lei de direitos autorais Uma Vers o Modificada do Documento se refere a qualquer trabalho contendo o Documento ou uma parte deste quer seja copiado sem modifica es quer com modifica es e ou traduzido para outra l ngua Uma Se o Secund ria um ap ndice com nome ou uma se o inicial do Documento que trata exclusivamente da rela o dos editores ou autores do Documento com seu assunto geral ou temas relacionados e n o cont m nada que possa estar diretamente dentro do assunto geral Assim se o Documento em parte um livro texto de matem tica uma Se o Secund ria n o pode explicar nada de matem tica Tal rela o pode ser uma conex o hist rica com o assunto ou com temas relacionados ou tratar de quest es legais comerciais filos ficas ticas ou pol ticas com rela o a eles Se es Invariantes s o certas Se es Secund rias cujos t tulos s o designados como sendo de Se es invariantes na nota que afirma que o Documento publicado sob esta Licen a Se uma se o n o se encaixa na defini o acima de Secund ria ent o n o se permite que seja designada como Invariante O Documento pode n o conter nenhuma Se o Invariante Se o documento n o identificar quaisquer Se es Invariantes ent o n o h nenhuma Textos de Capa s o certas passagens de texto que s o listada como Textos de Capa Frontal ou Texto de Quarta Capa na nota que afirma que o Documen
77. de acordo com esta defini o O Documento pode incluir Notas de Garantia em seguida nota que afirma que esta Licen a se aplica ao Docu mento Estas Notas de Garantia s o tidas como inclusas por refer ncia nesta Licen a mas somente com rela o as notas de garantia qualquer outra implica o que estas Notas de Garantia possam ter anulada e n o tem efeito algum no conte do desta Licen a 2 VERBATIM COPYING Voc pode copiar e distribuir o Documento em qualquer meio comercialmente ou n o comercialmente desde que esta licen a as notas de direitos autorais copyright e a nota de licen a afirmando que esta Licen a se aplica ao Documento sejam reproduzidas em todas as c pias e que voc n o inclua outras condi es quaisquer que sejam as condi es desta Licen a Voc n o pode usar de medidas t cnicas para obstruir ou controlar a leitura ou c pia futura das c pias que voc fizer ou distribuir Contudo voc pode aceitar compensa o em troca das c pias Se voc distribuir um n mero suficientemente grande de c pias voc deve tamb m respeitar as condi es na se o 3 Voc pode tamb m emprestar c pias sob as mesmas condi es acima mencionadas e voc tamb m as pode mostrar publicamente 3 COPYING IN QUANTITY Se voc publicar c pias impressas ou c pias em um meio que normalmente tem capas impressas do documento em n mero maior que 100 e a nota de licen a do Documento requer Textos de
78. de cada ficheiro raster de entrada Quadriculas um atributo contendo um nome do ficheiro e a geometria do poligono do limite do raster Veja tamb m http www gdal org gdaltindex html configuracoes das Ferramentas GDAL Use este di logo para embeber vari veis GDAL Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 9 Complemento Georreferenciador The Georeferencer Plugin is a tool for generating world files for rasters It allows you to reference rasters to geographic or projected coordinate systems by creating a new GeoTiff or by adding a world file to the existing image The basic approach to georeferencing a raster is to locate points on the raster for which you can accurately determine coordinates Recursos 270 Capitulo 19 Complementos QGIS User Guide Vers o 2 2 Icone Prop sito Icone Prop sito Abrir Raster Iniciar georreferenciamento Gerar scrip GDAL Carregar pontos GCP Salvar pontos GCP como Configura es de transforma o Adicionar ponto Excluir ponto F E3 o Mover ponto GCP Movimentar a Aproximar Afastar Ver a camada Ultima visualiza o Pr xima visualiza o Ligar Georeferenciador ao QGIS Link QGIS ao Georeferenciador A Full histogram stretch Local histogram stretch Tabela Georreferenciador 1 Ferramentas do georreferenciador 19 9 4 Procedimento comum As X and Y coordinates DMS dd mm ss ss DD dd d
79. definir os valores M n e M x escolhendo primeiro a Extens o e depois clicando em Carregar QGIS pode Estimar mais r pido os valores M n e M x das bandas ou usar Real mais lento Precis o Layer Properties cascais map Style E Y Band rendering General Render type singleband gray A Transparency Gray band Band 1 Red Load min max values EE Cumulati 2 Ta m E ecloracedien 20 980 2 gy Pyramids Color gradient Black to white A count cu Min 0 996094 Min max IR Histogram Mean Max 229 102 SMS Metadata standard deviation x 1 00 gt Contrast ecc enhancement Extent Accuracy Full Estimate Faste Current O Actual slower Figura 13 4 Representa o do Raster Banda nica cinza 13 2 Di logo de propriedades do Raster 135 QGIS User Guide Vers o 2 2 Pode se criar uma escala de cores com ajuda da se o Carregar valores m n m x Os valores discrepantes podem ser eliminados usando o 54 Corte na Contagem acumulativa para definir a elimina o A amplitude padr o est fixada entre 2 a 98 dos valores dos dados e pode ser modificada manualmente Com esta defini o os valores cinza da imagem podem desaparecer Outras defini es podem ser determinadas com o M n m x e M dia x desvio padr o _ Enquanto a primeira op o cria uma tabela de cores com todos os dados inclu dos n
80. definir uma op o configpath que sobrep e uma rota pr determinada pel configura o do usu rio ex qgis2 bajo Linux e tamb m for a uma QSettings ao usar esse diret rio Ele te permite por exemplo levar uma Instala o do QGIS em uma mem ria flash junto com todos os complementos e a configura o Veja a se o Menu Sistema para informa es adicionais 6 2 Amostra de Dados O guia de utilizador cont m exemplos baseados no conjunto de amostra de dados do QGIS Y O instalador do Windows tem uma op o para baixar o conjunto de dados de amostra do QGIS Ao marcar a op o os dados ser o baixados em sua pasta Meus Documentos e ficar o locados em uma pasta chamada GIS Database Pode se usar o Windows Explorador para mover esta pasta para um local adequado Se n o marcar a caixa de sele o para instala o do conjunto de dados de amostra durante a instala o inicial do QGIS pode optar por uma das seguintes Usar dados SIG que j possuo e Baixar dados de amostra de http download osgeo org ggis data qgis sample data zip Desinstalar QGIS e reinstalar com a op o baixar dados marcada s recomendado de as solu es anteriores n o funcionarem 17 QGIS User Guide Vers o 2 2 X Para GNU Linux e Mac OS X ainda n o existe dispon vel pacotes de instala o de dados no formato rpm deb ou dmg Para usar o conjunto de dados de amostra baixe o arquivo qgis_sample_data como um arquivo ZIP de http
81. desta Licen a para faz los e todos os seus termos e condi es para copiar distribuir ou modificar o Programa ou trabalhos baseados nele 6 Cada vez que voc redistribuir o Programa ou qualquer trabalho baseado nele os recebedores adquirir o automaticamente do licenciador original uma licen a para copiar distribuir ou modificar o Programa su jeitos a estes termos e condi es Voc n o poder impor aos recebedores qualquer outra restri o ao exerc cio dos direitos ent o adquiridos Voc n o respons vel em garantir a concord ncia de terceiros a esta Licen a 7 Se em conseqii ncia de decis es judiciais ou alega es de infringimento de patentes ou quaisquer outras raz es n o limitadas a assuntos relacionados a patentes condi es forem impostas a voc por ordem judicial acordos ou outras formas e que contradigam as condi es desta Licen a elas n o o livram das condi es desta Licen a Se voc n o puder distribuir de forma a satisfazer simultaneamente suas obri ga es para com esta Licen a e para com as outras obriga es pertinentes ent o como conseqii ncia voc n o poder distribuir o Programa Por exemplo se uma licen a de patente n o permitir a redistribui o livre de royalties do Programa por todos aqueles que receberem c pias direta ou indiretamente de voc ent o a nica forma de voc satisfazer a ela e a esta Licen a seria a de desistir completamente de distribui
82. direito do rato na rea do mapa para criar o primeiro ponto do seu novo elemento 12 3 Editando 109 QGIS User Guide Vers o 2 2 Para linhas e pol gonos mantenha o clique com o bot o direito do rato para cada ponto adicional que pretende capturar Quando acabar de adicionar os pontos clique com o direito do rato em qualquer s tio da rea do mapa para confirmar a finaliza o da introdu o da geometria desse elemento The attribute window will appear allowing you to enter the information for the new feature Figure edit 2 shows setting attributes for a fictitious new river in Alaska In the Digitizing menu under the Settings Options menu you can also activate A Suppress attributes pop up windows after each created feature and Ed Reuse last entered attribute values Attributes rivers F CODEDESC NULL NAM MyNewRiver F CODE NewShinyCode here Cancel NOK Figura 12 34 Introduza os Valores dos atributos na Janela ap s a digitaliza o do novo elemento vectorial 4b With the Move Feature s icon on the toolbar you can move existing features Dica Tipos de Valores de Atributo For editing the attribute types are validated during entry Because of this it is not possible to enter a number into a text column in the dialog Enter Attribute Values or vice versa If you need to do so you should edit the attributes in a second step within the Attribute table dialog Edicoes Actuais This new featu
83. do Compositor 227 QGIS User Guide Vers o 2 2 update the Print Composer view by selecting the map element in the Print Composer and clicking the Update preview button Ocampo Escala 9 v define a escala manual e The field Rotation 1 allows you to rotate the map element content clockwise in degrees Note that a coordinate frame can only be added with the default value 0 Ed Draw map canvas items lets you show annotations that may be placed on the map canvas in the main QGIS window You can choose to lock the layers shown on a map item Check 4 Lock layers for map item After this is checked any layer that would be displayed or hidden in the main QGIS window won t appear or be hidden in the map item of the Composer But style and labels of a locked layer are still refreshed according to the main QGIS interface Extens es The Extents dialog of the map item tab provides the following functionalities see figure composer 5 v Extents Xmin 3486912 802 Y min 2938764 227 X max 148257 802 Y max 5392832 468 Figura 18 5 Janela de Extens es do Mapa The Map extent area allows you to specify the map extent using Y and X min max values or by clicking the Set to map canvas extent button If you change the view on the QGIS map canvas by changing vector or raster properties you can update the Print Composer view by selecting the map element in the Print Composer and clicking the Update preview butto
84. do arquivo carrega sua defini o de transpar ncias e a aplica a camada do raster em uso 13 2 4 Menu de Piramides Grandes camadas raster com grande resolu o podem tornar a navega o lenta em QGIS Criando c pias em baixa resolu o dos dados pir mides o desempenho pode ser melhorado consideravelmente j que QGIS seleciona a resolu o mais apropriada dependendo do n vel do zoom Voc deve pode ter direito de grava o no diret rio onde os dados originais s o armazenados para construir pir mides V rios m todos de reamostragem podem ser usados para calcular as piramides e Vizinho mais pr ximo e M dia e Gauss e C bico e Modo e Nenhum Se seleciona Interno se poss vel do menu Formato Overview QGIS tenta calcular as pir mides internamente Pode se selecionar tamb m Externo e Erdas Externo Formato Erdas Imagine Note que o c lculo de pir mides pode modificar o arquivo original de dados e uma vez criado n o pode ser apagado Se deseja preservar uma vers o sem pir mides de seu raster fa a uma copia de seguran a antes do c lculo das pir mides 138 Cap tulo 13 Trabalhando com Dados Raster QGIS User Guide Vers o 2 2 Layer Properties landcover Pyramids General uu Resolutions escription Style D p Jd 1832x982 lad J Large resolution raster layers can slow navigation in QGIS By 916x491 am Transparency creating lower resolution copie
85. do diferente e seus itens t m de ser encontradas aqui Propriedades do Projeto Projecto w Op es Editar R Configurar Atalhos Editar Gerenciar estilo Editar e SRC personalizado Editar Pain is Exibir Barra de Ferramentas Exibir Mudar para o Modo de Tela Inteira Exibir Escala deslizante Exibir Live GPS tracking Exibir 7 2 Barra de Ferramentas A barra de ferramentas permite o acesso maioria das mesmas fun es dos menus al m de ferramentas adicionais para interagir com o mapa Cada item da barra de ferramentas pop up tem ajuda dispon vel Mantenha o mouse sobre o item e uma breve descri o a respeito da ferramenta ser exibida 30 Cap tulo 7 QGIS GUI QGIS User Guide Vers o 2 2 Cada menu pode ser movido de acordo com suas necessidades Al m disso cada menu pode ser desligado com o bot o direito do mouse sobre o menu de contexto segurando o bot o do mouse sobre a barra de ferramentas leia tamb m Pain is e Barras de Ferramentas Dica Restaurar barra de ferramentas Se voc tiver acidentalmente escondido todas as barras de ferramentas voc pode recuper las escol hendo a op o do menu Exibir Barras de ferramentas Se uma barra de ferramentas desaparece no Windows o que parece ser um problema no QGIS de vez em quando voc deve remover a chave HKEY_CURRENT_USER Software QGIS qgis UI state no registro Quando voc reiniciar o QGIS a chave estar escrita novamente com o estado p
86. e Service Service parameter to be used alternatively to hostname port and potentially database This can be defined in pg_service conf Host Name of the database host This must be a resolvable host name such as would be used to open a telnet connection or ping the host If the database 1s on the same computer as QGIS simply enter localhost here Port Port number the PostgreSQL database server listens on The default port is 5432 Database Name of the database SSL mode How the SSL connection will be negotiated with the server Note that massive speedups in PostGIS layer rendering can be achieved by disabling SSL in the connection editor The following options are available Disable Only try an unencrypted SSL connection Allow Try a non SSL connection If that fails try an SSL connection Prefer the default Try an SSL connection If that fails try a non SSL connection Require Only try an SSL connection Username User name used to log in to the database Password Password used with Username to connect to the database Optionally you can activate the following checkboxes A Salvar nome do usu rio Salvar Senha E Apenas olhar na tabela geometry_columns E Don t resolve type of unrestricted columns GEOMETRY guilabel Apenas olhar no esquema p blico 12 1 Formatos de dados suportados 73 QGIS User Guide Vers o 2 2 E Tamb m listar tabelas sem geometrias
87. es s o armazenadas no registo em HKEY CURRENT_USER Software QGIS qgis 9 4 Personaliza o A ferramenta de personaliza o permite que des active a maioria dos elementos na interface de utilizador QGIS Isto pode ser muito til se tiver um n mero elevado de m dulos instalados que nunca usa e que est o a encher o ecra Customization E A ExpandAll Collapse All Select All amp Enable customization Object name Label Descriptior amp mToggleExtentsViewButton v KZ Toolbars gt amp mAdvancedDigitizeToolBar Advanced D gt mAttributesToolBar Attributes le tb Toin T x k Reset Apply Cancel paru Figura 9 5 A janela de Personaliza o QGIS A Personaliza o est dividida em cinco grupos No Ed Menus pode esconder as entradas na Barra Menu No Ed Painel pode encontrar o painel de janelas As janelas do Painel s o aplica es que pode ser iniciadas e usadas como flutuantes janelas de topo de n vel ou embebidas na janela principal do QGIS como um widget 56 Cap tulo 9 Configura o QGIS QGIS User Guide Vers o 2 2 ancorado veja also Pain is e Barras de Ferramentas Na Cd Barra de Estado caracter sticas como a informa o das coordenadas podem ser desactivadas Na C Caixa de Ferramentas pode des activar os cones da barraa de ferramentas do QGIS e em Ed Widgets pode des activatar janelas assim como os seus bot es With E Switch to catching
88. es Se necessita iniciar QGIS na shell execute path to installation executable Contents MacOS Qgis Para finalizar o QGIS clique na op o do menu rs 7 Arquivo X QGIS Sair ou use o atalho Ctr1 0 6 5 Op es da Linha de Comandos QGIS suportam um n mero de op es quando iniciam pelas linhas de comando Para obter uma lista das op es introduza qgis help na linha de comando A senten a de uso para o QGIS qgis help QGIS 2 2 0 Valmiera Valmiera exported QGIS is a user friendly Open Source Geographic Information System Usage qgis OPTION FILE options snapshot filename emit snapshot of loaded datasets to given file width width width of snapshot to emit height height height of snapshot to emit lang language use language for interface text project projectfile load the given QGIS project 6 4 Iniciar e Parar QGIS 19 QGIS User Guide Vers o 2 2 extent xmin ymin xmax ymax set initial map extent nologo hide splash screen nop lugins don t restore plugins on startup nocustomization don t apply GUI customization customizationfile use the given ini file as GUI customization oOptionspath path use the given QSettings path configpath path use the given path for all user configuration code path run the given python file on load help this text FILES Files specified on the command line can include rasters vectors and QGIS project fil
89. expression or you can just type it into the box see Calculadora de Campos Since QGIS 2 2 you can create a new rule by copying and pasting an existing rule with the right mouse button Also since QGIS 2 2 you can use the ELSE rule that will be run if none of the other rules on that level match Layer Properties majrivers Style v Layer rendering General Layer transparency 2 0 Layer blending mode Normal Feature blending mode Normal Labels Sa Fields Ea E Label Rule Min scale Max scale Count Duplicate count Rendering LENGTH lt 2000 2466 2466 98 Display LENGTH gt 2000 2888 2888 ELSE 5354 5354 RO Actions Joins mI oe E amp Refine current rules Count features Rendering order IEE Diagrams Load Style Save As Default Restore Default Style Save Style E UE He Apply Cancel OK Figura 12 13 Rule based Symbolizing options Deslocamento de ponto The Point Displacement Renderer works to visualize all features of a point layer even 1f they have the same location To do this the symbols of the points are placed on a displacement circle around a center symbol Dica Export vector symbology You have the option to export vector symbology from QGIS into Google kml dxf and MapInfo tab files Just open the right mouse menu of the layer and click on Save selection as to specify the name of the output fil
90. finally terminates your license and b 302 Capitulo 21 Ap ndice QGIS User Guide Vers o 2 2 permanently if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation Al m disso sua licen a de um detentor dos direitos autorais permanentemente reinstalada se o detentor nofiticar voc da viola o por motivos razo veis esta a primeira vez que voc recebeu noticias da viola o desta licen a de qualquer detentor e voc remedia a viola ao anteriormente a 30 dias ap s ter recebido a not cia O t rmino dos seus direitos sobre esta se o nao finaliza a licen a de partes que receberam c pias de voc sobre esta licen a Se seus direitos terminaram a n o foram permanentemente reinstalados o recebimento de uma c pia ou parte do mesmo material nao d a voc o direito de us lo 10 FUTURAS REVIS ES DESTA LICEN A A Funda o do Software Livre pode publicar novas revisadas vers es do GNU de tempos em tempos A nova vers o ser similar a presente vers o mas pode diferir em detalhes para encaminhar novos problemas ou preocu pa es Veja http www gnu org copyleft Para cada vers o da Licen a dado um n mero de vers o distinto Se o Documento especificar que uma vers o particular desta Licen a ou qualquer vers o posterior se aplica a ele voc tem a op o de seguir os termos e condi es tanto daquela vers o espec fica ou de
91. formato GML chamado de Elemento no GUI dolqgl neste contexto Se o formato Elemento for suportado pelo servidor e seleccionado os resultados da ferramenta Identificar s o elementos vectoriais como normais camadas vectoriais Quando um elemento seleccionado na rvore destacada no mapa e pode ser copiada para a rea de transfer ncia e colada noutra camada vectorial Veja o exemplo da instala o em baixo do UMN Mapserver para suportar o formato GML GetFeaturelnfo in layer METADATA add which fields should be included and define geometry example gml include items all ows_geometries mygeom ows_mygeom_type polygon Then there are two possibilities formats available see a and b a basic output is generated by Mapserver and does not contain XSD in WEB METADATA define formats example wms getfeatureinfo formatlist application vnd ogc gml text html b using OGR output is generated by OGR it is send as multipart and contains XSD in MAP define OUTPUTFORMAT example OUTPUTFORMAT NAME OGRGML MIMETYPE ogr gml DRIVER OGR GML FORMATOPTION FORM multipart END in WEB METADATA define formats example wms getfeatureinfo formatlist OGRGML text html Propriedades de Visualiza o Uma vez ter adicionado o servidor WMS pode ver as suas propriedades clicando com o direito do rato na legenda e seleccionando Propriedades Separador de Metadados O separador Metadados exibem a
92. from a layer or a CSV file Enumeration Opens a combo box with values that can be used within the columns type This is currently only supported by the PostgreSQL provider e Imut vel A coluna de atributo imut vel somente leitura O usu rio n o habilitado para modificar o conte do e Hidden A hidden attribute column is invisible The user is not able to see its contents Checkbox Displays a checkbox and you can define what attribute is added to the column when the check box is activated or not 12 2 Janela de Propriedades de Vetor 95 QGIS User Guide Vers o 2 2 e Edi o de texto Isto abre um campo de edi o de texto que permite que v rias linhas sejam utilizadas e Calend rio Abre um widget de calend rio para introduzir uma data Tipo de coluna deve ser de texto Value Relation Offers values from a related table in a combobox You can select layer key column and value column UUID Generator Generates a read only UUID Universally Unique Identifiers field if empty Photo Field contains a filename for a picture The width and height of the field can be defined Webview Field contains a URL The width and height of the field is variable Color A field that allows you to enter color codes During data entry the color is visible through a color bar included in the field Relation Reference This widged lets you embed the feature form of the referenced layer on the feature
93. import loc data para importar o shapefile rvores do diret rio shapefiles no GRASS Now an intermediate step is required centroids must be added to the imported trees map to make it a complete GRASS area vector including both boundaries and centroids From the Toolbox choose Vector Manage features and open the module v centroids Digite como mapa vetor de sa da forest areas e rode o m dulo Now load the forest areas vector and display the types of forests deciduous evergreen mixed in different colors In the layer Properties window Symbology tab choose from Legend type 7 Unique value and set the Classification field to VEGDESC Refer to the explanation of the symbology tab in sec_symbology of the vector section Next reopen the GRASS Toolbox and open Vector Vector update by other maps Click on the v rast stats module Enter gtopo30 and forest areas Only one additional parameter is needed Enter column prefix elev and click Run This is a computa tionally heavy operation which will run for a long time probably up to two hours Finally open the forest areas attribute table and verify that several new columns have been added including elev min elev max elev mean etc for each forest polygon 16 9 3 Trabalhando com o buscador LOCALIZA O GRASS Another useful feature inside the GRASS Toolbox is the GRASS LOCATION browser In figure grass module 7 you can see the
94. import the elevation point data file elevp csv that comes with the QGIS sample dataset see section Amostra de Dados X Y ELEV 300120 768996003713 605436007 75602040752 1640 7512840 3 PER Some items to note about the text file 1 The example text file uses semicolon as delimiter Any character can be used to delimit the fields The first row 1s the header row It contains the fields X Y and ELEV No quotes are used to delimit text fields 2 3 4 The X coordinates are contained in the X field 5 The Y coordinates are contained in the Y field Loading a delimited text file 1 M Click the toolbar icon E Add Delimited Text Layer in the Manage layers toolbar to open the Create a Layer from a Delimited Text File dialog as shown in figure delimited text 1 First select the file to import e g qgis sample data csv elevp csv by clicking on the Browse button Once the file is selected QGIS attempts to parse the file with the most recently used delimiter To enable QGIS to properly parse the file it is important to select the correct delimiter You can specify a delimiter by activating Custom delimiters or by activating Regular expression delimiter and entering text into the Expression field For example to change the delimiter to tab use Nt this is a regular expression for the tab character Once the file is parsed set Geometry definition to Point coordinates and choose the X and Y fields from the
95. isotropic Add Coordinates Lo pOolfDutS 95 e e gt saga addcoordinatestopoints Ada Grid Values to POLO css gt saga addgridvaluestopoints Add Grid Values Lo Shapeb e gt saga addgridvaluestoshapes Add Polygon Ateributes to POLlHLS gt saga addpolygonattributestopoints DO EC 6 Se a a c cephed e gt saga taggregate Aggregate Point Observations gt S gt saga aggregatepointobservations 206 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 Agoregataion Indese ceo gt saga aggregationindex Analytical Hierarchy Process iate sito gt saga analyticalhierarchyprocess Analytical HILUSDaQLnDg ee gt saga analyticalhillshading Average With Mask sis a sis ais nie gt saga averagewithmaskl Average With Mask 2a SeS 36 6 s36S5 2556 gt saga averagewithmask2 Average With Thereshold 5a esto mae gt Saga averagewiththeresholdl Average With Thereshold Z2 gt saga averagewiththereshold2 Average With Thereshola 3 gt ice sas gt saga averagewiththereshold3 B Splin Abproximali on gt os mo sad gt saga b splineapproximation Esta a lista de to
96. item provides the following functionalities 18 3 Itens do Compositor 229 QGIS User Guide Vers o 2 2 Item Properties E3 Label Main properties Alignment Display Position and size Frame amp Background Item ID T FY F0 F0 F 0 F F Rendering Figura 18 8 Separador das propriedades da Etiqueta 4b Propriedades principais The Main properties dialog of the label Item Properties tab provides the following functionalities see Fig ure_composer_9 w Main properties QGIS Render as HTML Insert an expression Font Font color Figura 18 9 Janela Principal das propriedades da Etiqueta rs The main properties dialog is where the text HTML or not or the expression needed to fill the label is added to the Composer canvas e Labels can be interpreted as HTML code check Ed Render as HTML You can now insert a URL a clickable image that links to a web page or something more complex You can also insert an expression Click on Insert an expression to open a new dialog Build an ex pression by clicking the functions available in the left side of the panel On the right side of the Insert an expression dialog the help file associated with the function selected is displayed Two special categories can be useful particularly associated with the atlas functionality geometry functions and records functions At the bottom a preview of the expression is shown Define font and font color by clicking on
97. iterative mode the entered file path is used as the base path for all generated files which are named using the base name and appending a number representing the index of the iteration The file extension and format is used for all such generated files Apart from raster layers and tables algorithms also generate graphics and text as HTML files These results are shown at the end of the algorithm execution in a new dialog This dialog will keep the results produced by any algorithm during the current session and can be shown at any time by selecting Processing Results viewer from the QGIS main menu Some external applications might have files with no particular extension restrictions as output but they do not belong to any of the categories above Those output files will not be processed by QGIS opened or included into the current QGIS project since most of the time they correspond to file formats or elements not supported by QGIS This is for instance the case with LAS files used for LiDAR data The files get created but you won t see anything new in your QGIS working session For all the other types of output you will find a checkbox that you can use to tell the algorithm whether to load the file once it is generated by the algorithm or not By default all files are opened Optional outputs are not supported That is all outputs are created However you can uncheck the corresponding checkbox if you are not interested in a giv
98. janela onde pode criar ou imprimir o mapa atual ver se o Compositor de Impress o Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 22 Cap tulo 6 Iniciando CAP TULO 7 QGIS GUI Quando QGIS come a voc ser apresentado a interface gr fica como mostrado nas figuras os n meros de 1 a 5 em c rculos amarelos s o discutidas abaixo Nota QGIS 2 2 0 Valmiera QGIS GUI Project Edit View DEBRA Ve amp amp ABBAS jer Settings Plugins Vector Raster Database Web Processing Help Va 9s M fie stu oFCROBRRERORRE Layers x ere E bel eae E O Ji Eras 9 WH landcover Bl water E Evergreen Neddleleaf For Ei Evergreen Broadleaf Forest Bl Deciduous Needleleaf Fo E Deciduous Broadleaf Forest od Mixed Forest lll woodland 3 B Wooded Grassland m Closed Shrubland Open Shrubland E Grassland Cropland Bare Ground I urban and Built Layers Layerorder Browser Coordinate 1114358 4783471 5 400 000 v 9 amp Render EPSG 2964 O Figura 7 1 GUI do QGIS com dados amostra do Alaska Suas decora es de janela barra de t tulo etc podem parecer diferentes dependendo do seu sistema operacional e gerenciador de janelas O GUI do QGIS dividido em cinco reas L Barra de Menu 2 Barra de Ferraementas 3 Legenda do Mapa 4 5 Visualiza o do mapa Barra de Status
99. localiza o do GRASS spearfish60 Voc pode baixaarr a carta militar aqui http grass osgeo org sampledata spearfish toposheet tar gz Entrando com pontos de controle GCPs Ground Control Points 1 To start georeferencing an unreferenced raster we must load it using the a button The raster will show up in the main working area of the dialog Once the raster is loaded we can start to enter reference points 2 O botao Adicionar Ponto amp usado para adicionar pontos na rea de trabalho principal e introduzir as suas coordenadas veja Figura figura do georeferenciador 2 Para este procedimento tem tr s op es Clique em determinado ponto da imagem raster e entre com suas coordenadas X e Y manualmente Click on a point in the raster image and choose the L From map canvas button to add the X and Y coordinates with the help of a georeferenced map already loaded in the QGIS map canvas 19 9 Complemento Georreferenciador 271 QGIS User Guide Vers o 2 2 Georeferencer spearfish_topo24 tif fa 6 67 756 eA A oe a 5 es Pi TER E 1 Ne i F DNE D Ame bp obe EC i z 9 v f E D E nT E p i E E ie Saar as 1 n b i hos Es S 7 i EX x on off id SrCX srcY dstX dsty dX pixels dY pixels residual pixels Ej O 594324 70 4925379 62 594323 07 4925378 72 0 07 0 66 0 67 Ej 1 600163 35 4925580 09 600162 18 4925582 35 0 16 0 90 0 92 Ej 2 608468 69 4924874 29 60846
100. lt 22s ex x39 sas bai E on DA EA E de OHS 79 I COMO be ee 9 399 DAS EAST DESA Ce de ROME E DG DE E 107 124 Ferramenta de Consulta gt e 9o ROG RR OROURE UE ORO oiim RA RIDDLE DEE d 123 12 5 ulculadorade Campos e e x wx x9 39 340464686 SEO FREE EE EERE EEK EA 125 Trabalhando com Dados Raster 131 13 1 Trabalhando com dados raster 4 ae oa Re ew OS Ox ox ESO we Bw ES xs 131 13 2 Di logo de propriedades do Rastel 2 444 646 48 m Ro RO ORE Hee HEE DPS EEG 132 15 3 Calculadora Matricial s gbREExxxEEX GeEXL4G0 Ae4 32 4 4 93 x24 140 Trabalhando com dados OGC 143 14 1 QGIS como Cliente de Dados OGC eee 143 14 7 QGIS com Servidor de Dados OGC uuu s vou kou wo 9 x wv x OR Koo ox EEE HSH OM 152 Trabalhando com dados GPS 159 13 1 Complemento GPS spas bee ee SECAS EDER ELES bum WR EE 159 15 2 Rastreio GPS em tempo real suo ub ok 9 E whom RR kRRESUGSRGS ELE A 163 Integra o com SIG GRASS 169 16 1 Iniciando o complemento GRASS scraps che he week X EUR 9 X x 169 16 2 Carregando camadas raster e vetorial GRASS 2 222222 lle 170 16 3 Localiza o e MAPSET GRASS 44 9 ck os oxkooROx Row oS ER ERE X09 ox 170 16 4 Importando dados para uma localiza o GRASS 22 ee ee ee 173 165 O modelo de dados vetorial do GRASS css sas 66s ee wee Ee ow x moms 9 ee OS 173 16 6 Criando uma nova camada vetorial GRASS leen 174 16 7 Digitalizando e editando uma camada vetorial GR
101. mapX mapY pixelX pixelyY Pode usar o E Carregar pontos GCP eo Eg Guardar pontos GCP como para gerir os arquivos Definindo as configura es de transforma o Depois que os pontos GCP est o devidamente adicionados imagem raster necess rio definir as configura es de transforma o para o processo de georreferenciamento 272 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 Transformation settings Transformation type Linear Resampling method Nearest neighbour Compression LZW amp Create world file Target SRS lio Generate pdf map spearfish topo2Z4 pdf a Generate pdf report Ji _ Set Target Resolution Horizontal Vertical Use 0 for transparency when needed Load in QGIS when done Help Cancel Lan OK Figura 19 18 Definindo as configura es de transforma o do georeferenciador Algoritmos de transforma o dispon veis Depending on how many ground control points you have captured you may want to use different transformation algorithms Choice of transformation algorithm is also dependent on the type and quality of input data and the amount of geometric distortion that you are willing to introduce to the final result Currently the following Transformation types are available The Linear algorithm is used to create a world file and is different from the other algorithms as it does not actually transform the
102. mento O MMC eleg vel para um novo licenciamento se est licenciado sob esta Licen a e se todas as obras que foram publicadas pela primeira vez sob esta licen a em outro lugar que este MMC e posteriormente incorporadas no todo ou em parte para o MMC 1 n o tinha textos cobertos ou se es invariantes e 2 foram assim incorporados antes de 1 de novembro de 2008 O operador de um site MMC pode republicar uma MMC contido no site sob CC BY SA no mesmo local a qualquer momento antes de 1 de agosto de 2009 desde que o MMC eleg vel para um novo licenciamento ADDENDUM Como usar esta Licen a em seus documentos Para usar esta Licen a num documento que voc escreveu inclua uma c pia da Licen a no documento e ponha as seguintes notas de copyright e licen as logo ap s a p gina de t tulo Copyright O ANO SEU NOME concedida permiss o para copiar distribuir e ou modificar este documento sob os termos da GNU Free Documentation License Vers o 1 3 ou qualquer vers o poste rior publicada pela Free Software Foundation sem Sec es Invariantes sem Textos de Capa Frontal e sem volta Textos de Capa Uma c pia da licen a inclu da na se o intitulada GNU Free Docu mentation License Se voc tiver Se es Invariantes Textos de Capa Frontal e Textos de Capa Traseira substitua a linha com Textos por esta com as Se es Invariantes sendo LISTA SEUS T TULOS com os Textos de Capa sendo LIST
103. menu In the General tab click the Create Spatial Index button Problema ao carregar um arquivo shape prj If you load a shapefile with a prj file and QGIS is not able to read the coordinate reference system from that file you will need to define the proper projection manually within the General tab of the Layer Properties dialog of the layer by clicking the Specify button This is due to the fact that pr files often do not provide the complete projection parameters as used in QGIS and listed in the CRS dialog For the same reason if you create a new shapefile with QGIS two different projection files are created a prj file with limited projection parameters compatible with ESRI software and a qp7 file providing the complete parameters of the used CRS Whenever QGIS finds a qp j file it will be used instead of the prj 12 1 2 Carregando uma camada MapInfo Va To load a MapInfo layer click on the Va Add Vector Layer toolbar button or type Ct r1 Shift v change the file type filter Files of type EI to Mapinfo File OGR mif tab MIF TAB and select the MapInfo layer you want to load 12 1 3 Carregando uma camada Arcinfo Binary Vo To load an ArcInfo Binary Coverage click on the Va Add Vector Layer toolbar button or press Ctr1 Shi ft V to open the Add Vector Layer dialog Select 9 Directory as Source type Change the file type filter Files of type I I to Arc Info Binary Coverage Navigate to
104. modifica es feitas por outros Esta licen a uma esp cie de copyleft oque significa que trabalhos derivativos do documento devem ser livres no mesmo sentido Ela complementa a GNU Licen a Publica Geral que uma licen a copyleft projetada para softwares livres Criamos esta Licen a para que seja usada em manuais para programas livres porque programas livres precisam de documenta o livre um programa livre deveria vir com manuais que ofere am as mesmas liberdades que o programa oferece Mas esta Licen a n o est limitada a manuais de programas de computador ela pode ser usada para qualquer trabalho de texto independentemente do assunto ou se publicado como um livro impresso N s recomendamos esta Licen a principalmente para trabalhos cujo prop sito instru o ou refer ncia 1 APPLICABILITY AND DEFINITIONS Esta licen a se aplica a qualquer manual ou outro trabalho em qualquer meio que contenha uma nota introduzida pelo detentor dos direitos autorais dizendo que o documento pode ser distribu do sob os termos desta Tal nota garante uma licen a mundial livre de royalties de dura o ilimitada para usar este trabalho sob as condi es aqui colocadas O Documento abaixo se refere a qualquer tal manual ou trabalho Qualquer membro do p blico um licenciado e ser tratado por voc Voc aceita a licen a se copiar modificar ou distribuir o trabalho de um modo que necessite de permiss o
105. not equal a lt b a is less than or equal to b a gt b a is larger than or equal to b a b a matches the regular expression b a positive sign a negative value of a joins two values together into a string Hello world LIKE returns 1 if the string matches the supplied pattern ILIKE returns 1 if the string matches case insensitive the supplied pattern ILIKE can be used instead of LIKE to make the match case insensitive LS returns 1 if a is the same as b OR returns 1 when condition a or b is true AND returns 1 when condition a and b are true NOT returns 1 if a is not the same as b column name column name value of the field column name rScring a string value NULL null value a IS NULL a has no value a IS NOT NULL a has a value 126 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 a IN value value a is below the values listed a NOT IN value value a is not below the values listed Condicionantes Este grupo cont m fun es para controlar verifica es condicionais em express es CASE evaluates multiple expressions and returns a result CASE ELSE evaluates multiple expressions and returns a result coalesce returns the first non NULL value from the expression list regexp match Fun es Matem ticas returns true if any part of a string matches the supplied regular expression Este grupo cont m fun es matem ticas ex ra z quadrada sen e cos sqrt a square root
106. not have gaps Adjacent polygons should not form gaps between them Administrative boundaries could be mentioned as an example US state polygons do not have any gaps between them Must not have invalid geometries Checks whether the geometries are valid Some of the rules that define a valid geometry are Os an is do pol gono devem estar fechados An is que definem buracos devem estar dentro de an is que definem os limites exteriores Os an is n o se podem intersectar a si mesmo nem mesmo tocar ou cruzar um no outro Os an is n o podem tocar outros an is excepc o de um ponto Must not have multi part geometries Sometimes a geometry is actually a collection of simple single part geometries Such a geometry is called multi part geometry If it contains just one type of simple geometry we call it multi point multi linestring or multi polygon For example a country consisting of multiple islands can be represented as a multi polygon Must not overlap Adjacent polygons should not share common area Must not overlap with Adjacent polygons from one layer should not share common area with polygons from another layer Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 20 Complemento Estat stica Zonal om O J Complemento Estat stica Zonal pode se analisar os resultados de uma classifica o tem tica Permite calcular v rios valores de pixeis d
107. of a abs returns the absolute value of a number sin a sine of a cos a cosine of a tan a tangent of a asin a arcsin of a acos a arccos of a atan a arctan of a atan2 y xX arctan of y x using the signs of the two arguments to determine the quadrant of the result exp exponential of a value ln value of the natural logarithm of the passed expression log10 value of the base 10 logarithm of the passed expression log value of the logarithm of the passed value and base round round to number of decimal places rand random integer within the range specified by the minimum and maximum argument inclusive randf random float within the range specified by the minimum and maximum argument inclusive max largest value in a set of values min smallest value in a set of values clamp restricts an input value to a specified range scale linear scale exp transforms a given value from an input domain to an output range using linear interpolation transforms a given value from an input domain to an output range using an exponential curve floor rounds a number downwards ceil rounds a number upwards Spi pi ms value for calculations Convers es Este grupo cont m fun es para converter tipos de data para outros ex cadeia de texto para inteiro inteiro para cadeia de texto COLNE converts a string to integer number toreal converts a string to real number tostring converts number to string todatetime converts a str
108. of string a replace returns a string with the supplied string replaced regexp replace a this that returns a string with the supplied regular expression replaced regexp substr returns the portion of a string which matches a supplied regular expression substr xax from len returns a part of a string concat concatenates several strings to one Strpos returns the index of a regular expression in a string left returns a substring that contains the n leftmost characters of the string right returns a substring that contains the n rightmost characters of the string rpad returns a string with supplied width padded using the fill character lpad returns a string with supplied width padded using the fill character format formats a string using supplied arguments format_number returns a number formatted with the locale separator for thousands also truncates the number to the number of supplied places format_date formats a date type or string into a custom string format Funcoes de Cor Este grupo cont m fun es para manipular cores color rgb returns a string representation of a color based on its red green and blue components color_rgba returns a string representation of a color based on its red green blue and alpha transparency components ramp color returns a string representing a color from a color ramp coLor hs returns a string representation of a color based on its hue Saturation and lightness attributes color hela returns a stri
109. position each element and adjust the properties to create your layout The layout can be printed or exported to image formats PostScript PDF or to SVG export to SVG 1s not working properly with some recent Qt4 versions you should try and check individually on your system You can save the layout as a template and load it again in another session Finally generating several maps based on a template can be done through the atlas generator See a list of tools in table composer 1 221 QGIS User Guide Vers o 2 2 Finalidade Finalidade Guardar Projecto Novo Compositor Duplicar Compositor Gestor de Compositores Carregar a partir do modelo Guardar como modelo Print or export as PostScript Exportar como imagem Exportar como SVG Exportar como PDF Reverter ltima altera o Restaurar a ltima altera o S4 Dg m Y re Zoom Total Zoom to 100 1p Aproximar Afastar Refresh View Li gcc Zoom to specific region Pan Seleccionar Mover item Mover conte do do item Adicionar novo mapa do QGIS no enquadramento do mapa Adicionar imagem e Adicionar nova etiqueta Adicionar nova legenda Adicionar forma b sica Add scale bar to print composition Adicionar seta Adicionar tabela de atributos Add an HTML frame Desagrupar itens Unlock All items Agrupar itens Lock Selected Items Elevar itens seleccionados Abaixar itens seleccionados Tut Trazer para a frente Enviar para tr s EN Alinhar
110. pr definido no QGIS Este valor pode ser alterado via o bot o Seleccionar na primeira sec o que usada para definir o sistema de coordenadas por omiss o para novos projectos como mostrado na figure projection 1 Este op o pode ser gravada para uso em sess es subsequentes do QGIS Quando usa temas que n o t m um SC tem de definir como o QGIS reage a estes temas Isto pode ser feito globalmente ou por projecto no separador SC no Defini es Op es As op es mostradas na figure projections 1 s o 59 QGIS User Guide Vers o 2 2 Options CRS 55 General w Default CRS for new projects Don t enable on the fly reprojection Sy stem amp Automatically enable on the Fly reprojection if layers have different CRS EEE Data Sources Enable on the fly reprojection by default Rendering Always start new projects with this CRS pair EPSG 4326 WGS 84 Select L Map Tools CRS for new layers When a new layer is created or when a layer is loaded that has no CRS 9 Prompt for CRS Lia Composer Digitizing o O Use project CRS 5 Use default CRS displayed below EPSG 4326 WGS 84 Select v Default datum transformations Ask For datum transformation when no default is defined E Source CRS Destination Cl Source datum Destination datum transform Figura 10 1 Separador SRC na Janela de Op e
111. propriedades da camada para alterar a cor da linha para que os contornos apare am claramente sobre o raster eleva o como em ref vector properties dialog Next zoom in to a small mountainous area in the center of Alaska Zooming in close you will notice that the contours have sharp corners GRASS offers the v generalize tool to slightly alter vector maps while keeping their overall shape The tool uses several different algorithms with different purposes Some of the algorithms 1 e Douglas Peuker and Vertex Reduction simplify the line by removing some of the vertices The resulting vector will load faster This process is useful when you have a highly detailed vector but you are creating a very small scale map so the detail is unnecessary Dica A ferramenta simplificar Note that the QGIS fTools plugin has a Simplify geometries tool that works just like the GRASS v generalize Douglas Peuker algorithm However the purpose of this example is different The contour lines created by r contour have sharp angles that should be smoothed Among the v generalize algorithms there is Chaiken s which does just that also Hermite splines Be aware that these algorithms can add additional vertices to the vector causing it to load even more slowly Open the GRASS Toolbox and double click the categories Vector gt Develop map Generalization then click on the v generalize module to open its options window e Verifique se o vetor
112. pyqgis developer cookbook index html 4 7 Consola Python 11 QGIS User Guide Vers o 2 2 4 8 Known Issues 4 8 1 Number of open files limitation If you are opening a large QGIS project and you are sure that all layers are valid but some layers are flagged as bad you are probably faced with this issue Linux and other OSs likewise has a limit of opened files by process Resource limits are per process and inherited The ul imit command which is a shell built in changes the limits only for the current shell process the new limit will be inherited by any child processes You can see all current ulimit info by typing user host S ulimit as You can see the current allowed number of opened files per proccess with the following command on a console user host S ulimit Sn To change the limits for an existing session you may be able to use something like user host S ulimit Sn number_of_allowed_open_files user host ulimit Sn user host S qgis To fix it forever On most Linux systems resource limits are set on login by the pam_limits module according to the settings contained in etc security limits conf or etc security limits d conf You should be able to edit those files if you have root privilege also via sudo but you will need to log in again before any changes take effect More info http www cyberciti biz faq linux increase the maximum number of open files http linuxaria com article open files in
113. qgs and a copy of the qgis mapserv fcgi file that s all Now we test our project WMS WFS and WCS Add the WMS WFS and WCS as described in Carregando as camadas WMS WMTS WFS e WFS T Cliente and WCS Cliente to QGIS and load the data The URL is http localhost cgi bin project qgis mapserv fcgi Afinando o seu OWS For vector layers the Fields menu of the Layer Properties dialog allows you to define for each attribute if it will be published or not By default all the attributes are published by your WMS and WFS If you want a specific attribute not to be published uncheck the corresponding checkbox in the WMS or WFS column You can overlay watermarks over the maps produced by your WMS by adding text annotations or SVG annotations to the project file See section Annotation Tools in Ferramentas Gerais for instructions on creating annotations For annotations to be displayed as watermarks on the WMS output the Fixed map position check box in the Annotation text dialog must be unchecked This can be accessed by double clicking the annotation while one of the annotation tools is active For SVG annotations you will need either to set the project to save absolute paths in the General menu of the Project Project Properties dialog or to manually modify the path to the SVG image in a way that it represents a valid relative path Os par metros extra suportados pelo pedido WMS GetMap In the WMS GetMap request QGIS Server accepts a coupl
114. quando se processa grandes quantidades de dados uma vez que n o ser necess rio Iniciar o algoritmo v rias vezes na caixa de ferramentas Para executar um algoritmo como um processamento em lote clique com o direito do mouse na caixa de ferra mentas e selecione a op o Executar como processamento em lote no bal o de op es que ira aparecer Fast Dae d Fin m m Eee Execute as batch process Figura 17 25 Clique no bot o direito do mouse para processar em lote 17 4 2 Os par metros da tabela A execu o de um processamento em lote semelhante execu o nica de um algoritmo Os valores do par metro t m de ser definidos mas neste caso n s necessitamos um conjunto de par metros uma para cada vez que o algoritmo executado Os valores s o introduzidos usando uma tabela como mostrada a seguir Cada linha desta tabela representa uma nica execu o do algoritmo e cada c lula cont m o valor de um dos par metros E semelhante aos par metros do di logo que v quando executa o algoritmo a partir da caixa de ferramentas mas com uma diferente disposi o Por defeito a tabela cont m apenas duas linhas Pode adicionar ou remover linhas usando os bot es na parte inferior da janela Uma vez que o tamanho da tabela for configurado ter de ser preenchido com os valores desejados 17 4 3 Preenchendo os par metros da tabela Para a maioria dos par metros a configura o do valor trivi
115. records 03 of 76 Display Options Configure External Applications File extension and external application in which to load a document of that type Extension Application 3 E 1 pdf usr bin evince 23 E 2 html usr bin google chrome o 3 odt Jusr bin write Figura 19 11 The eVis External Applications window Arquivo tabela de refer ncia Uma tabela contendo os tipos de arquivos que podem ser abertos usando eVis Cada tipo de arquivo tem uma extens o de arquivo e o caminho para um aplicativo poder abr lo Isso fornece a capacidade de abrir uma ampla gama de arquivos como filmes grava es sonoras e documentos de texto em vez de apenas imagens Adicionar novo tipo de arquivo Adicionar um novo tipo de arquivo com uma extens o nica e o caminho para o aplicativo poder abr lo Excluir linha atual Exclui o tipo de arquivo em destaque na tabela e definido por uma extens o de arquivo e um caminho para um aplicativo associado 19 6 2 Especificando o local e o nome de uma fotografia The location and name of the photograph can be stored using an absolute or relative path or a URL 1f the pho tograph is available on a web server Examples of the different approaches are listed in Table evis examples X Y FILE BEARING 780596 1784017 C Workshop eVis_Data groundphotos DSC_0168 JPG 245 780596 1784017 groundphotos DSC_0169 JPG 80 780819 1784015 http biodiversityinformatics amnh org evis testdata DSC 0170 J
116. release process packaging binaries for various OSs and announcing new releases to the world at large You can subscribe to this list at http lists osgeo org mailman listinfo qgis release team 20 1 8 Tradu o do QGIS Esta lista trata dos esfor os de tradu o Se voc gosta de trabalhar na tradu o dos manuais ou na interface gr fica do usu rio GUI esta lista um bom ponto de partida para fazer suas perguntas Voc pode se inscrever nesta lista em http lists osgeo org mailman listinfo qgis tr 20 1 9 Aprendizado QGIS This list deals with QGIS education efforts If you would like to work on QGIS education ma terials this list is a good starting point to ask your questions You can subscribe to this list at http lists osgeo org mailman listinfo qgis edu 20 1 10 Comit Diretor QGIS Esta lista usada para discutirmos assuntos do Comit de Dire o relacionados com a boa gest o e dire o do GIS Podem assinar esta lista em http lists osgeo org mailman listinfo qgis psc You are welcome to subscribe to any of the lists Please remember to contribute to the list by answering questions and sharing your experiences Note that the qgis commit and qgis trac lists are designed for notification only and are not meant for user postings 20 2 IRC We also maintain a presence on IRC visit us by joining the qgis channel on irc freenode net Please wait for a response to your question as many folks on the channel are do
117. riqueza de informa o sobre o servidor WMS geralmente recolhidos a partir da declara o de de Capacidades devolvidos a partir desse servidor Muitas das defini es podem ser removidas atrav s da leitura dos padr es WMS veja OPEN GEOSPATIAL CONSORTIUM Refer ncias Bibliogr ficas e Web mas aqui est o algumas defini es uteis Propriedades do Servidor Vers o do WMS Vers o do WMS suportada pelo servidor Formatos de Imagem A lista de MIME types que o servidor pode responder com o desenho do mapa O QGIS formata qualquer que seja as bibliotecas Qt subjacentes que foram constru das que pelo menos tipicamente a image png e image jpeg Formatos de Identidade A lista dos MIME types do servidor pode responder quando usa a ferra menta identificar Actualmente o QGIS suporta o tipo text plain Propriedades da Camada 14 1 QGIS como Cliente de Dados OGC 149 QGIS User Guide Vers o 2 2 Seleccionado Querendo ou n o esta camada seleccionado quando o seu servidor foi adicionado a este projecto Vis vel Seja ou n o essa camada esta seleccionada como vis vel na legenda Ainda n o usado nesta vers o do QGIS Pode Identificar Camada que retorna ou n o resultados atrav s do uso da ferramenta Identificar Pode ser Transparente Quando uma camada pode ou n o pode ser renderizada com transpar ncia Esta vers o do QGIS ir sempre usar a transpar ncia se est
118. saving and restoring projects 4 3 Criar editar gerir e exportar dados You can create edit manage and export vector and raster layers in several formats QGIS offers the following Digitizing tools for OGR supported formats and GRASS vector layers Ability to create and edit shapefiles and GRASS vector layers Georeferencer plugin to geocode images GPS tools to import and export GPX format and convert other GPS formats to GPX or down upload directly to a GPS unit On Linux usb has been added to list of GPS devices e Support for visualizing and editing OpenStreetMap data Ability to create spatial database tables from shapefiles with DB Manager plugin Tratamento melhorado de tabelas de bases de dados espaciais Tools for managing vector attribute tables Option to save screenshots as georeferenced images 4 4 An lise de dados You can perform spatial data analysis on spatial databases and other OGR supported formats QGIS currently offers vector analysis sampling geoprocessing geometry and database management tools You can also use the integrated GRASS tools which include the complete GRASS functionality of more than 400 modules See section Integra o com SIG GRASS Or you can work with the Processing Plugin which provides a power ful geospatial analysis framework to call native and third party algorithms from QGIS such as GDAL SAGA GRASS fTools and more See section Introdu o 4 5 Publica o de
119. se ao trabalho modificado como um todo Se se es identific veis de tal trabalho n o s o derivadas do Programa e podem ser razoavelmente consideradas trabalhos independentes e sepa rados por si s ent o esta Licen a e seus termos n o se aplicam a estas se es quando voc distribui las como trabalhos em separado Mas quando voc distribuir as mesmas se es como parte de um todo que trabalho baseado no Programa a distribui o como um todo tem que se enquadrar nos termos desta Li cen a cujas permiss es para outros licenciados se estendem ao todo portanto tamb m para cada e toda parte independente de quem a escreveu Desta forma esta se o n o tem a inten o de reclamar direitos os contestar seus direitos sobre o trabalho es crito completamente por voc ao inv s disso a Inten o a de exercitar o direito de controlar a distribui o de trabalhos derivados ou coletivos baseados no Programa Adicionalmente a mera adi o ao Programa de outro trabalho n o baseado no Programa ou de trabalho baseado no Programa em um volume de armazenamento ou meio de distribui o n o faz o outro trabalho parte do escopo desta Licen a 3 Voc pode copiar e distribuir o Programa ou trabalho baseado nele conforme descrito na Se o 2 em c digo objeto ou em forma execut vel sob os termos das Se es 1 e 2 acima desde que voc fa a um dos seguintes a O acompanhe com o c digo fonte completo e em forma acess
120. siga as regras desta Licen a para c pias literais de cada documento em todos os outros aspectos Voc pode extrair um nico documento desta cole o e distribu lo individualmente sob esta Licen a desde que voc Insira uma c pia desta Licen a no documento extra do e siga esta Licen a em todos os outros aspectos com rela o c pia literal do documento 7 AGGREGATION WITH INDEPENDENT WORKS Uma compila o do Documento ou seus derivados com outros documentos ou trabalhos separados e indepen dentes dentro de ou junto a um volume de um meio de armazenagem ou distribui o configura um agregado se os direitos autorais resultantes da compila o n o forem usados para limitar os direitos legais dos usu rios desta al m do que os trabalhos individuais permitem Quando o Documento inclu do em um agregado esta Licen a n o se aplica aos outros trabalhos no agregado que n o forem por sua vez derivados do Documento Se o requerimento do Texto de Capa da se o 3 for aplic vel a estas c pias do documento ent o se o Documento for menor que metade do agregado inteiro os Textos de Capa do Documento podem ser colocados em capas que encerrem o Documento dentro do agregado ou o equivalente eletr nico das capas se o Documento estiver em formato eletr nico Do contr rio eles devem aparecer como capas impressas que envolvam o agregado inteiro 8 TRANSLATION Uma tradu o considerada como sendo um tipo de modif
121. tabelas Estes s o seleccionados de uma lista mas s em caso dos valores poss veis serem camadas ou tabelas carregadas no QGIS a lista dos dados de entrada do modelo do tipo correspondente ou outras camadas ou tabelas geradas por algoritmos que j tenham sido adicionadas ao modelo Valores num ricos Valores literais podem ser introduzidos directamente na caixa de texto Mas esta caixa de texto tamb m uma lista que pode ser usada para seleccionar qualquer valor num rico de entrada do modelo Nesse caso o par metro ir tomar o valor introduzido pelo utilizador quando executado o modelo e Cadeia de texto Como no caso dos valores num ricos as cadeias de texto podem ser introduzidas ou uma cadeia de texto de entrada pode ser seleccionada Campo da Tabela Os campos de uma tabela origem ou camada n o podem ser conhecidas na altura do seu desenho uma vez que dependem da selec o do utilizador cada vez que o modelo executado Para definir o valor para este par metro introduza o nome do campo directamente na caixa de texto ou usa a lista para seleccionar a entrada do campo de tabela que j est adicionada no modelo A validade de um campo seleccionado ira ser verificado no seu processo de execu o 200 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 Em todos os casos ira encontrar um par metro adicional denominado de Algoritmos Parent que n o est dispon vel quando chamado o algori
122. testing Visit http docs ggis org for QGIS 2 2 docs and translations 15 1 Complemento GPS 15 1 1 O que GPS GPS the Global Positioning System is a satellite based system that allows anyone with a GPS receiver to find their exact position anywhere in the world GPS is used as an aid in navigation for example in airplanes in boats and by hikers The GPS receiver uses the signals from the satellites to calculate its latitude longitude and sometimes elevation Most receivers also have the capability to store locations Known as waypoints sequences of locations that make up a planned route and a tracklog or track of the receiver s movement over time Waypoints routes and tracks are the three basic feature types in GPS data QGIS displays waypoints in point layers while routes and tracks are displayed in linestring layers 15 1 2 Carregando dados GPS de um arquivo Existem dezenas de diferentes formatos de arquivo para armazenar dados de GPS O formato que QGIS usa chamado GPX GPS eXchange format que um formato padr o de interc mbio que pode conter qualquer numero de waypoints rotas e trilhas no mesmo arquivo To load a GPX file you first need to load the plugin Plugins fu Plugin Manager opens the Plugin Manager Dialog Activate the A GPS Tools checkbox When this plugin is loaded two buttons with a small handheld GPS device will show up in the toolbar o e Of Create new GPX Layer liz e oo GPS Tools Fo
123. the Font and Font color buttons Alinhamentos e Exibi o The Alignment and Display dialogs of the label Item Properties tab provide the following functionalities see Figure_composer_10 230 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 v Alignment Horizontal Left Center Right Vertical Top Middle gt Bottom v Display Margin 1 00 mm Rotation 0 00 Figura 18 10 Janelas do Alinhamento e Exibi o da Etiqueta e You can define the horizontal and vertical alignment in the Alignment zone e No r tulo Exibi o pode definir a margem em mm e ou o ngulo de rota o em graus para o texto 18 3 3 Adicionando uma imagem ao Compositor de Impress o To add an image click the Ey Add image icon place the element with the left mouse button on the Print Composer canvas and position and customize its appearance in the image Item Properties tab The image Item Properties tab provides the following functionalities see figure composer 11 Item Properties x Picture b Main properties b Search directories b Rotation Position and size Frame d b b amp Background b Item ID b Rendering Figura 18 11 Separador Propriedades do Item da Imagem Propriedades principais Direct rios de pesquisa e Rota o The Main properties and Search directories dialogs of the image Item Properties tab provide the following func tionalities see Figure_composer_12 e A jan
124. the directory that contains the coverage file and select 1t Similarly you can load directory based vector files in the UK National Transfer Format as well as the raw TIGER Format of the US Census Bureau 70 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 12 1 4 Delimited Text Files Tabular data is a very common and widely used format because of its simplicity and readability data can be viewed and edited even in a plain text editor A delimited text file is an attribute table with each column separated by a defined character and each row separated by a line break The first row usually contains the column names A common type of delimited text file is aCSV Comma Separated Values with each column separated by a comma Such data files can also contain positional information in two main forms As point coordinates in separate columns As well known text WKT representation of geometry QGIS allows you to load a delimited text file as a layer or ordinal table But first check that the file meets the following requirements 1 The file must have a delimited header row of field names This must be the first line in the text file 2 The header row must contain field s with geometry definition These field s can have any name 3 The X and Y coordinates if geometry is defined by coordinates must be specified as numbers The coor dinate system is not important As an example of a valid text file we
125. the menus Schema and Table additionally appear The Schema menu includes tools to create and delete empty schemas and 1f topology is available e g PostGIS 2 to start a Topo Viewer 252 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 DB Manager A a 4 eb Refresh SQL window Import layer file Export to file Tree Info Table Preview gt t PostGIS v SpatiaLite poligonos testes spatialite test db sqlite ES Spatiallndex geom cols ref sys General info E geometry columns EJ geometry columns auth E idx poligonos testes Ej idx poligonos testes Eg ES Relation type Table Rows 2 idx poligonos testes Spati aLite idx poligonos testes poligonos testes Column geometry ES spatial ref sys Geometry MULTIPOLYGON ES spatialite_history Dimension XY ES sqlite_sequence Spatialref Datum 73 Modified Portuguese Grid E views geometry colu 27493 EJ virts geometry columns Extent unknown find out Fields Figura 19 7 Janela do Gestor DB A The Table menu allows you to create and edit tables and to delete tables and views It is also possible to empty tables and to move tables from one schema to another As further functionality you can perform a VACUUM and then an ANALYZE for each selected table Plain VACUUM simply reclaims space and makes it available for reuse ANALYZE updates statistics to determine the most efficient way to execute a query Finally you can import la
126. todos eles t m a sua pr pria interpreta o da norma WMS As camadas WMS podem ser adicionadas facilmente desde que conhe a o acesso URL para o servidor WMS tenha uma liga o de servi o a esse servidor e o servidor compreenda HTTP como um mecanismos de transporte de dados Vis o Global do Suporte WMTS O QGIS pode tamb m agir como um cliente WMTS O WMTS um padr o OGC para a distribui o de conjuntos de mosaicos de dados geoespaciais Isto uma forma mais r pida e mais eficiente para distribuir dados que o WMS porque com o WMTS os conuntos de mosaicos s o pr gerados e o cliente apenas faz pedidos de transmiss o dos mosaicos e n o os produz Um pedido t pico do WMS envolve a gera o e transmiss o de dados Um exemplo conhecido de um padr o n o OGC para a visualiza o de mosaicos de dados geoespaciais o Google Maps De maneira a exibir os dados a v rias escalas perto do que o utilizador queira ver os conjuntos de mosaicos WMTS s o produzidos em v rios diferentes n veis de escala e s o disponibilizados para o cliente SIG a seu pedido Este diagrama ilustra o conceito dos conjuntos de mosaicos Coarse Resolution Highest scale denominator Detailed Resolution Lowest scale denominator Figura 14 1 Conceito dos conjuntos de mosaicos do WMTS Os dois tipos de interfaces WMTS que o QGIS suporta s o via Key Value Pairs KVP e RESTful Estas duas interfaces sao diferentes e necessita especifica los ao
127. uses MPICH2 first install it using your favorite package manager Alternatively TauDEM works fine with Open MPI so you can use it instead of MPICH2 Download TauDEM 5 0 6 source code and extract the files in some folder Open the linearpart h file and after line include mpi h add a new line with dinciude stdinc b e ir obter include mpi h include lt stdint h gt Save the changes and close the file Now open ti ffIO h find line include stdint h and replace quotes with lt gt so you ll get include sStdint h Save the changes and close the file Create a build directory and cd into it mkdir build cd build Configure your build with the command CXX mpicxx cmake DCMAKE INSTALL PREFIX usr local e de seguida compile make Finally to install TauDEM into usr local bin run sudo make install Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 218 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 17 8 Linha de Comandos SEXTANTE SEXTANTE includes a practical tool that allows you to run algorithms without having to use the toolbox but just by typing the name of the algorithm you want to run This tool is known as the SEXTANTE Commander and it is just a simple text box with autocompletion where you type the command you want to run E xx xx gt a gt gt mM x L L gt gt cabe x mr SEXTANTE algorithm
128. value of that parameter and creating a corresponding R variable that can later be used as input for R commands In the above example we are declaring an input of type vector named polyg When executing the algorithm QGIS will open in R the layer selected by the user and store it in a variable also named polyg So the name of a parameter is also the name of the variable that we can use in R for accesing the value of that parameter thus you should avoid using reserved R words as parameter names 17 7 Configurando as aplica es externas 215 QGIS User Guide Vers o 2 2 Spatial elements such as vector and raster layers are read using the readOGR and brick commands you do not have to worry about adding those commands to your description file QGIS will do it and they are stored as Spatial DataFrame objects Table fields are stored as strings containing the name of the selected field Tables are opened using the read csv command If a table entered by the user is not in CSV format it will be converted prior to importing it into R Additionally raster files can be read using the readGDAL command instead of brick by using the usereadgdal If you are an advanced user and do not want QGIS to create the object representing the layer you can use the passfilename tag to indicate that you prefer a string with the filename instead In this case it is up to you to open the file before performing any operation on the data it
129. vel por m quinas que tem que ser distribu do sob os termos das Se es 1 e 2 acima e em meio normalmente utilizado para o interc mbio de software ou b O acompanhe com uma oferta escrita v lida por pelo menos tr s anos de fornecer a qualquer um com um custo n o superior ao custo de distribui o f sica do material uma c pia do c digo fonte completo 296 Cap tulo 21 Ap ndice QGIS User Guide Vers o 2 2 e em forma acess vel por m quinas que tem que ser distribu do sob os termos das Se es 1 e 2 acima e em meio normalmente utilizado para o interc mbio de software ou c O acompanhe com a informa o que voc recebeu em rela o oferta de distribui o do c digo fonte correspondente Esta alternativa permitida somente em distribui o n o comerciais e apenas se voc recebeu o programa em forma de c digo objeto ou execut vel com oferta de acordo com a Subse o b acima O c digo fonte de um trabalho corresponde forma de trabalho preferida para se fazer modifica es Para um trabalho em forma execut vel o c digo fonte completo significa todo o c digo fonte de todos os m du los que ele cont m mais quaisquer arquivos de defini o de interface mais os scripts utilizados para se controlar a compila o e a instala o do execut vel Contudo como exce o especial o c digo fonte dis tribuido n o precisa incluir qualquer componente normalmente distribu do tanto em fo
130. very variable Choose between Lowest label component Text Buffer and Background The Offset angle depends on the orienta tion of the label If you choose the Ed Use global shadow checkbox then the zero point of the angle is always oriented to the north and doesn t depend on the orientation of the label You can influence the appearance of the shadow with the Blur radius The higher the number the softer the shadows The appearance of the drop shadow can also be altered by choosing a blend mode see blend_modes Choose the Placement menu for the label placement and the labeling priority Using the Offset from point setting you now have the option to use Quadrants to place your label Additionally you can alter the angle of the label placement with the Rotation setting Thus a placement in a certain quadrant with a certain rotation is possible In the Rendering menu you can define label and feature options Under Label options you find the scale based visibility setting now You can prevent QGIS from rendering only selected labels with the sf Show all labels for 12 2 Janela de Propriedades de Vetor 89 QGIS User Guide Vers o 2 2 this layer including colliding labels checkbox Under Feature options you can define whether every part of a multipart feature is to be labeled It s possible to define whether the number of features to be labeled is limited and to 4 Discourage labels from covering features
131. where you can select the desired file path Supported file extensions are shown in the file format selector of the dialog depending on the kind of output and the algorithm The format of the output is defined by the filename extension The supported formats depend on what is supported by the algorithm itself To select a format just select the corresponding file extension or add it if you are directly typing the file path instead If the extension of the file path you entered does not match any of the supported formats a default extension usually dbf for tables t if for raster layers and shp for vector layers will 17 2 A caixa de ferramentas 195 QGIS User Guide Vers o 2 2 be appended to the file path and the file format corresponding to that extension will be used to save the layer or table If you do not enter any filename the result will be saved as a temporary file in the corresponding default file format and it will be deleted once you exit QGIS take care with that in case you save your project and it contains temporary layers You can set a default folder for output data objects Go to the configuration dialog you can open it from the Processing menu and in the General group you will find a parameter named Output folder This output folder is used as the default path in case you type just a filename with no path 1 e myfile shp when executing an algorithm When running an algorithm that uses a vector layer in
132. words for every cell greater than or equal to 0 set its value to 1 Otherwise set it to O This creates the mask on the fly Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 13 3 Calculadora Matricial sss 14 QGIS User Guide Vers o 2 2 42 Cap tulo 13 Trabalhando com Dados Raster CAP TULO 14 Trabalhando com dados OGC Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 14 1 QGIS como Cliente de Dados OGC O Cons rcio Geoespacial Aberto OGC uma organiza o internacional como mais de 300 organiza es em todo mundo do tipo comerciais sem fins lucrativos e de investiga o Os membros desenvolvem e implementam padro es para os conte dos e servi os geoespaciais processamento e troca de dados SIG Descrevendo um modelo b sico de dados para elementos geogr ficos e um n mero crescente de espec fica es est o desenvolvidos para servir necessidades espec ficas para localiza o interoper vel e tecnologia geoespacial incluindo o SIG Mais informa o encontrada em http www opengeospatial org As espcifica es OGC importantes suportadas pelo QGIS s o e WMS Servi o de Mapas Web Cliente WMS WMTS e WMTS Servi o de Mosaicos de Mapa Web Cliente WMS WMTS e WES Servi os de Elementos Web WFS e WFS T Cliente e WFS T Servi os de Elementos Web Transacionais WFS e WFS T Cliente e WCS Servi os de Co
133. you want to measure along lines or areas in vector layers To select a measuring tool click on E and select the tool you want to use 8 4 1 Medi o de linha reas ou ngulos Measure Line QGIS is able to measure real distances between given points according to a defined ellipsoid To configure this choose menu option Settings Options click on the Map tools tab and select the appropriate ellipsoid There you can also define a rubberband color and your preferred measurement units meters or feet and angle units degrees radians and gon The tool then allows you to click points on the map Each segment length as well as the total shows up in the measure window To stop measuring click your right mouse button Measure Area Areas can also be measured In the measure window the accumulated area size appears In addition the measuring tool will snap to the currently selected layer provided that layer has its snapping tolerance set see section Configurando a Toler ncia de Atrac o e Raio de Pesquisa So if you want to measure exactly along a line feature or around a polygon feature first set its snapping tolerance then select the layer Now when using the measuring tools each mouse click within the tolerance setting will snap to that layer 8 4 Medi o 37 QGIS User Guide Vers o 2 2 Segments meters 1 652 795 763 002 598 548 Total 3 014 km Hep New cose Figura 8 2 Measure Distance T Gnome
134. 0 naqueles ou entre aqueles pa ses ent o n o exclu dos Nestes casos esta Licen a incorpora a limita o como se a mesma constasse escrita nesta Licen a Free Software Foundation Funda o do Software Livre pode publicar vers es revisadas e ou novas da Licen a P blica Geral de tempos em tempos Estas novas vers es ser o similares em esp rito vers o atual mas podem diferir em detalhes que resolvem novos problemas ou situa es A cada vers o dada um n mero distinto Se o Programa especifica um n mero de vers o espec fico desta Licen a que se aplica a ele e a qualquer nova vers o voc tem a op o de aceitar os termos e condi es daquela vers o ou de qualquer outra vers o publicada pela Free Software Foundation Se o programa n o especifica um n mero de vers o desta Licen a voc pode escolher qualquer vers o j publicada pela Free Software Foundation Se voc pretende incorporar partes do Programa em outros programas livres cujas condi es de distribui o s o diferentes escreva ao autor e solicite permiss o Para o software que a Free Software Foundation det m direitos autorais escreva Free Software Foundation s vezes n s permitimos exce es a este caso Nossa decis o ser guiada pelos dois objetivos de preservar a condi o de liberdade de todas as deriva es do nosso software livre e de promover o compartilhamento e reutiliza o de software em aspectos gerais AU
135. 14 M dulo de Mapa de Densidade 19 15 M dulo de C lculo de Rotas 19 16 Complemento de Consulta Espacial 19 17 Complemento SPIT 19 18 Complemento SQL Anywhere 19 19 M dulo Verificador de Topologia 19 20 Complemento Estat stica Zonal 20 Ajuda e Suporte 20 1 Listas de Discurss o 202 IRC esses eae 3 9 ee e ES 20 3 Rastreador de Erros 20a BIOS uo 43 3 59 49234 20 5 Plugins casser RR xe xU EA 20 5 Wiki 29334 ow Gee OR A 21 Ap ndice 21 1 Licen a P blica Geral GNU 21 2 GNU Licen a de Documenta o Gratu ta 22 Refer ncias Bibliogr ficas e Web ndice 187 187 188 197 204 206 211 212 219 221 22 223 226 241 241 243 244 245 247 247 251 252 252 253 254 263 267 270 213 276 271 219 280 282 285 286 287 287 289 291 291 292 292 293 293 293 295 295 298 305 307 QGIS User Guide Vers o 2 2 Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations Sum rio 1 QGIS User Guide Vers o 2 2 2 Sum rio CAP TULO 1 Preambulo Este documento o guia do usu rio original do software descrito QGIS O software e hardware descrito neste documento s o na maioria dos casos marcas registradas e s o portanto sujeitas a requisitos legais QGIS est sujeito Licen a P
136. 2 demparti Et dem E points H Min X 262846 525725 Max X 277871 525725 H Min Y 4454025 0 He Max y 4464275 0 Cellsize 25 0 Bl lines E 3cuencas J Values from raster layers statistics 2 xl Figura 17 9 Seleccionador de N meros Um intervalo com valores min e m x para serem introduzidos em duas caixas de texto Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 e Uma cadeia de texto a ser introduzida na caixa de texto Um campo para escolher a partir de uma tabela de atributos de uma camada vectorial ou uma tabela nica de outro par metro A coordinate reference system You can type the EPSG code directly in the text box or select it from the CRS selection dialog that appears when you click on the button on the right hand side An extent to be entered by four numbers representing its xmin xmax ymin ymax limits Clicking on the button on the right hand side of the value selector a pop up menu will appear giving you two options to select the value from a layer or the current canvas extent or to define it by dragging directly onto the map canvas Use layer canvas extent Select extent on canvas Figura 17 10 Seleccionador de Extens o 7 Se seleccione a primeira op o ir ver uma janela igual a pr xima EXIIT ax Use extent from Canvas
137. 55 lat 2 65 lat 0 50 lon 0 154 x 0 0 y 0 0 e ellps clrk66 datum NAD27 units us ft no defs Figura 10 2 Janela de Propriedades do Projeto Dica Janela de Propriedades do Projeto Se abrir a janela Propriedades do Projecto a partir do menu menuselecion Projecto deve clicar no separador SC para ver as defini es de SC Abrindo a janela a partir do cone Estado SC abrir automaticamente o separador SC 10 4 Sistema de Refer ncia de Coordenadas personalizado Se o QGIS n o fornece o sistema de coordenadas que necessita pode definir um SC personalizado Para definir i um SC seleccione lt 3 SC personalizado a partir do menu Defini es SCs personalizados s o guardados na sua base de dados de utilizador QGIS Al m dos seus SCs esta base de dados tamb m contem os seus marcadores espaciais e outros dados personalizados Definindo um SRC personalizado no QGIS requer uma boa compreens o da biblioteca de proje es PROJ 4 Para come ar consulte Procedimentos cartogr ficos proje o para o Ambiente UNIX Manual do Usu rio por Gerald I Evenden Servi o Geol gico dos EUA Abra o Arquivo Relat rio 90 284 1990 dispon vel em ftp ftp remotesensing org proj OF90 284 pdf Este manual descreve 0 uso do proj 4 e utilidades de linha de comando relacionados Os parametros cartogra ficos usados com o proj 4 s o descritos no manual do utilizador e s o os mesmo que os usad
138. 8 40 4924874 14 0 17 0 27 0 32 e EMA AA Tri Axa TT TTC SS 4 Miri Aus rrrr sgmm h n8 P PU P ns T Linear Translation 589998 4 928e 06 Scale 2 00019 2 00019 Rotation 0 Mean error 98113 492324 Figura 19 16 Janela do M dulo Georeferenciador F e Com o bot o pode mover os GCP em ambas as janelas se estiverem no lugar errado 3 Continue entering points You should have at least four points and the more coordinates you can provide the better the result will be There are additional tools on the plugin dialog to zoom and pan the working area in order to locate a relevant set of GCP points Enter map coordinates Enter X and Y coordinates DMS dd mm ss ss DD dd dd or projected coordinates mmmm mm which correspond with the selected point on the image Alternatively click the button with icon of a pencil and then click a corresponding point on map canvas of QGIS to Fill in coordinates of that Y North 4915570 1712 X East 602388 19813829811755568 Snap to background layers From map canvas Cancel ok Figura 19 17 Adicionar pontos imagem raster Os pontos que adicionar ao mapa ser o guardados num arquivo de texto separado filename points normalmente junto com a imagem raster Isto permite que possamos reabrir o m dulo do Georreferenciador mais tarde e adicionar novos pontos ou apagar existentes para otimizar o resultado O arquivo de pontos contem valores na forma de
139. 88 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 of the application have been redesigned In QGIS there are a number of other features that improve the labeling The following menus have been created for labeling the vector layers e Text Formatting e Buffer Background e Shadow Placement Rendering Let us see how the new menus can be used for various vector layers Rotulando camadas de pontos Start QGIS and load a vector point layer Activate the layer in the legend and click on the abs Layer Labeling Options icon in the QGIS toolbar menu The first step is to activate the A Label this layer with checkbox and select an attribute column to use for labeling Click if you want to define labels based on expressions See labeling with expressions The following steps describe a simple labeling without using the Data defined override functions which are situated next to the drop down menus You can define the text style in the Text menu see Figure labels 1 Use the Type case option to influence the text rendering You have the possibility to render the text All uppercase All lowercase or Capitalize first letter Use the blend modes to create effects known from graphics programs see blend_modes In the Formatting menu you can define a character for a line break in the labels with the Wrap on character function Use the Ed Formatted numbers option to format the num
140. A es Attribute actions are defined from the vector Layer Properties dialog To define an action open the vector Layer Properties dialog and click on the Actions menu Go to the Action properties Select Generic as type and provide a descriptive name for the action The action itself must contain the name of the application that will be executed when the action 1s invoked You can add one or more attribute field values as arguments to the application When the action is invoked any set of characters that start with a followed by the name of a field will be replaced by the value of that field The special characters will be replaced by the value of the field that was selected from the identify results or attribute table see using actions below Double quote marks can be used to group text into a single argument to the program script or command Double quotes will be ignored 1f preceded by a backslash 100 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 If you have field names that are substrings of other field names e g col1 and co110 you should indicate that by surrounding the field name and the character with square brackets e g co110 This will prevent the co110 field name from being mistaken for the co11 field name with a O on the end The brackets will be removed by QGIS when it substitutes in the value of the field If you want the substituted field to be surrounded by square bracket
141. A e com os textos de Contra Capa sendo LISTA 21 2 GNU Licen a de Documenta o Gratuita 303 QGIS User Guide Vers o 2 2 Se voc tiver Se es Invariantes sem Textos de Capa ou alguma outra combina o dos tr s mesclar essas duas alternativas para se adequar a situa o Se o documento contiver exemplos n o triviais de c digo de programas n s recomendamos a publica o desses exemplos em paralelo sob a sua escolha de licen a de software livre como a GNU General Public License para permitir seu uso em software livre Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 304 Capitulo 21 Ap ndice CAP TULO 22 Refer ncias Bibliogr ficas e Web GDAL SOFTWARE SUITE Geospatial data abstraction library http www gdal org 2013 GRASS PROJECT Geographic ressource analysis support system http grass osgeo org 2013 NETELER M AND MITASOVA H Open source gis A grass gis approach 2008 OGR SOFTWARE SUITE Geospatial data abstraction library http www gdal org ogr 2013 OPEN GEOSPATIAL CONSORTIUM Web map service 1 1 1 implementation specification http portal opengeospatial org 2002 OPEN GEOSPATIAL CONSORTIUM Web map service 1 3 0 implementation specification http portal opengeospatial org 2004 POSTGIS PROJECT Spatial support for postgresql http postgis refractions net 2013 305 QGIS User Guide Vers o 2 2 306 Cap tulo 22 Refer ncias
142. AGIAPUK RIVER indes AKLUMAYUAK CREEK AKLUMAYUAK CREEK EE Er ALAGNAK RIVER ALAGNAK RIVER 9 ALATNA RIVER ALATNA RIVER i Metadata m AMBLER RIVER AMBLER RIVER AMERICAN RIVER AMERICAN RIVER Classify Add Delete Delete all Join Advanced Load Style Save As Default Restore Default Style Save Style E Help Apply Cancel OK Figura 12 9 Categorized Symbolizing options You can create a custom color ramp choosing New color ramp from the Color ramp drop down menu A dialog will prompt for the ramp type Gradient Random ColorBrewer or cpt city The first three have options for number of steps and or multiple stops in the color ramp You can use the A Invert option while classifying the data with a color ramp See figure_symbology_3 for an example of custom color ramp and figure_symbology_3a for the cpt city dialog The cpt city option opens a new dialog with hundreds of themes included out of the box Renderizacao Graduada 84 Capitulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Gradient color ramp Color 1 Color 2 Type Color amp Multiple stops Preview InFormation WB sooooff 25 B sssffo0 50 sffffoo 75 lll change alll Change Continuous Offset v Addstop Ramona ator KCN Figura 12 10 Example of custom gradient color ramp with multiple stops r
143. ASS ls 174 16 8 A ferramenta regi o GRASS au x o 64664 dS P9 o9 9 OR OX X SORES ERED ERE EA 177 169 The GRASS Toolbox esa ox o9 ESET E E GDE A E E XR E ure Rok E 177 17 QGIS estrutura de processamento 17 1 Introdu o 4 1424 e24e8 44444 17 2 Acaixadeferramentas 17 3 O modelador gr fico 17 4 A interface do processamento em lote 17 5 Usando os algoritmos do processamento a partir da consola 17 6 Gest o dohistorico 17 7 Configurando as aplica es externas 17 8 Linha de Comandos SEXTANTE 18 Compositor de Impress o 18 1 Primeiros passos 18 2 Modo de Renderizaga o 18 3 Itens do Compositor 18 4 Manageitems 18 5 Ferramentas de Reverter e Restaurar 18 6 Gera o de Atlas 18 7 Criando um ficheiro de Sa da 18 8 Gerir o Compositor 19 Complementos 19 1 Complementos QGIS 19 2 Usando os M dulos QGIS Core 19 3 Complemento de Captura de Coordenadas 19 4 M dulo GestorBD 19 5 Complemento dxf2shp 19 6 Complemento eVis sas ea paso 19 7 ComplementofTools 19 8 M dulo de Ferramentas GDAL 19 9 Complemento Georreferenciador 19 10 Complemento de Interpola o 19 11 M dulo Edi o Offiline 19 12 Oracle Spatial GeoRaster Plugin 19 13 M dulo de An lise do Terreno Matricial 19
144. Atlas foram movidas do painel do atlas para o painel das propriedades do mapa ent o agora mais de um mapa pode ser controlado pela ferramenta de Atlas Existe uma nova op o para centralizar automaticamente a vis o geral do mapa enquanto se est criando mapas em atlas Maiores informa es est o tamb m dispon veis para voc ajustar sua simbologia baseado na funcionalidade do atlas ou n o Aperfei oado a sele o de item Voc pode selecionar mais de um item apenas clicando e arrastando uma caixa para selecionar m ltiplos itens existindo atalhos para permitir adicionar itens a uma sele o ja criada segurando Shi ft enquanto seleciona retirando de uma sele o segurando Ct r1 enquanto clica e alternando para dentro do modo de sele o pressionando Alt enquanto clica Clique com shift em um item j selecionado o remover da sele o Tamb m existem atalhos e menus para selecionar todos os itens limpar uma sele o e invert la Tamb m poss vel selecionar itens que est o escondidos abaixo de outros com um clique com Ctrl no item ou utilizando Selecione o pr ximo item acima abaixo no novo menu de edic o do compositor Melhor navega o de composi es QGIS 2 2 inclui muitas melhorias para ajudar a navegar em suas composi es Voc pode dar zoom maior ou menor usando a roda de rolagem do mouse Uma ferramenta de mover foi acrescentado o que permite arrastar a composi o em volta e trocar imediatament
145. Boundaries O gt alaska Centroids lo river200m Areas lo gt rivers Islands lo dd North 6502586 8303 472 South 1433525 7988 7208 East 4615124 9789 8512 West 4480198 522 21446 Figura 16 15 Buscador de LOCALIZA O GRASS rs Um exemplo de arquivo XML para gerar o m dulo v buf fer v buffer qgm se parece com isto lt xml version 1 0 encoding UTF 8 gt lt DOCTYPE qgisgrassmodule SYSTEM http mrcc com qgisgrassmodule dtd qgisgrassmodule label Vector buffer module v buffer gt lt option key input typeoption type layeroption layer lt option key buffer gt lt option key output gt lt qgisgrassmodule gt 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 Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 16 9 The GRASS Toolbox 185 QGIS User Guide Vers o 2 2 186 Cap tulo 16 Integra o com SIG GRASS CAP TULO 17 QGIS estrutura de processamento Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 17 1 Introdu o This chapter introduces the QGIS processing framework a geoprocessing environment that can be used to call
146. Colunas usada para mudar as dimens es do raster de sa da Esses valores est o tamb m ligados aos valores Tamanho de c lula X e Tamanho de c lula Y Aumentando o n mero de linhas ou colunas ir diminuir o tamanho de c lula e aumenta o tamanho do ficheiro de sa da Os valores nas Linhas e Colunas tamb m est o ligados portanto duplicando o n mero de linhas ira automaticamente duplicar o n mero de colunas e o tamanho da c lula ir passar para metade A rea geogr fica do raster de sa da ira ser o mesmo Tamanho da c lula X e Tamanho da c lula Y controle o tamanho geogr fico de cada pixel para o raster de sa da Alterando estes valores ir tamb m mudar o n mero de Linhas e Colunas do raster de sa da Forma do kernel A forma do kernel controla o r cio que influencia o ponto decrescente como a distancia proveniente do ponto de crescente Diferentes kerneis enfraquecem em diferentes r cios portanto um kernel triweight d elementos de maior peso para dist ncias perto do ponto que o kernel de Epanechnikov d Consequentemente o resultado triweight resulta em pontos quentes n tidos e Epanechnikov resulta em pontos quentes suavizados Um n mero de fun es kernel padr o est o dispon veis no QGIS que s o descritos e ilustrados no Wikipedia R cio de decl nio pode ser usado com kerneis triangulares para maior controlo de como a densidade a partir dos elementos decrescem com a dist ncia a partir do eleme
147. E gt Pan Map to Selection Zoom In Ctrl A XS EL Zoom Out Ctrl m Select Ju Panels E Advanced pigitzin Toggle Full Screen Mode F11 4 Attributes a v Database Digitizing w File Help Label w Manage Layers v Map Navigation Plugins v Raster Vector Web GRASS Figura 9 1 Os Pain is e o Menu de Barra de Ferramentas ra Dica Activando o Enquadramento QGIS No QGIS pode usar o painel do enquadramento que fornece a extens o total das camadas adicionadas Pode ser no e 2e m seleccionada no menu Configura es Pain is ou 7 Ver Paineis Dentro da vista existe um rect ngulo a mostrar a extens o actual do mapa Isto permite rapidamente determinar que rea do mapa est a ver actualmente E de notar que os r tulos n o ser o renderizados no enquadramento do mapa mesmo que seja activado a rotulagem 47 QGIS User Guide Vers o 2 2 Se clicar e arrastar o rect ngulo vermelho no enquadramento que mostra a actual extens o este ir actualizar de acordo como o mapa principal Dica Mostrar Mensagens de Registo E poss vel seguir as mensagens do QGIS Pode activar o Bf Registo de Mensagens no menu Configura es e pe m e po Pain is ou 7 Vier Pain is e seguir as mensagens que aparecem nos diferentes separadores durante o carrega mento e opera o 9 2 Propriedades do Projecto Na janela de propriedades no rs para o projecto rs Configura es Proprie
148. EBUG 5 i QGIS DEBUG FILE Users larry github com Quantum GIS src core qgspall pee Prepend IE Digitizing Append GDAL gt CRS Locale v Current environment variables read only bold indicates modified at startup c Ema Variable Value le XDG SEAT PATH org freedesktop DisplayManager Seato LC MONETARY pt PT UTF 8 E DBUS SESSION BUS ADDRESS unix abstrack Emp dbus 20NE1zy3po quid 232 GIO LAUNCHED DESKTOP FILE PID 4890 GNOME KEYRING CONTROL tmp keyring izx3Im MANDATORY_PATH usr share gconf ubuntu mandatory path LOGNAME alexandre Show only QGIS specific variables Help Cancel Figura 9 3 Vari veis de ambiente do Sistema no QGIS Direct rios dos m dulos Adicionar ou Remover Caminho s para pesquisar bibliotecas de m dulos C adicionais 9 3 3 Menu Fonte de Dados Atributos dos elementos e tabela E Abre a tabela de atributos na janela principal Necess rio reiniciar o QGIS 50 Cap tulo 9 Configura o QGIS QGIS User Guide Vers o 2 2 E Copy selected rows to clipboard Ed Copy geometry in WKT representation from attribute table When using from the Attribute table dialog this has the result that the coordinates of points or vertices are also copied to the clipboard Comportamento da tabela de atributos i Existem tr s possibilidades Mostrar todos os elementos Mostrar elementos seleccionados e Mostrar elementos v
149. Estes cinco componentes da interface do QGIS s o descritos em mais detalhe nas seguintes sec es Mais duas sec es apresentam atalhos de teclado e ajuda do contexto 23 QGIS User Guide Vers o 2 2 7 1 Barra de Menu A barra de menu fornece acesso a diversas fei es QGIS usando um menu hier rquico padr o Os menus de n vel superior e um resumo de algumas das op es do menu est o listados abaixo juntamente com os cones associados como eles aparecem na barra de ferramentas e atalhos de teclado Os atalhos apresentados nesta se o s o os padr es no entanto os atalhos de teclado tamb m podem ser configurados manualmente usando o guilabel janela Configurar atalhos aberto a partir de menuselection Configura es Configurar Atalhos lt Embora a maioria das op es de menu tem uma ferramenta correspondente e vice versa os menus n o s o orga nizados exatamente como as barras de ferramentas A barra de ferramentas que cont m as ferramentas que est o listadas depois de cada op o habilitada no menu de entrada Algumas op es de menu aparecem somente se o complemento correspondente for carregado Para mais informa es sobre as ferramentas e barras de ferramentas consulte a se o ref label toolbars 7 1 1 Projecto Op o de menu Atalho Barra de Ferramentas CErIAN ver Projetos Projecto CEEITO ver Projetos Projecto Novo a partir do modelo ver Projetos Projecto Abrir Recente ver Projetos
150. From a Server Layers Layer Orde lesets Server Search Title Live Haiti OSM WMS via Mapnik live osm data via tile2 dbseo coi Geofabrik Tools OSM Inspector Addresses OSM Inspector is a debugging ti OSM Latvia data OSM Latvia data OSM WMS OpenStreetMap WMS WMS Demo F r OSM Daten Ger OpenStreetMap WMS Graustufenvariante WMS Demo F r OSM Daten Ger OSM Basic Open Street Map OSM Basic Open Street Map UMN MapServer Landcover This is the UMN MapServer appl k Help Add Close Select layer s Figura 14 3 Janela de pesquisa de servidores WMS depois de algumas palavras chave Como pode ver poss vel introduzir uma cadeia de texto de pesquisa no campo de texto e pressionar o bot o Pesquisar Ap s pouco tempo o resultado da pesquisa ser preenchido na lista debaixo do campo de texto Procure a lista de resultados dentro da tabela Para visualizar os resultados seleccione uma entrada da tabela prima o bot o Adicionar a linha seleccionada a lista WMS e mude para o separador Camadas O QGIS automaticamente actualiza a sua lista de servidores e o resultado seleccionado da pesquisa est dispon vel na lista de servidores WMS guardados no separador Camadas Apenas precisar de pedir a lista de camadas clicando no bot o Ligar Esta op o especialmente til quando quer pesquisar mapas por palavras chave espec ficas Basicamente esta op o um frontend para a API do http geopole org Mosaicos Ao usar Ser
151. GIS project file for subsequent sessions and will be used for QGIS server Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 12 2 Janela de Propriedades de Vetor 105 QGIS User Guide Vers o 2 2 Figura 12 31 Diagram from temperature data overlayed on a map Layer Properties regions Metadata b Attribution Style b MetadataUrl abel io v Properties ES Fields Geometry type of the features in this layer Rendering Polygon B Display The number of features in this layer ae Actions Editing capabilities of this layer mate Add Features Delete Features Change Attribute Values Add Attributes Create Spatial Index Fast Access to Features at ID Change Geometries Extents In layer spatial reference system units xMin vMin 7117451 AA 1357479 148 xMax vMax 18764433 09 9961531 AN 7 Load Style Save As Default Restore Default Style Save Style Md Help Apply Cancel 9k Figura 12 32 Metadata menu in vector layers properties dialog 106 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 12 3 Editando QGIS supports various capabilities for editing OGR SpatiaLite PostGIS MSSQL Spatial and Oracle Spatial vector layers and tables Nota The procedure for editing GRASS layers is different see section Digitalizando e editando uma camada vetorial GRASS for details Dica
152. IFF T Z factor 1 0 amp Add result to project cancel OK Figura 19 23 M dulo Modela o Matricial do Terreno c lculo do declive 19 13 1 Usando o m dulo 4 V Inicie o QGIS e carregue a camada matricial gt opo30 da localiza o amostra do GRASS Load the Raster Terrain Analysis plugin in the Plugin Manager see O menu de complementos Select an analysis method from the menu e g Raster Terrain Analysis Slope The Slope dialog appears as shown in Figure raster terrain 1 Especifique um caminho de sa da do ficheiro e o tipo de ficheiro Clique OK Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 13 M dulo de An lise do Terreno Matricial 279 QGIS User Guide Vers o 2 2 19 14 M dulo de Mapa de Densidade O m dulo Mapa de Densidade usa a Estimativa de Densidade Kernel para criar um matricial de densidade mapa de temperatura a partir de uma camada de pontos vectorial A densidade calculada baseada no n mero de pontos numa localiza o com um conjunto largo de pontos agrupados resultando em valores altos Os mapas de temperatura permitem facilmente identificar pontos quentes e agrupar pontos 19 14 1 Activar o m dulo de Mapa de Densidade Primeiramente este m dulo base necessita de ser activado usando o Gestor de M dulos veja load core plugin Dp Depois da activa o do Mapa de Densidade o icone pode ser enco
153. It is also possible to attach attributes to boundaries An example might be the case where the boundary between a lake and a forest is a road so it can have a different attribute table 16 4 Importando dados para uma localiza o GRASS 173 QGIS User Guide Vers o 2 2 The layer of the feature is defined by the layer inside GRASS Layer is the number which defines if there is more than one layer inside the dataset e g if the geometry is forest or lake For now it can be only a number In the future GRASS will also support names as fields in the user interface Attributes can be stored inside the GRASS LOCATION as dBase or SQLite3 or in external database tables for example PostgreSQL MySQL Oracle etc Atributos em tabelas de base de dados est o ligados a elementos geom tricos usando um valor categoria Categoria chave ID um n mero inteiro ligado a geometrias primitivas e que usada como liga o a uma coluna chave na tabela de base de dados Dica Aprendendo um Modelo Vetor GRASS A melhor maneira de aprender os modelos de vetores GRASS e as suas capacidades baixando um dos muitos tutoriais GRASS onde o modelo de vetor descrito mais profundamente Veja http grass osgeo org documentation manuals Para mais informa es livros e tutoriais em v rias l nguas 16 6 Criando uma nova camada vetorial GRASS To create a new GRASS vector layer with the GRASS plugin click the vi Cre
154. Layer labeling settings Project Edit View Layer Settings Plugins Vector Raster D EN E A TA ca Labelthis layer with NAME Geo DEBRA vM V AZ c ames w Text Buffer sample do am 141 EA A G C FM 1 ee e 2U A O da gt jd da K e lorem ipsum abel o abe abe abc abc d cynome E Layers fsavoonga prece maes a v E groupi o i popp ape Text Text style e ab c Formatting nm Ubuntu au VM airports abe Buffer 5 Background style Bold Italic E E M storagep emmonak 3 shadow m l o u amp sj amp amp gt OV trails Placement E x J Rendering Size 11 0000 al 1 cape romanzof Irrs st mary gt railroads es points EG v KZ 3 Boundaries Group Color PEER gt MM C regions n v amp C alaska Transparency 0 amp v water Group mekoryuk e Type case All lowercase a lt gt majrivers Spacing letter 0 0000 am amp C lakes word 0 0000 IE amp C swamp Blend mode Normal a E Lay Brow Browser Apply Cancel P N d 1 Coordinate 2647227 5127696 Scale 4978991 v 9 amp Render Figura 12 15 Smart labeling of vector point layers Rotulando camadas de linhas The first step is to activate the C Label this layer checkbox in the Label settings tab and select an attribute column to use for labeling Click if you want to define labels based on
155. ML A Point the URL field to the URL or the HTML file you want to insert in the Composer e You can adjust the rendering of the page with the Resize mode Use existing frames constrains the page inside its first frame or in the frame created with the next settings Extent to next page will create as many frames and corresponding pages as necessary to render the height of the web page Each frame can be moved around on the layout If you resize a frame the webpage will be divided up between the other frames The last frame will be trimmed to fit the web page Repeat on every page will repeat the upper left of the web page on every page in frames of the same size Repeat until finished will also create as many frames as the Extend to next page option except all frames will have the same size 240 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 18 4 Manage items 18 4 1 Size and position Each item inside the Composer can be moved resized to create a perfect layout For both operations the first step is to activate the Ev Select Move item tool and to click on the item you can then move it using the mouse while holding the left button If you need to constrain the movements to the horizontal or the vertical axis just hold the Snift while moving the mouse If you need a better precision you can move a selected item using the Arrow keys on the keyboard if the movement is too slow you can speed up it by holdin
156. Museum of Natural History s AMNH Center for Biodi versity and Conservation CBC has developed the Event Visualization Tool eVis another software tool to add to the suite of conservation monitoring and decision support tools for guiding protected area and landscape plan ning This plugin enables users to easily link geocoded 1 e referenced with latitude and longitude or X and Y coordinates photographs and other supporting documents to vector data in QGIS eVis is now automatically installed and enabled in new versions of QGIS and as with all plugins it can be disabled and enabled using the Plugin Manager see O menu de complementos The eVis plugin is made up of three modules the Database Connection tool Event ID tool and the Event Browser These work together to allow viewing of geocoded photographs and other documents that are linked to features stored in vector files databases or spreadsheets 19 6 1 Navegador de Evento The Event Browser module provides the functionality to display geocoded photographs that are linked to vector features displayed in the QGIS map window Point data for example can be from a vector file that can be input using QGIS or it can be from the result of a database query The vector feature must have attribute information associated with it to describe the location and name of the file containing the photograph and optionally the compass direction the camera was pointed when the image w
157. Name of input vector map rivers rivers demo 1 line a Buffer distance along major axis in map units 200 Name for output vector map Run View output Close Figura 16 9 Ferramentas GRASS Op es de M dulo GRASS Tools alaska demo Modules Tree Modules List Browser amp Module v buffer Options Output Manual v buffer input rivers demo type line layer 1 distance 200 output river200m E Buffering lines Building topology for vector map Registering primitives 10004 V E v 2000 4 v T 3000444 uu df Stop View output Close Figura 16 10 Ferramentas GRASS Modulo de Sa da 6 16 9 The GRASS Toolbox 179 QGIS User Guide Vers o 2 2 Dica GRASS Tools alaska demo Tree Modules List Browser la Module v buffer Options Output Manual NAME v buffer Creates a buffer around features of given type areas must contain centroid KEYWORDS vector buffer Run close Figura 16 11 Ferramentas GRASS Modulo Manual Mostra Resultados Imediatamente Se voc quiser exibir os resultados de c lculo imediatamente em sua tela do mapa voc pode usar o bot o Ver Sa da na parte inferior da aba m dulo 16 9 2 Exemplos de m dulos GRASS Os exemplos seguintes demonstrar o o poder de alguns dos m dulos grama Criando linhas de contorno The firs
158. Options window If a supporting document or an image that does not have a file extension recognized by eVis is referenced in the attribute table the field containing the file path will be highlighted in green in the attribute information window if that file extension is defined in the file reference table located in the Configure External Applications window To open the document double click on the green highlighted line in the attribute information window If a supporting document is referenced in the attribute information window and the file path is not highlighted in green then it will be necessary to add an entry for the file s filename extension in the Configure External Applications window If the file path is highlighted in green but does not open when double clicked it will be necessary to adjust the parameters in the Options window so the file can be located by eVis If no compass bearing is provided in the Options window a red asterisk will be displayed on top of the vector feature that is associated with the photograph being displayed If a compass bearing is provided then an arrow will appear pointing in the direction indicated by the value in the compass bearing display field in the Event Browser window The arrow will be centered over the point that is associated with the photograph or other document To close the Event Browser window click on the Close button from the Display window 19 6 5 Ferramenta ID de Evento The E
159. Oracle Spatial GeoRaster Server Connections example comes N subdatasets georasterscotttigerorclL GDAL RDT215 georasterscotttigerorclL GDAL RDT216 gearaster scotttigerarcl GDAL RDT217 georasterscotttigerorclL GDAL RDT 218 Selection georasterscotttigerorcl GDAL IMPORT RASTER Update gt GeoRaster objects on table GDAL IMPORT column RASTER Figura 19 22 Janela de Selec o Oracle GeoRaster The selection data entry can also be used to enter a WHERE clause at the end of the iden tification string eg geor scott tigerforcl gdal import raster geoid See http www gdal org frmt georaster html for more information 19 12 3 Exibindo o GeoRaster Finally by selecting a GeoRaster from the list of Raster Data Tables and Raster Ids the raster image will be loaded into QGIS The Select Oracle Spatial GeoRaster dialog can be closed now and the next time it opens it will keep the same connection and will show the same previous list of subdatasets making it very easy to open up another image from the same context Nota GeoRasters that contam pyramids will display much faster but the pyramids need to be generated outside of QGIS using Oracle PL SQL or gdaladdo The following 1s an example using gdaladdo gdaladdo georaster scott tigerforcl georaster table georaster georid 6 r nearest 2 4 6 8 16 32 Este um exemplo usando PL SQL S sqlplus scott tiger SQL gt DECLARE gr sdo_georaster BEGIN SELECT image
160. PG 10 780596 1784017 pdf http www testsite com attachments php N attachment id 12 16 19 6 Complemento eVis 257 QGIS User Guide Vers o 2 2 19 6 3 Especificando o local e o nome de outros documentos suportados Supporting documents such as text documents videos and sound clips can also be displayed or played by eVis To do this it is necessary to add an entry in the file reference table that can be accessed from the Configure External Applications window in the Generic Event Browser that matches the file extension to an application that can be used to open the file It is also necessary to have the path or URL to the file in the attribute table for the vector layer One additional rule that can be used for URLs that don t contain a file extension for the document you want to open 1s to specify the file extension before the URL The formatis file extension URL The URL is preceded by the file extension and a colon this is particularly useful for accessing documents from wikis and other web sites that use a database to manage the web pages see Table evis_examples 19 6 4 Using the Event Browser When the Event Browser window opens a photograph will appear in the display window if the document refer enced in the vector file attribute table is an image and if the file location information in the Options window is properly set If a photograph is expected and it does not appear it will be necessary to adjust the parameters in the
161. QGIS User Guide Vers o 2 2 QGIS Project 02 06 2014 Sum rio Preambulo 3 Conven es 5 2A Comvencocs da Interace Graca x ice eee tee ede che te Bo UROROR we X ox 5 2 2 Conven es do Texto ou Teclado amp 2 e tS eee e ELSA EE S 5 2 3 Instru es especificas da Plataforma o aoa a mos wow eR Roy ko Xo CELA we ES 6 Pre mbulo 7 Caracter sticas 9 At WisualzdcdO de dados e 43 sasda P e de Dos E ose ee CR RMS eee c9 X X RoE X X x3 9 4 2 Explora o de dados e compositores de mapas 9 43 Criar editar senreexponardadOS 4 444 6 9 X ee 9 ptico sod k XUbSROWSx 9 Wo OX 03 10 44 An lise de dados res 10 4 5 Publica o de mapas na internet zw nox o9 3o E wok x xo XR OX X XX CR OR 5 X x ee ad 10 4 6 Funcionalidades do QGIS expandida atrav s de m dulos 2 00008 10 4J Consola Python o sea ae nc Y Row 9 Bo ee RR oe S eae ele eo ee ae EE RE 11 AS Known BSUS 25x69 3m PES EIA DEDO CENAS e e d Rx RS 12 O que h de novo no QGIS 2 2 13 5 1 Aplica o e op es de projeto 1i cun bobo eh ew bee ERE ORSR Ro EUR OR E ES EO o ER 13 2 2 ProvedordcaRuINOS x3 owexwex y ROX OE sich oe he eens HEE Lae Se Ea 13 23 9 Digtalz ci 6 6 bee SS eh Gee Line ese RB ewe oo EE dx SAD 13 22 MM assinei 0R X BOR X ROR E ECROPOR OM ROR doro EO POSAR 3 8 9 3 14 SO Compositor de impress o 4 24466 6 oo et EYES ES ERG ERES ws EER 463 14 220 GIS S
162. QGIS de forma diferente 1 In order to access a WMTS KVP service a QGIS user must open the WMS WMTS interface and add the following string to the URL of the WMTS tile service 2SERVICE WMTS amp REQUEST GetCapabilities Um exemplo deste tipo de endere o http opencache statkart no gatekeeper gk gk open wmts N service WMTS amp request GetCapabilities A camada topo2 funciona lindamente para testar neste WMTS Adicionando esta linha e texto indica que um servi o web WMTS que dever ser usado em vez de o servi o WMS 2 O servi o WMTS RESTful torna se uma forma diferente um URL simples a forma recomendada pela OGC WMTSBaseURL 1 0 0 WMTSCapabilities xml Este formato ajuda o a reconhecer que isto um endere o RESTful O WMTS RESTful acedido no QGIS adicionando simplesmente o endere o na configura o do WMS no campo do URL da forma Como exemplo para um mapa base Austr aco deste tipo de endere o http maps wien gv at basemap 1 0 0 WMTSCapabilities xml mM o Cap tulo 14 Trabalhando com dados OGC QGIS User Guide Vers o 2 2 Nota Pode encontrar alguns servi os antigos chamados de WMS C Esses servi os s o muito semelhantes ao WMTS com a mesma finalidade mas trabalham ligeiramente diferente Pode geri los da mesma forma que faz nos servi os WMTS Apenas adicione tiled true no final do url Veja http wiki osgeo org wiki Tile Map Service Specification para mais informa es sobre esta espec
163. QGIS map canvas By checking A CRS restrictions you can restrict in which coordinate reference systems CRS QGIS Server will offer to render maps Use the e button below to select those CRS from the Coordinate Reference System Selector or click Used to add the CRS used in the QGIS project to the list If you have print composers defined in your project they will be listed in the GetCapabilities response and they can be used by the GetPrint request to create prints using one of the print composer layouts as a template This is a QGIS specific extension to the WMS 1 3 0 specification If you want to exclude any print composer from being published by the WMS check Ed Exclude composers and click the ep button below Then select a print composer from the Select print composer dialog in order to add it to the excluded composers list 14 2 QGIS com Servidor de Dados OGC 15 QGIS User Guide Vers o 2 2 Processing Help Connection details Name Alaska URL http localhost cgi bin qgis_mapserv fcgi IF the service requires basic authentication enter a user name and optional password User name Password Referer Ignore GetMap URI reported in capabilities _ Ignore GetFeaturelnfo URI reported in capabilities Ignore axis orientation WMS 1 3 WMTS Invert axis orientation Smooth pixmap transform Layers Browser Gy M s 85 Coordinate 11921858 11616184 Scale fia189814 v
164. RGB or multispectral image you first have to split it into single banded images To do so you can use the SAGA Grid Tools Split RGB image algorithm which creates three images from an RGB image or the SAGA Grid Tools Extract band algorithm to extract a single band 17 7 6 Limitations in cell size SAGA assumes that raster layers have the same cell size in the X and Y axis If you are working with a layer with different values for horizontal and vertical cell size you might get unexpected results In this case a warning will be added to the processing log indicating that an input layer might not be suitable to be processed by SAGA 214 Capitulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 17 7 7 Registando When QGIS calls SAGA it does so using its command line interface thus passing a set of commands to perform all the required operations SAGA shows 1ts progress by writing information to the console which includes the percentage of processing already done along with additional content This output is filtered and used to update the progress bar while the algorithm is running Both the commands sent by QGIS and the additional information printed by SAGA can be logged along with other processing log messages and you might find them useful to track in detail what is going on when QGIS runs a SAGA algorithm You will find two settings namely Log console output and Log execution commands to activate t
165. S MH Render EPsc 2964 A Figura 14 5 WMS padr o com os limites dos EUA inclu do no Servidor QGIS KDE 154 Cap tulo 14 Trabalhando com dados OGC QGIS User Guide Vers o 2 2 Project Properties OWS server General b amp Service capabilities o2 WMS capabilities Ge CRS v amp Advertised extent v amp CRS restrictions I identify layers Min X 342159 530707977246493 EPSG 2964 amp Default styles Min Y 3602918 50832555256783 OWS server Max X 899577 137060660868883 ROM rere Max Y 3998591 43753513135015 Relations Use Current Canvas Extent SS set v amp Exclude composers v amp Exclude layers alaska A4 climate railroads e e e amp Add geometry to feature response Advertised URL Maximums for GetMap request Width Height b WFS capabilities P WCS capabilities Help Apply Cancel ok Figura 14 6 Definitions for a QGIS Server WMS WFS WCS project KDE 14 2 QGIS com Servidor de Dados OGC 155 QGIS User Guide Vers o 2 2 If you want to exclude any layer or layer group from being published by the WMS check Ed Exclude Layers and click the ep button below This opens the Select restricted layers and groups dialog which allows you to choose the layers and groups that you don t want to be published Use the Shift or Ctrl key if you want to select multiple entries at once You c
166. S NCIA DE GARANTIA 11 12 PELO PROGRAMA SER LICENCIADO SEM NUS N O H QUALQUER GARANTIA PARA O PROGRAMA NA EXTENS O PERMITIDA PELAS LEIS APLIC VEIS EXCETO QUANDO EX PRESSADO DE FORMA ESCRITA OS DETENTORES DOS DIREITOS AUTORAIS E OU TER CEIROS DISPONIBILIZAM O PROGRAMA NO ESTADO SEM QUALQUER TIPO DE GARAN TIAS EXPRESSAS OU IMPL CITAS INCLUINDO MAS N O LIMITADO A AS GARANTIAS IMPL CITAS DE COMERCIALIZA O E AS DE ADEQUA O A QUALQUER PROP SITO O RISCO TOTAL COM A QUALIDADE E DESEMPENHO DO PROGRAMA SEU SE O PROGRAMA SE MOSTRAR DEFEITUOSO VOC ASSUME OS CUSTOS DE TODAS AS MANUTEN ES REPAROS E CORRE ES EM NENHUMA OCASI O A MENOS QUE EXIGIDO PELAS LEIS APLIC VEIS OU ACORDO ESCRITO OS DETENTORES DOS DIREITOS AUTORAIS OU QUALQUER OUTRA PARTE QUE POSSA MODIFICAR E OU REDISTRIBUIR O PROGRAMA CONFORME PERMITIDO ACIMA SER O RESPONSABILIZADOS POR VOC POR DANOS INCLUINDO QUALQUER DANO EM GERAL ESPECIAL ACIDENTAL OU CONSEQUENTE RESULTANTES DO USO OU INCAPACI DADE DE USO DO PROGRAMA INCLUINDO MAS N O LIMITADO A A PERDA DE DADOS OU DADOS TORNADOS INCORRETOS OU PERDAS SOFRIDAS POR VOC OU POR OUTRAS PARTES OU FALHAS DO PROGRAMA AO OPERAR COM QUALQUER OUTRO PROGRAMA MESMO QUE TAL DETENTOR OU PARTE TENHAM SIDO AVISADOS DA POSSIBILIDADE DE TAIS DANOS QGIS Qt exce es a GPL Em adi o excepcionalmente a Equipe de Desenvolvimento QGIS d a permiss o de linkar o c digo deste programa
167. S plugins that add new algorithms to the toolbox will only be shown in the advanced view Particularmente a vista simplificada cont m algoritmo dos seguintes fornecedores GRASS e SAGA OTB Algoritmos nativos QGIS In the case of running QGIS under Windows these algorithms are fully functional in a fresh installation of QGIS and they can be run without requiring any additional installation Also running them requires no prior knowledge of the external applications they use making them more accesible for first time users 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 executar um algoritmo fa a duplo clique no seu nome na caixa de ferramentas 17 2 1 O di logo do 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 4 Convergence index xl LEE Elevation raster EPSG 23030 lame Method D Aspect M Gradient Calculation 2x2 Convergence Index Dus ta tnmmaerzrgs Alal E r rnrir ari t JAE CO EMP ad y ffc X Open output file after running algorithm Figura 17 7 Di logo dos Par metros 7 This dialog is used to set the input values that the algorithm needs to be executed It shows a table wher
168. Shortcuts allows you to change the default keyboard shortcuts and to add new keyboard shortcuts to QGIS features Configure shortcuts Action Shortcut Add MSSQL Spatial Layer Ctrl Shift M Add Part S Add PostGIS Layers Ctrl Shift D X Add Raster Layer Ctrl Shift R 8 Add Ring S Add SpatiaLite Layer Ctri shift L EA Add to Overview Ctrl Shift o XL Add Vector Layer Ctrl ShiFt V a Add WCS Layer v Add WFS Layer Change Set none Set default None Load Save Close Figura 8 1 Define shortcut options A Gnome Configuration is very simple Just select a feature from the list and click on Change Set none or Set default Once you have finished your configuration you can save it as an XML file and load it to another QGIS installation 8 2 Conte do da ajuda When you need help on a specific topic you can access context help via the Help button available in most dialogs please note that third party plugins can point to dedicated web pages 8 3 Renderiza o By default QGIS renders all visible layers whenever the map canvas is refreshed The events that trigger a refresh of the map canvas include e Adicionar uma camada e Pan ou zoom 35 QGIS User Guide Vers o 2 2 Resizing the QGIS window Mudan as na visibilidade de uma camada ou camadas QGIS allows you to control the rendering process in a number of ways 8 3 1 Escala depend
169. a Sim e a codifica o da imagem suportar transpar ncia Permite Aproximar Quando uma camada pode ou n o pode ser ampliada neste servidor Esta vers o do QGIS assume que todas as camadas WMS t m esta definida como Sim Camadas deficientes podem ser renderizadas de forma estranha Contagem em cascata Os servidores WMS pode funcionar como proxy para outros servidores WMS para obter dados matriciais para uma camada Esta entrada mostra quantas vezes o pedido para esta camada avan ada por peer nos servidores WMS para o resultado Largura Fixa Altura Fixa Quando uma camada pode ou n o pode ter dimens es de pixeis da fonte fixadas Esta vers o QGIS assume que todas as camadas WMS t m esta defini o como nada Camadas deficientes podem ser renderizadas de forma estranha Caixa de Enquadramento WGS 84 A caixa de enquadramento desta camada nas coordenadas WGS 84 Alguns servidores WMS n o configuram esta situa o correctamente ex usam as coor denadas UTM Se for esse o caso ent o a vista inicial desta camada pode ser renderizada com uma apar ncia afastada pelo QGIS O webmaster do WMS deve informar deste erro que pode ser con hecido como elementos WMS XML Lat LonBoundingBox EX GeographicBoundingBox ou CRS 84 BoundingBox SRC dispon veis As projec es desta camada podem ser renderizadas pelo servidor WMS Os mesmos est o listados num formato nativo WMS Dispon vel em e
170. a imagem original a segunda cria uma tabela de cores que considera apenas dentro do desvio padr o ou dentro de v rios desvios padr o Isto util quando se tem uma ou duas c lulas com valores anormalmente altos numa gride raster que provocam um impacto negativo na representa o da imagem raster Bamda nica Falsa cor Este um op o de representa o para arquivos de uma banda que incluem um mapa de cores cont nuo Pode se tamb m aqui criar mapas de cores individuais para uma banda Existem tr s tipos de interpola o de cores Layer Properties cascais map copy Style uM v Band rendering General ay style Render type Singleband pseudocolor P Transparency Band Band 1 Red lt Generate new color map T Color i i Blues A Invert lli Pyramids Color interpolation Linear C Mode Equalinterval Classes 5 F RM ES E FARELER amp zm Histogram 66 MP RI A 5 EEE NEN ew Min 0 996094 Max 229 102 58 022571 58 022571 Mi 115 049 115 049047 Rma oridi 172 075 172 075524 Estimated cumulative cut of full extent 229 102 229 102000 Load min max values Cumulative p r Tad count cut 20 98 0 O Min max Mean standard deviation 1100 Extent Accuracy e Full Estimate Faster Current J Actual slower Load clip Figura 13 5 Representa o do Raster Banda nica Falsa Cor 1 M todo Discreto 2 M to
171. a PostGIS enabled database For example to import a shapefile named 1akes shp into a PostgreSQL database named gis data use the following command shp2pgsql s 2964 lakes shp lakes new psqdl gis data This creates a new layer named lakes new in the gis data database The new layer will have a spatial reference identifier SRID of 2964 See section Trabalhando com Proje es for more information on spatial reference systems and projections Dica Exportando conjuntos de dados do PostGIS Like the import tool shp2pgsql there is also a tool to export PostGIS datasets as shapefiles pgsql2shp This is shipped within your PostGIS distribution ogr2ogr Besides shp2pgsql and DB Manager there is another tool for feeding geodata in PostGIS ogr2ogr This is part of your GDAL installation Para importar um shapefile no PostGIS fa a o seguinte ogr2ogr f PostgreSQL PG dbname postgis host myhost de user postgres password topsecret alaska shp This will import the shapefile alaska shp into the PostGIS database postgis using the user postgres with the password topsecret on host server myhost de Note that OGR must be built with PostgreSQL to support PostGIS You can verify this by typing in D ogrinto Lormats grep 1 post 12 1 Formatos de dados suportados 75 QGIS User Guide Vers o 2 2 If you prefer to use PostgreSQL s COPY command instead of the default INSERT INTO method you can export the following environmen
172. a ferramenta para exporta o de DXF s foi acrescentado ao menu Projeto Colar como uma nova camada vetorial uma atividade comum em SIG criar uma sub sele o e depois criar uma nova camada a partir da sele o No QGIS voc j pode realizar isto agora a funcionalidade oferecida e permite voc criar um novo arquivo ou uma camada tempor ria do que est na lista de trasfer n cia Simplesmente selecione algumas fei es copie as para a sua lista de transfer ncia e depois v a Editar Colar fei es como e escolha Nova camada vetorial ou Nova camada tempor ria no submenu O mel hor dessa nova ferramenta que se voc tem fei es Well Known Text WKT na sua lista de transfer ncia de um outro aplicativo voc pode simplesmente col lo no QGIS como uma nova camada Legenda de WMS na lista de camadas e no compositor Vers es pr vias ao QGIS 2 2 n o eram capazes de mostrar a legenda de um WMS na lista de camadas Similarmente a legenda n o podia ser mostrada no compositor de mapa O QGIS 2 2 incluiu ambas quest es Digitaliza o Ferramenta de preenchimento de anel Esta nova ferramenta utilizada para cortar vazios em pol gonos e prrench los automaticamente com novas fei es Se voc pressionar Ct r1 enquanto finaliza a fei o os atributos ser o herdados da fei o mais completa 13 QGIS User Guide Vers o 2 2 9 4 9 9 14 Geral Express es recentes salvas O criador de exp
173. a vector layer for the passed fields Fields can be passed as field names or as zero based field indices Returns a dict of lists with the passed field identifiers as keys It considers the existing selection getfeatures layer Retorna um iterador sobre os elementos da camada vectorial considerando a selec o existente e uniquelabels layer field Returns a list of unique values for a given attribute Attributes can be passed as a field name or a zero based field index It considers the existing selection 17 5 3 Criando scripts e correndo os a partir da caixa de ferramentas You can create your own algorithms by writing the corresponding Python code and adding a few extra lines to supply additional information needed to define the semantics of the algorithm You can find a Create new script menu under the Tools group in the Script algorithms block of the toolbox Double click on it to open the script editing dialog That s where you should type your code Saving the script from there in the scripts folder the default folder when you open the save file dialog with py extension will automatically create the corresponding algorithm O nome do algoritmo aquele que ira ver na caixa de ferramentas criado a partir do nome do ficheiro removendo a extens o e substituindo os h fens inferiores com espa os em branco Let s have a look at the following code which calculates the Topographic Wetness Index TWD directly from a DEM
174. ables each input descriptor can be the data object name or its file path Campo da Tabela de XXX Use uma cadeia de texto com o nome do campo a usar O par metro caso sensitivo e Fixed Table Type the list of all table values separated by commas and enclosed between quotes Values start on the upper row and go from left to right You can also use a 2 D array of values representing the table SRC Introduza o n mero do c digo ESPG do SRC desejado Extens o Deve usar uma cadeia de texto com xmin xmax ymin e ymax valores separados por v rgulas G Os par metros booleanos de ficheiro cadeia de texto e n mericos n o necessitam de explica es adicionais Input parameters such as strings booleans or numerical values have default values To use them specify None for the corresponding parameter entry For output data objects type the file path to be used to save it just as it is done from the toolbox If you want to save the result to a temporary file use None The extension of the file determines the file format If you enter a file extension not supported by the algorithm the default file format for that output type will be used and its corresponding extension appended to the given file path Unlike when an algorithm is executed from the toolbox outputs are not added to the map canvas if you execute that same algorithm from the Python console If you want to add an output to the map canvas you have to d
175. ada Estes t tulos devem ser distintos de quaisquer outros t tulos de se es Voc pode incluir uma se o intitulada Apoio dado que ela contenha nada al m de apoio recebido para sua Vers o Modificada por v rias fontes por exemplo notas do revisor ou de que o texto foi aprovado por uma organiza o como a defini o autoritativa de um padr o Voc pode adicionar uma passagem de at cinco palavras como Texto de Capa Frontal e uma passagem de at 25 palavras como Texto de Quarta Capa ao fim da lista de Textos de Capa na Vers o Modificada Somente uma passagem de Texto de Capa Frontal e uma de Texto de Quarta Capa pode ser adicionado por ou atrav s de arranjos feitos por uma entidade qualquer Se o Documento j incluir um texto de capa para a mesma capa previamente inclu do por voc ou por arranjo feito pela mesma entidade em cujo nome voc est agindo voc n o pode adicionar outro mas voc pode substituir o antigo com permiss o expl cita do editor anterior que o incluiu 21 2 GNU Licen a de Documenta o Gratuita 301 QGIS User Guide Vers o 2 2 O s autor es e editor es do Documento por esta Licen a n o d o permiss o para seus nomes serem usados para publicidade ou defesa ou apoio impl cito para qualquer Vers o Modificada 5 COMBINING DOCUMENTS Voc pode combinar o documento com outros documentos publicados sob esta Licen a sob os termos definidos na se o 4 acima para vers es mod
176. adas 32 Amplia o ao Grupo Remover Definir SRC do Grupo Renomear Adicionar Novo Grupo Expandir Tudo Ocultar Tudo 3200 Cap tulo 7 QGIS GUI QGIS User Guide Vers o 2 2 e Actualizar Ordem de Desenho E poss vel seleccionar mais de uma camada ou grupo ao mesmo tempo segurando a tecla Ctr 1 enquanto selec ciona as camadas com o bot o esquerdo do rato Pode mover todas as camadas seleccionadas para um novo grupo ao mesmo tempo Voc tamb m capaz de excluir mais de uma camada ou um grupo de uma s vez selecionando v rias camadas com Ctrl e pressianando Ctrl D depois Desta forma todas as camadas ou grupos selecionados ser o removi dos da lista de camadas 7 3 1 Trabalhando com a Ordem da legenda de camada indepenente H um painel que permite que voc defina uma ordem de desenho independente para a legenda do mapa Voc pode ativar ele no menu Exibir Pain is Ordem da camada Esta funcionalidade permite lhe por exemplo ordenar suas camadas em ordem de import ncia mas ainda exibi las na ordem correta ver figura layer order Checando a caixa 4 Controle da ordem de renderiza o por baixo da lista de camadas ira causar um voltar ao comportamento padr o Layers x v amp fl Boundaries Group gt E C regions Y E C3 alaska v lli water Group gt E majrivers E A lakes I gt E C swamp v E di group1 v 4 popp ey uud ef airports e t e
177. ading waypoints r if you are downloading routes and t if you are downloading tracks These are command line options that tell GPSBabel which feature type to download in will be replaced by the port name that you choose in the download window and Sout will be replaced by the name you choose for the GPX file that the downloaded data should be stored in So if you create a device type with the download command gpsbabel type i garmin o gpx in out this is actually the download command for the predefined device type Garmin serial and then use it to download waypoints from port dev ttySO to the file output gpx QGIS will replace the keywords and run the command gpsbabel i garmin o gpx dev tbys0 oubput gpx Os comandos indicados nas linhas de Carregar s o aqueles utilizados para carregar os dados no dispositivo As mesmas palavras chave s o utilizadas por m in substitu do pelo nome do arquivo GPS que utilizado e out substitu do pelo nome da porta You can learn more about GPSBabel and its available command line options at http www gpsbabel org Once you have created a new device type it will appear in the device lists for the download and upload tools 15 1 Complemento GPS 161 QGIS User Guide Vers o 2 2 15 1 8 Download of points tracks from GPS units As described in previous sections QGIS uses GPSBabel to download points tracks directly in the project QGIS comes out of the box with a pre define
178. adr o e todas as barras ser o vis veis novamente 7 3 Legenda do Mapa A rea da legenda do mapa lista todas as camadas do projecto A caixa de verifica o em cada entrada de legenda pode ser usada para mostrar ou esconder a camada Uma camada pode ser selecionada e arrastada para cima ou para baixo na legenda para mudar a Z ordena o Z ordena o significa que as camadas listadas mais perto do topo da legenda s o desenhadas sobre camadas listadas mais abaixo na legenda Nota Este comportamento pode ser substitu do pelo painel Ordem das Camadas Camadas na janela legenda podem ser organizadas em grupos H duas maneiras de fazer isso 1 Bot o direito do mouse na janela de legenda e escolha Adicionar novo grupo Digite um nome para o grupo e pressione Enter Agora clique em uma camada existente e arraste a para o grupo 2 Selecione algumas camadas clique direito na janela de legenda e escolha Grupo selecionado As camadas selecionadas ser o automaticamente colocadas em um novo grupo Para trazer uma camada de um grupo voc pode arrast la de fora ou clique direito sobre ela e escolha Fa a o item toplevel Os grupos tamb m podem ser aninhados dentro de outros grupos A caixa de sele o de um grupo vai mostrar ou ocultar todas as camadas do grupo com apenas um clique O conte do do menu de contexto do bot o direito do mouse depende se o item de legenda selecionado uma camada raster ou vetorial Para cama
179. al Basta digitar o valor ou selecion lo na lista de op es dispon veis dependendo do tipo de par metro As principais diferen as s o encontradas para os par metros que representam camadas ou tabelas e caminho de arquivo de sa da Quanto camadas de entrada e tabelas representam um algoritmo que ser executado como parte de um processo de grupo os objetos de dados de entrada s o levados diretamente a partir de arquivos e n o a partir do conjunto deles j aberto no QGIS Por esta raz o qualquer algoritmo pode ser executado como um processo em lote mesmo que os objetos de dados ao todo n o sejam abertos e o algoritmo n o possa ser executado a partir da caixa de ferramentas 204 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 j Batch Processing Gaussian Filter Figura 17 26 Processamento em Lote 7 Nomes de arquivos de objetos de dados de entrada s o introduzidos digitando diretamente ou mais conveniente mente clicando no bot o do lado direito da c lula o que mostra uma janela t pica de sele o de arquivos M ltiplos arquivos podem ser selecionados de cada vez Se o par metro de entrada representa um nico objeto de dados e v rios arquivos s o selecionados cada um deles ser colocado em uma linha separada acrescentando novos se necess rio Se o par metro representa uma entrada m ltipla todos os arquivos selecionados ser o adi cionados a uma nica c lula s
180. an receive requested GetFeatureInfo as plain text XML and GML Default is XML text or GML format depends the output format choosen for the GetFeatureInfo request If you wish you can check Ed Add geometry to feature response This will include in the GetFeatureInfo response the geometries of the features in a text format If you want QGIS Server to advertise specific request URLs in the WMS GetCapabilities response enter the corresponding URL in the Advertised URL field Furthermore you can restrict the maximum size of the maps returned by the GetMap request by entering the maximum width and height into the respective fields under Maximums for GetMap request WES capabilities In the WFS capabilities area you can select the layers that you want to publish as WFS and specify if they will allow the update insert and delete operations If you enter a URL in the Advertised URL field of the WFS capabilities section QGIS Server will advertise this specific URL in the WFS GetCapabilities response WCS capabilities In the WCS capabilities area you can select the layers that you want to publish as WCS If you enter a URL in the Advertised URL field of the WCS capabilities section QGIS Server will advertise this specific URL in the WCS GetCapabilities response Now save the session in a project file alaska qgs To provide the project as a WMS WES we create a new folder usr lib cgi bin project with admin privileges and add the project file alaska
181. ange library for raster files In this tab you can Edit create options and Edit Pyramids Options of the raster formats Define which GDAL driver is to be used for a raster format as in some cases more than one GDAL driver is available 9 3 10 Menu SRC SRC padrao para novos projectos e Don t enable on the fly reprojection e Automatically enable on the fly reprojection if layers have different CRS e Enable on the fly reprojection by default e Seleccione um SRC em Iniciar sempre um novo projecto com este SRC SRC para novas camadas This area allows you to define the action to take when a new layer is created or when a layer without a CRS is loaded e 54 Pergunta por SRC e Usar SRC do projecto e Utilizar SRC padr o mostrado em baixo Default datum transformations E Ask for datum transformation when no default is defined f you have worked with the on the fly CRS transformation you can see the result of the transformation in the window below You can find information about Source CRS and Destination CRS as well as Source datum transform and Destination datum transform 54 Cap tulo 9 Configura o QGIS QGIS User Guide Vers o 2 2 9 3 11 Locale Menu g Sobrepor idioma do sistema e Idioma a utilizar em alternativa e Informa o sobre a regi o do sistema activo local 9 3 12 Network Menu Geral Define Pesquisa de endere o WMS padr o como http geo
182. antidade para garantir que esta c pia transparente permanecer acess vel no local indicado por pelo menos um ano ap s a ltima vez que voc distribuir uma c pia Opaca diretamente ou atrav s de seus agentes ou distribuidor desta edi o ao p blico E solicitado mas n o exigido que voc contate os autores do Documento muito antes de redistribuir qualquer n mero grande de c pias para dar a eles uma chance de lhe fornecer uma vers o atualizada do Documento 4 MODIFICATIONS Voc pode copiar e distribuir uma Vers o Modificada do Documento sob as condi es das se es 2 e 3 acima desde que voc forne a a Vers o Modificada estritamente sob esta Licen a com a Vers o Modificada no papel de 300 Cap tulo 21 Ap ndice QGIS User Guide Vers o 2 2 Documento permitindo assim a distribui o e modifica o da Vers o Modificada a quem quer que possua uma c pia desta Al m disso voc deve executar os seguintes procedimentos na Vers o Modificada 1 Use in the Title Page and on the covers if any a title distinct from that of the Document and from those of previous versions which should if there were any be listed in the History section of the Document You may use the same title as a previous version if the original publisher of that version gives permission 2 Liste na Pagina de Titulo como autores uma ou mais pessoas ou entidades responsaveis pela autoria ou modifica es na Vers o Modificada junta
183. ap_Legend 232 Map_Navigation 107 Map_Template 222 Mapa de cores 136 MapInfo 70 medi o 37 areas 37 angulos 37 comprimento de linha 37 Melhora_do_contraste 135 menus 24 merge attributes of features 115 Merge_Attributes_of_Selected_Features 115 Merge Selected Features 115 308 Metadados 139 Movimentar 107 MSSQL Spatial 78 multipolygon 114 N s 111 Natural Breaks Jenks 84 New GPX Layer 116 118 New Shapefile Layer 116 New SpatiaLite Layer 116 New Spatialite Layer 116 Node Tool 110 Non Spatial Attribute Tables 120 OGC 143 OGR 67 OGR Simple Feature Library 67 ogr2ogr 75 op es da linha de comandos 19 Open Geospatial Consortium 143 OpenStreetMap 72 Oracle Spatial 78 OSM 72 pgsql2shp 75 Picture_database 231 Pir mides 138 Point_Displacement_Renderer 87 PostGIS 73 PostGIS spatial index 76 PostgreSQL 73 Pretty_Breaks 84 print_composer ferramentas 221 Proj 4 62 Proj4 61 Proj4 texto 61 Proje es 59 projetos de assentamento 44 Proxy 145 proxy server 145 Publish to Web plugin 152 QGIS mapserver 151 QGIS Server 152 QSpatiaLite 77 Quartil 84 Raster 131 Raster multibandas 133 Raster banda nica 133 Raster Calculator 140 Raster Color Tr s Bandas 133 Relations 120 Renderer Categorized 84 Renderer Graduated 84 Renderer Point Displacement 87 Renderer Single Symbol 82 Rendering Mode 225 ndice Rendering Rule based
184. ar a posi o precisa do pixel do cursor do mouse Os bot es de Fechar and Ajuda foram removidos da janela do compositor para dar o m ximo de espa o na tela para se trabalhar Gera o de arquivos World No compositor agora voc pode criar mapas georreferenciados Simples mente se assegure que escolheu o elemento do mapa correto na aba de composi o e exporte seu mapa como um arquivo PNG Um acompanhamento do arquivo world ser criado permitindo carregar seu mapa no QGIS como uma camada matricial Trabalhando com m litplos itens Agora poss vel mover e redimensionar m ltiplos itens simultane amente Para isso basta pressionar Shi ft enquanto redimensiona para manter a rela o entre os itens ou Ctrl para redimensionar a partir de um item central Estes atalhos s o tamb m aplic veis para mover Itens ent o pressione Shi ft enquanto move um item no sentido horizontal ou vertical e segure temporari amente Ct rl para desabilitar o ajuste autom tico dos itens Voc tamb m pode sergurar Shi ft enquanto pressiona uma tecla para deslocar todos os itens selecionados Melhorias no Atlas Voc pode pr visualizar p ginas individuais no Atlas que gerado no compositor No modo de pr visualiza o do Atlas voc pode exportar apenas a p gina atual sem fazer o mesmo para todo o Atlas Voc tamb m pode ajustar a extens o do mapa ou escala para cada fei o enquanto pr visualiza uma determinada p gina As op es do
185. ara cada ficheiro de sa da e pressione OK Other configuration parameters in the General group are listed below Use filename as layer name The name of each resulting layer created by an algorithm is defined by the algorithm itself In some cases a fixed name might be used meaning that the same output name will be used no matter which input layer is used In other cases the name might depend on the name of the input layer or some of the parameters used to run the algorithm If this checkbox is checked the name will be taken from the output filename instead Notice that if the output is saved to a temporary file the filename of this temporary file is usually a long and meaningless one intended to avoid collision with other already existing filenames 196 Capitulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 t Convergence Index Convergence Index lt OutputRaster gt Figura 17 15 Estilos de Renderiza o Use only selected features If this option is selected whenever a vector layer is used as input for an al gorithm only its selected features will be used If the layer has no selected features all features will be used Pre execution script file and Post execution script file These parameters refer to scripts written using the processing scripting functionality and are explained in the section covering scripting and the console Apart from the General block in the settings dialog you wil
186. arch on web based on attrib http www Bo OOOO E Rendering aF Add default actions US Display w Action properties ie Actions a Cantu qum d Open E Capture output Joins Name Search on web based on attribute s value IEE Diagrams Action http www google com search q ATTRIBUTE 96 Em 7 Metadata Insert expression cat Insert field Add to action list Update selected action Load Style Save As Default Restore Default Style Save Style Apply cancel OK Figura 12 27 Overview action dialog with some sample actions Help Actions are useful when you frequently want to run an external application or view a web page based on one or more values 1n your vector layer They are divided into six types and can be used like this Generic Mac Windows and Unix actions start an external process Python actions execute a Python expression Generic and Python actions are visible everywhere e Mac Windows and Unix actions are visible only on the respective platform 1 e you can define three Edit actions to open an editor and the users can only see and execute the one Edit action for their platform to run the editor There are several examples included in the dialog You can load them by clicking on Add default actions One example is performing a search based on an attribute value This concept is used in the following discussion Defini o de
187. as acquired Your vector layer must be loaded into QGIS before running the Event Browser 254 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 Iniciando o m dulo Navegador de Evento To launch the Event Browser module click on Database eVis eVis Event Browser This will open the Generic Event Browser window The Event Browser window has three tabs displayed at the top of the window The Display tab 1s used to view the photograph and its associated attribute data The Options tab provides a number of settings that can be adjusted to control the behavior of the eVis plugin Lastly the Configure External Applications tab 1s used to maintain a table of file extensions and their associated application to allow eVis to display documents other than images Entendendo a Janela de Exibi o To see the Display window click on the Display tab in the Event Browser window The Display window is used to view geocoded photographs and their associated attribute data Event Browser Displaying records 03 of 76 Display Options Configure External Applications 2 Previous Next Field Value F CODE Airport Airfield IKO PABT Ji NAME BETTLES E USE Other image data Dropbox Trabalho QGlS qgis sample data photos PABT jpg TT Copyright by B Seibert Arpart Daba com Close Figura 19 9 The eVis display window 1 Display window A window where the photograph will appear 2 Zoom in button Zoom in t
188. as necessidades Default Proxy Proxy determinado baseando se na defini o do proxy da aplica o em uso Socks5Proxy Proxy gen rico para qualquer tipo de liga o Suporta TCP UDP unindo a uma porta liga es de entrada e autentica o HttpProxy Implementado usando o comando LIGAR apenas suporta liga es TCP de sa da su porta autentica o HttpCachingProxy Implementado usando comandos HTTP normais til apenas em pedidos no contexto do HTTP FtpCachingProxy Implementado usando um proxy FTP til no contexto de pedidos FTP Alguns URLs exclu dos podem ser adicionados na caixa de texto debaixo das configura es de proxy veja Fig ure Network Tab If you need more detailed information about the different proxy settings please refer to the manual of the under lying QT library documentation at http doc trolltech com 4 5 qnetworkproxy html ProxyType enum Dica Usando Proxies Using proxies can sometimes be tricky It is useful to proceed by trial and error with the above proxy types to check to see if they succeed in your case Pode modificar as op es de acordo com as suas necessidades Algumas das altera es pode requerer o reinicio do QGIS antes de ser efectiva As configura es s o guardadas no ficheiro de texto SHOME config QGIS qgis conf X pode encontrar as configura es em SHOME Library Preferences org qgis qgis plist e As configura
189. aste into new layer Features that are on the clipboard may be pasted into a new layer To do this first make a layer editable Select some features copy them to the clipboard and then paste them into a new layer using Edit Paste Features as and choosing New vector layer or New memory layer This applies to features selected and copied within QGIS and also to features from another source defined using well known text WKT Trabalhando com tabelas de atributos nao espaciais QGIS allows you also to load non spatial tables This currently includes tables supported by OGR and delimited text as well as the PostgreSQL MSSQL and Oracle provider The tables can be used for field lookups or just generally browsed and edited using the table view When you load the table you will see it in the legend field It can be opened with the E Open Attribute Table too and is then editable like any other layer attribute table As an example you can use columns of the non spatial table to define attribute values or a range of values that are allowed to be added to a specific vector layer during digitizing Have a closer look at the edit widget in section Fields Menu to find out more 12 3 8 Creating one to many relations Relations are a technique often used in databases The concept is that features rows of different layers tables can belong to each other As an example you have a layer with all regions of alaska polygon which provides some
190. ate new GRASS vector toolbar icon Enter a name in the text box and you can start digitizing point line or polygon geometries following the procedure described in section Digitalizando e editando uma camada vetorial GRASS In GRASS it is possible to organize all sorts of geometry types point line and area in one layer because GRASS uses a topological vector model so you don t need to select the geometry type when creating a new GRASS vector This is different from shapefile creation with QGIS because shapefiles use the Simple Feature vector model see section Criando novas camadas Vectoriais Dica Criando uma tabela de atributos para uma nova camada vetorial GRASS Se voc deseja atribuir atributos a seus recursos de geometria digitalizados certifique se de criar uma tabela de atributos com colunas antes de come ar a digitaliza o ver figure grass digitizing 5 16 7 Digitalizando e editando uma camada vetorial GRASS As ferramentas de digitaliza o para as camadas vetor GRASS s o acessadas usando o grass edit sup cone Ed itar camada vetorial GRASS na barra de ferramentas Certifique se de que voc tenha carregado um vetor GRASS e a camada selecionada na legenda antes de clicar na ferramenta de edi o Figura figure grass digitizing 2 mostra o di logo de edi o GRASS que exibido quando voc clica na ferramenta de edi o As ferramentas e as configura es ser o discutidas nas se es seguintes Dica Di
191. ating 5 Map centering allows you to decide in which way the canvas will be updated This includes always when leaving if your recorded coordinates start to move out of the canvas or never to keep map extent 15 2 Rastreio GPS em tempo real 165 QGIS User Guide Vers o 2 2 Finally you can activate Ed Log file and define a path and a file where log messages about the GPS tracking are logged If you want to set a feature manually you have to go back to A Position and click on Add Point or Add track point 15 2 5 Connect to a Bluetooth GPS for live tracking With QGIS you can connect a Bluetooth GPS for field data collection To perform this task you need a GPS Bluetooth device and a Bluetooth receiver on your computer At first you must let your GPS device be recognized and paired to the computer Turn on the GPS go to the Bluetooth icon on your notification area and search for a New Device On the right side of the Device selection mask make sure that all devices are selected so your GPS unit will probably appear among those available In the next step a serial connection service should be available select it and click on Configure button Remember the number of the COM port assigned to the GPS connection as resulting by the Bluetooth properties After the GPS has been recognized make the pairing for the connection Usually the autorization code is 0000 Now open guilabel GPS information panel and switc
192. ator by activating Ed Decimal separator is comma If spatial information is represented by WKT activate the Well Known Text option and select the field with the WKT definition for point line or polygon objects If the file contains non spatial data activate No geometry attribute only table and it will be loaded as an ordinal table Additionaly you can enable Use spatial index to improve the performance of displaying and spatially selecting features o A Use subset index Watch file to watch for changes to the file by other applications while QGIS is running 12 1 5 OpenStreetMap data In recent years the OpenStreetMap project has gained popularity because in many countries no free geodata such as digital road maps are available The objective of the OSM project is to create a free editable map of the world from GPS data aerial photography or local knowledge To support this objective QGIS provides suppport for OSM data Loading OpenStreetMap Vectors QGIS integrates OpenStreetMap import as a core functionality To connect to the OSM server and download data open the menu Vector Openstreetmap Load data You can skip this step if you already obtained an osm XML file using JOSM Overpass API or any other source The menu Vector Openstreetmap Import topology from an XML file will convert your osm file into a SpatiaLite database and create a corresponding database connection 72 Capitulo 12
193. attributes about its name and region type and a unique id which acts as primary key Foreign keys Then you get another point layer or table with information about airports that are located in the regions and you also want to keep track of these If you want to add them to the region layer you need to create a one to many relation using foreign keys because there are several airports in most regions In addition to the already existing attributes in the airports attribute table another field fk_region which acts as a foreign key if you have a database you will probably want to define a constraint on it This field fk region will always contain an id of a region It can be seen like a pointer to the region it belongs to And you can design a custom edit form for the editing and QGIS takes care about the setup It works with different providers so you can also use it with shape and csv files and all you have to do is to tell QGIS the relations between your tables 120 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Layers E YUKON KOYUKUK E airports e gt regions FAIRBANKS NORTH STAREEN THEASTIFAIRBANKS tanacross uui i ne Figura 12 40 Alaska region with airports Layers QGIS makes no difference between a table and a vector layer Basically a vector layer is a table with a geometry So can add your table as a vector layer To demostrate you can load the region
194. basename gt C textbackslash Workshop textbackslash eVisN DataNtextbackslash PhotoPoints db databasename lt databaseusername lt databasepassword sqlstatement SELECT Attributes Points x Points y FROM Attributes LEFT JOIN Points ON Points rec id Attributes point ID sqlstatement lt autoconnect gt false lt autoconnect gt lt query gt lt query gt lt shortdescription gt Import photograph points looking across Valley lt shortdescription gt lt description gt This command will import only points that have photographs looking across a valley to 0OGIS lt description gt lt databaset ype gt SQLITE lt databasetype gt lt databasehost gt lt databaseport gt lt databasename gt C Workshop eVis_Data PhotoPoints db lt databasename gt lt databaseusername gt lt databasepassword gt sqlstatement SELECT Attributes Points x Points y FROM Attributes LEFT JOIN Points ON Points rec id Attributes point ID where COMMENTS Looking across valley sqlstatement lt autoconnect gt false lt autoconnect gt lt query gt lt query gt lt shortdescription gt Import photograph points that mention limestone lt shortdescription gt lt description gt This command will import only points that have photographs that ment on limestone to QGIS lt description gt lt databaset ype gt SQLITE lt databasetype gt lt databasehost gt lt databaseport gt lt databasename gt C Workshop eVis_Data PhotoPoin
195. bers in an attribute table Here decimal places may be inserted If you enable this option three decimal places are initially set by default To create a buffer just activate the Ed Draw text buffer checkbox in the Buffer menu The buffer color is variable Here you can also use blend modes see blend modes If the Ed Color buffer s fill checkbox is activated it will interact with partially transparent text and give mixed color transparency results Turning off the buffer fill fixes that issue except where the interior aspect of the buffer s stroke intersects with the text s fill and also allows you to make outlined text In the Background menu you can define with Size X and Size Y the shape of your background Use Size type to insert an additional Buffer into your background The buffer size is set by default here The background then consists of the buffer plus the background in Size X and Size Y You can set a Rotation where you can choose between Sync with label Offset of label and Fixed Using Offset of label and Fixed you can rotate the background Define an Offset X Y with X and Y values and the background will be shifted When applying Radius X Y the background gets rounded corners Again it is possible to mix the background with the underlying layers in the map canvas using the Blend mode see blend_modes Use the Shadow menu for a user defined Drop shadow The drawing of the background is
196. bertura Web WCS Cliente e SES Elementos Simples para SQL Camadas PostGIS GML Linguagem de Marcadores Geogr fico Os servi os OGC est o a ser crescentemente usados para troca de dados geoespaciais de diferentes implemen ta es SIG e armazenamento de dados O QGIS consegue lidar com as especifica es em baixo como cliente sendo SFS atrav s do suporte do fornecedor PostgreSQL PostGIS veja Sec o Camadas PostGIS 14 1 1 Cliente WMS WMTS Vis o Global do Suporte WMS O QGIS actualmente pode funcionar como cliente WMS que entende servidores WMS 1 1 1 1 1 e 1 3 Foi particularmente testado contra servi os p blicos de acesso como os DEMIS Os servidores WMS funcionam atrav s de pedidos pelo cliente ex QGIS para mapas matriciais com uma dada extens o conjunto de camadas estilos de simboliza o e transpar ncia O servidor WMS de seguida consulta as suas fontes de dados locais matricializa num mapa e manda de volta ao cliente em formato matricial Para o QGIS isto tipicamente vem em JPEG ou PNG WMS um servi o REST gen rico Estado de Transfer ncia Representativo mais que um Servi o Web comple tamente fundido Como tal pode realmente obter os URLs gerados pelo QGIS e us los num navegador da web para recuperar as mesmas imagens que o QGIS usa Internamente Isto pode ser til para resolver problemas uma 143 QGIS User Guide Vers o 2 2 vez que existem v rias marcas de servidores WMS no mercado e
197. ble clicking on the color values in the Assigned attributes field Fig ure diagrams 2 gives an idea of the result 10 Finally click Ok Remember that in the Position tab a Ed Data defined position of the diagrams 1s possible Here you can use attributes to define the position of the diagram You can also set a scale dependent visibility in the Appearance tab The size and the attributes can also be an expression Use the amp button to add an expression 12 2 10 Metadata Menu O The Metadata menu consists of Description Attribution MetadataURL and Properties sections In the Properties section you get general information about the layer including specifics about the type and location number of features feature type and editing capabilities The Extents table provides you with layer extent information and the Layer Spatial Reference System which is information about the CRS of the layer This is a quick way to get information about the layer Additionally you can add or edit a title and abstract for the layer in the Description section It s also possible to define a Keyword list here These keyword lists can be used in a metadata catalogue If you want to use a title from an XML metadata file you have to fill in a link in the DataUrl field Use Attribution to get attribute data from an XML metadata catalogue In MetadataUrl you can define the general path to the XML metadata catalogue This information will be saved in the Q
198. blue handles in the corner of the map With the map selected you can now adapt more properties in the map Item Properties tab To move layers within the map element select the map element click the LE Move item content icon and move the layers within the map element frame with the left mouse button After you have found the right place for an element you can lock the element position within the Print Composer canvas Select the map element and click on the right mouse button to Lock the element position and again to unlock the element You can also lock the map element by activating the 4 Lock layers for map item checkbox in the Map dialog of the Item Properties tab Propriedades principais The Main properties dialog of the map Item Properies tab provides the following functionalities see fig ure_composer_4 Item properties x Map Main properties Render Update preview Scale 4000000 Map rotation 0 00 amp M Draw map canvas items amp Lock layers for map item Extents amp Controlled by atlas amp show grid Overview Position and size Rotation amp Frame amp Background Item ID T FY FY Y Y FY FY rT F YF Rendering Figura 18 4 Separador das propriedades da Mapa e The Preview area allows you to define the preview modes Rectangle Cache and Render as described above If you change the view on the QGIS map canvas by changing vector or raster properties you can 18 3 Itens
199. can also alter the underlying SQL for the layer by invoking the Query Builder dialog on the General tab To access the Layer Properties dialog double click on a layer in the legend or right click on the layer and select Properties from the pop up menu 12 2 Janela de Propriedades de Vetor 79 QGIS User Guide Vers o 2 2 Layer Properties regions General ES Fields Rendering amp Display EO Actions F Joins Diagrams 7 Metadata 80 v Layer info Layer name regions displayed as regions Layer source DOS1 Alexa ndre Dropbox Trabalho QGIS qgis_sample_data shapefiles regions shp Data source encoding System A w Coordinate reference system EPSG 2964 NAD27 Alaska Albers Create spatial index Update extents Scale dependent visibility Maximum 54 7 483 648 1 Minimum 4 400 000 000 inclusive exclusive Current Current Feature subset Query Builder Load Style Save As Default Restore Default Style Save Style 7 Help Apply Cancel A a Figura 12 7 Vector Layer Properties Dialog Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 12 2 1 Style Menu The Style menu provides you with a comprehensive tool for rendering and symbolizing your vector data You can use Layer rendering tools that are common to all vector data as well as special symbolizing tools tha
200. cess to its parameters In the bottom part of the Print Composer window you can find a status bar with mouse position current page number and a combo box to set the zoom level 18 1 Primeiros passos 223 QGIS User Guide Vers o 2 2 You can add multiple elements to the Composer It is also possible to have more than one map view or legend or scale bar in the Print Composer canvas on one or several pages Each element has its own properties and in the case of the map its own extent If you want to remove any elements from the Composer canvas you can do that with the Delete or the Backspace key Ferramentas de Navegacao To navigate in the canvas layout the Print Composer provides some general tools ge Aproximar P Afastar EA e 4 8 Zoom to full extent e A Zoom to 100 Fui e Ma Actualiza a vista se encotnrar uma vista com um estado insconscitente Ni Pan composer j Marquee zoom mode 799m to a specific region of the Composer You can change the zoom level also using the mouse wheel or the combo box in the status bar If you need to switch to pan mode while working in the Composer area you can hold the Spacebar or the the mouse wheel With Ctrl Spacebar you can temporarily switch to marquee zoom mode and with Ctrl Shift Spacebar to zoom out mode 18 1 3 Print Composer Options From Settings Composer Options you can set some options that will be used as default during your work Compositions defau
201. change the marker style choose v Options from the Settings menu click on the Digitizing tab and select the appropriate entry QGIS User Guide Vers o 2 2 Opera es B sicas 9 Comece por activar a Ferramenta de N s e seleccione um elemento clicando em cima de um As caixas vermelhos ir o aparecer em cada v rtice deste elemento Selecting vertices You can select vertices by clicking on them one at a time by clicking on an edge to select the vertices at both ends or by clicking and dragging a rectangle around some vertices When a vertex is selected its color changes to blue To add more vertices to the current selection hold down the Ctrl key while clicking Hold down Ct r1 or Shift when clicking to toggle the selection state of vertices vertices that are currently unselected will be selected as usual but also vertices that are already selected will become unselected Adding vertices To add a vertex simply double click near an edge and a new vertex will appear on the edge near to the cursor Note that the vertex will appear on the edge not at the cursor position therefore it should be moved if necessary Eliminar v rtices Depois de selecionar os v rtices para eliminar clique na tecla Delete Note se que n o pode usar a amp Node Tool para eliminar um elemento completo QGIS vais assegurar que mant m o n mero m nimo de v rtices necess rios para o tipo de elemento que est a trabalhar Para elim
202. ck OK to close the dialog 8 6 2 Rotulo Copyright Q Copyright label adds a copyright label using the text you prefer to the map 1 Select from menu View Decorations Copyright Label The dialog starts see figure_decorations_2 2 Enter the text you want to place on the map You can use HTML as shown in the example 40 Cap tulo 8 Ferramentas Gerais QGIS User Guide Vers o 2 2 Copyright Label Decoration Enable copyright label Enter your copyright label here amp copy QGIS 2013 Placement Bottom Right 7 Color Lo Help Cancel OK Figura 8 7 The Copyright Dialog 3 Choose the placement of the label from the Placement T combo box 4 Make sure the Ed Enable Copyright Label checkbox 1s checked 5 Click OK In the example above which is the default QGIS places a copyright symbol followed by the date in the lower right hand corner of the map canvas 8 6 3 Seta Norte A North Arrow places a simple north arrow on the map canvas At present there is only one style available You can adjust the angle of the arrow or let QGIS set the direction automatically If you choose to let QGIS determine the direction it makes its best guess as to how the arrow should be oriented For placement of the arrow you have four options corresponding to the four corners of the map canvas North Arrow Decoration Angle le o H Placement Bottom Left Enable North Arrow Set directio
203. ck on the Raster Interpolation ui Interpolation which appears in the QGIS menu bar The Interpolation plugin dialog appears as shown in Figure interpolation 1 3 Selecione uma camada de entrada p ex elevp Iselectstringl e a coluna p ex ELEV para interpo la o 4 Select an interpolation method e g Triangulated Irregular Network TIN and specify a cell size of 5000 as well as the raster output filename e g elevation tin 5 Clique OK Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 10 Complemento de Interpola o 275 QGIS User Guide Vers o 2 2 19 11 M dulo Edi o Offiline For data collection it is a common situation to work with a laptop or a cell phone offline in the field Upon return ing to the network the changes need to be synchronized with the master datasource e g a PostGIS database If several persons are working simultaneously on the same datasets 1t 1s difficult to merge the edits by hand even 1f people don t change the same features O m dulo Edi o Offtine automatiza a sincroniza o pela c pia do conte do da fonte de dados usualmente Post GIS ou WFS T para uma base de dados SpatiaLite e armazena as edi es the offline em tabelas dedicadas Depois de estarem ligadas outra vez rede poss vel aplicar edi es offline no conjunto de dados prinicipal 19 11 1 Usando o m dulo Open some vector lay
204. cking works for both USB and BT modes by using GPSGate or even without it just use the 5 Autodetect mode or point the tool the right port Ubuntu Mint GNU Linux For USB The live tracking works both with GPSD gpsd dev ttyACM3 or without it by connecting the QGIS live tracking tool directly to the device for example dev ttyACM3 For Bluetooth The live tracking works both with GPSD gpsd dev rfcommO or without it by connecting the QGIS live tracking tool directly to the device for example dev rfcomm0 Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 15 2 Rastreio GPS em tempo real 167 QGIS User Guide Vers o 2 2 168 Cap tulo 15 Trabalhando com dados GPS CAP TULO 16 Integra o com SIG GRASS The GRASS plugin provides access to GRASS GIS databases and functionalities see GRASS PROJECT in Refer ncias Bibliogr ficas e Web This includes visualizing GRASS raster and vector layers digitizing vector layers editing vector attributes creating new vector layers and analysing GRASS 2 D and 3 D data with more than 400 GRASS modules In this section we ll introduce the plugin functionalities and give some examples of managing and working with GRASS data The following main features are provided with the toolbar menu when you start the GRASS plugin as described in section sec_starting_grass e B Abrir mapset M Novo mapset e M Fechar mapset 3 i Adic
205. classifica o Assim o mapa ter um aspecto mais tridimensional Al m disso pode se colocar um valor de pixel que ser considerado como SEMDADOS no menu Valor adicional sem dados Uma maneira ainda mais flex vel de modificar a banda de transpar ncia poder ser feita no guilabel Modifica es das op es de transpar ncia Aqui podemos definir a transpar ncia de cada pixel Como exemplo desejamos colocar a gua de nosso arquivo raster de exemplo Arquivo landcover tif com transpar ncia de 20 Os seguintes passos s o necess rios 1 Carregar o arquivo raster Arquivo landcover tif 2 Abra o di logo Propriedades fazendo clique duplo no nome do raster na legenda o clicando com bot o e selecionando Propriedades do menu pop up 3 Selecione o menu Transpar ncia 4 No menu Transpar ncia da banda escolher Nenhum Adicionar valores manualmente yma nova linha vai aparecer na lista de pixels 5 Clique no bot o 6 Entre o valor raster na coluna De e At usamos O aqui e ajuste a transpar ncia a 20 7 Pressione o bot o Aplicar e visualize no mapa as modifica es feitas Podemos repetir os passos 5 e 6 para ajustar mais valores com a transpar ncia desejada Como podemos ver f cil definir uma transpar ncia desejada mas requer um grande esfor o Ali s pode se usar l o bot o Exportar para arquivo para salvar sua lista de transpar ncias para um arquivo O bot o 7 Importar
206. clicking on the second level in the Symbol layers dialog You can define Symbol layers that are combined afterwards A symbol can consist of several Symbol layers The following settings are possible e Point layers 82 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Symbol layer type You have the option to use Ellipse markers Font markers Simple markers SVG markers and Vector Field markers e Colors e Size Outline style Outline width e Angle Offset X Y You can shift the symbol in the x or y direction e Anchor point Data defined properties Line layers e Symbol layer type Here you can use Simple Lines and Marker Lines Color Pen width Offset Pen style Join style Cap style Use custom dash pattern Dash pattern unit Data defined properties Polygon Layers Symbol layer type It s possible to use Centroid Fill Gradient Fill Line Pattern Fill Point Pattern Fill SVG Fill Simple Fill and two Outlines Marker line and Simple line Colors e Fill style Border style Border width Offset X Y Data defined properties Gradient Fill Symbol layer type allows you to select between a Two color and Color ramp setting You can use the C Feature centroid as Referencepoint All fills Gradient Fill Symbol layer type is also available through the Symbol menu of the Categorized and Graduated Renderer and through the Rul
207. com a biblioteca QT inclusa mas n o limitada as seguintes vers es ambas gratuitas e comerciais Qt N o Comercial do Windows Qt Windows Qt X11 Qt Mac e Qt Embedded ou com vers es modificadas do Qt que usam a mesma licen a do Qt e distribuir combina es rela cionadas incluindo os dois Voc deve obedecer a GNU General Public License em todos os aspectos para todo o c digo usado em outra Qt Se voc modificar este arquivo voc pode estender essa ex ce o para a sua vers o do arquivo mas voc n o obrigado a faz lo Se voc n o quiser fazer isso exclua essa declara o exce o de sua vers o 21 2 GNU Licen a de Documenta o Gratuita 298 Vers o 1 3 3 de Novembro de 2008 Direitos Autorais 2000 2001 2002 2007 2008 Free Software Foundation Funda o do Software Livre lt http fsf org gt Capitulo 21 Ap ndice QGIS User Guide Vers o 2 2 Qualquer pessoa tem permiss o para copiar e distribuir c pias fi is deste documento de licen a mas modifica lo n o permitido Pre mbulo O objetivo desta licen a produzir um manual comp ndio ou outro documento funcional e til Gr tis no sentido de liberdade para garantir a todos a efetiva liberdade de copiar e distribui la com ou sem modifica es comercialmente ou n o Secundariamente esta licen a preserva ao autor e editor uma maneira de ter cr dito pelo seu trabalho embora n o sejam considerados responsaveis por
208. como uma nova camada The selected features can be saved as any OGR supported vector format and also transformed into another coor dinate reference system CRS Just open the right mouse menu of the layer and click on Save selection as to define the name of the output file its format and CRS see section Legenda do Mapa It is also possible to specify OGR creation options within the dialog Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 124 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 12 5 Calculadora de Campos O bot o Eai Calculadora de Campos ma tabela de atributos permite realizar c lculos com base em valores de atributos existentes ou fun es definidas por exemplo para calcular o comprimento ou a rea da geometria dos elementos Os resultados podem ser escritos numa nova coluna de atributo ou pode ser usado para actualizar os valores de uma coluna j existente Voc tem que trazer a camada vetorial em modo de edi o antes de voc pode clicar no cone da calculadora de campos para abrir a caixa de di logo ver figure attributes 3 Na caixa de di logo voc tem primeiro que escolher se quer apenas atualizar os elementos seleccionados criar um novo campo de atributo onde os resultados do c lculo ser o adicionados ou actualizar um campo existente Field calculator Only update selected features amp Create a new Field Update ex
209. contains Com a informa o em cima podemos agora perceber a primeira linha do nosso primeiro script exemplo a primeira linha que n o come a com o coment rio Python pts spsample polyg numpoints type random A vari vel polygon ja cont m o objecto SpatialPolygonsDataFrame portanto pode ser usado para chamar o m todo spsample tal como o numpoints que indica o n mero de pontos a ser adicionados grelha de amostra criada Since we have declared an output of type vector named out we have to create a variable named out and store a Spatial DataFrame object in it in this case a SpatialPointsDataFrame You can use any name for your intermediate variables Just make sure that the variable storing your final result has the same name that you used to declare it and that it contains a suitable value In this case the result obtained from the spsample method has to be converted explicitly into a SpatialPointsDataFrame object since it is itself an object of class ppp which is not a suitable class to be returned to QGIS If your algorithm generates raster layers the way they are saved will depend on whether or not you have used the dontuserasterpackage option In you have used it layers are saved using the writ eGDAL method If not the writeRaster method from the raster package will be used Se usou a op o passfilename os ficheiros de s ida s o gerados usando o pacote raster com writeRaster mesmo que n o s
210. cutar Contudo se quiser us lo a partir da caixa de ferramentas necess rio guarda lo e fechar o di logo do modelador para permitir que a caixa de ferramentas actualize os seus conte dos 17 3 3 Guardando e e carregando os modelos Use o bot o Guardar para guardar o modelo actual e o Abrir para abrir qualquer modelo anteriormente guardado Os modelos s o guardados com a extens o model Se o modelo for previamente guardado da janela do modelador n o Ihe ir ser solicitado por um nome de ficheiro uma vez que j existe um ficheiro associado ao modelo e ser usado Antes de guardar o modelo necessita de introduzir o nome e o grupo do modelo usando as caixas de texto para parte superior da janela Os modelos guardados na pasta modelos a pasta padr o quando pedido o nome do ficheiro para guardar o mod elo ir aparecer na caixa de ferramentas na liga o correspondente Quando a caixa de ferramentas chamada ele procura na pasta modelos por ficheiros com a extens o file model e carrega os modelos guardados Uma vez que o modelo um pr prio algoritmo este pode ser adicionado na caixa de ferramentas como qualquer outro algoritmo A pasta de modelos pode ser configurada a partir do di logo de configura o do processamento no grupo Mode lador Os modelos carregados a partir da pasta modelos aparecem na caixa de ferramentas mas tamb m na rvore de algoritmos do separador Algoritmos da janela do modelado
211. d or projected coordinates mmmm mm which corre spond with the selected point on the image two alternative procedures can be used The raster itself sometimes provides crosses with coordinates written on the image In this case you can enter the coordinates manually Using already georeferenced layers This can be either vector or raster data that contain the same ob jects features that you have on the image that you want to georeference and with the projection that you want for your image In this case you can enter the coordinates by clicking on the reference dataset loaded in the QGIS map canvas O procedimento habitual para o georreferenciamento de uma imagem consiste em selecionar m ltiplos pontos no raster especificar suas coordenadas e escolher o tipo de transforma o mais apropriado para o arquivo Baseado nos dados e par metros de entrada o complemento ir computar os par metros do arquivo world ou ent o criar um novo GeoTIFF Quanto mais pontos de controle coordenadas forem informados melhor ser o resultado do processo The first step 1s to start QGIS load the Georeferencer Plugin see O menu de complementos and click on Raster Georeferencer which appears in the QGIS menu bar The Georeferencer Plugin dialog appears as shown in figure georeferencer 1 Para este exemplo estamos a usar uma carta militar do Sul de Dakota do SDGS Pode ser visualizada mais tarde juntamente com a informa o proveniente da
212. d point to the folder where the other version is installed GRASS 6 4 is needed for algorithms to work correctly Se est a trabalhar em Linux s necessita de ter a certeza que o GRASS est correctamente instalado e pode ser executado sem problema a partir da consola GRASS algorithms use a region for calculations This region can be defined manually using values similar to the ones found in the SAGA configuration or automatically taking the minimum extent that covers all the input layers used to execute the algorithm each time If the latter approach 1s the behaviour you prefer just check the Use min covering region option in the GRASS configuration parameters The last parameter that has to be configured is related to the mapset A mapset is needed to run GRASS and the processing framework creates a temporary one for each execution You have to specify if the data you are working with uses geographical lat lon coordinates or projected ones GDAL No additional configuration is needed to run GDAL algorithms Since they are already incorporated into QGIS the algorithms can infer their configuration from it Orfeo Toolbox Orfeo Toolbox OTB algorithms can be run from QGIS if you have OTB installed in your system and you have configured QGIS properly so it can find all necessary files command line tools and libraries As in the case of SAGA OTB binaries are included in the stand alone installer for Windows but they are not incl
213. d profile to download from Garmin devices Unfortunately there is a bug that does not allow create other profiles so downloading directly in QGIS using the GPS Tools is at the moment limited to Garmin USB units Garmin GPSMAP 60cs MS Windows Install the Garmin USB drivers from http www8 garmin com support download_details jsp id 59 1 Connect the unit Open GPS Tools and use type garmin serial and port usb Fill the fields Layer name and Output file Sometimes it seems to have problems saving in a certain folder using something like c temp usually works Ubuntu Mint GNU Linux It is first needed an issue about the permissions of the device as described at https wiki openstreetmap org wiki USB_Garmin_on_GNU Linux You can try to create a file etc udev rules d 51 garmin rules containing this rule ATTRS idVendorj 091e 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 and usually QGIS freezes several times before the operation work fine BTGP 38KM datalogger only Bluetooth MS Windows The already referred bug does not allow to download the data from within QGIS so it is needed to use GPSBabel from the command line or using its interface The working command is gpsbabel t i skytraq baud 9600 initbaud 9600 f COM9 o gpx F C GPX aaa gpx Ubuntu Mint GNU L
214. da O arquivo do projeto salvo em formato XML assim poss vel editar o arquivo em outras vers es do QGIS se conhecer o que est fazendo O formato do arquivo tem sido atualizado constantemente comparado com as vers es anteriores do QGIS Os arquivos de projeto de vers es antigas do QGIS n o podem funcionar corretamente Para fazer isto na janela Geral aba Configura es Op es voc pode selecionar E Avisar para salvar o projeto e altera es de fontes de dados quando necess rio E Avisar quando abrir um projeto salvo com uma vers o antiga do qgl Sempre que salvar um projeto no QGIS 2 2 ira criar uma c pia de seguran a do projeto 6 7 Arquivo de Sa da Existem muitas maneiras de gerar uma sa da para se o QGIS J discutimos 1sso na se o Projetos salvando como um arquivo de projeto Aqui apresentamos outras formas de produzir arquivos de sa da 6 6 Projetos 21 QGIS User Guide Vers o 2 2 e A op o do menu Projecto Ef Salvar como Imagem abre um di logo de arquivo onde pode selecionar nome caminho e tipo de imagem formato PNG ou JPG Um arquivo world file com a extens o PNGW ou JPGW salvo na mesma pasta georeferenciando a imagem Op o do menu Projeto Exportar DXF abrir a janela onde deve definir o Modo da simbologia a Escala da simbologia e a camada vetorial que ira exportar para DXF e Na op o de menu Projeto gt Novo compositor de impress o abrir a
215. dades do Projecto ou 7 Configu ra es Propriedades do Projecto pode definir as op es espec ficas do projecto Aqui est o inclu dos 48 No menu Geral podem ser definidos o t tulo do projecto a cor de selec o e fundo unidades da camadas precis o e os caminhos relativos onde ser o guardadas as camadas Se a transforma o SRC estiver ligada pode escolher o c lculo de dist ncias recorrendo ao elips ide Pode definir as unidades do enquadramento apenas usado quando a transforma o SRC est desactivada e a precis o das casas decimais a usar Pode definir tamb m uma escala de projecto que rescrever sobre as escalas globais pr definidas O menu SRC permite que escolha o Sistema de Coordenadas Refer ncia para o projecto e para activar a reprojec o on the fly das camadas matricias e vectoriais na exibi o de camadas de diferentes SRC Com o terceiro menu Identificar camadas pode definir ou desactivar que camadas irao responder ferra menta identificar Veja o par grafo das Ferramentas de Mapa da sec o Op es Sec o para activar a identifica o de m ltiplas camadas O menu Estilos Padr o deixa controlar a forma como ser o desenhadas as novas camadas quando n o tiverem estilos qm1 definidos Pode tamb m definir o nivel de transpar ncia padr o para novas camadas e se os s mbolos devem ter cores aleat rias associadas a eles O separador Servidor OWS permite definir a informa o s
216. daptando as propriedades do raster Clicando no menu Propriedades do raster dialog in the Settings abrir a caixa de di logo com as propriedades do raster que ser georreferenciado Configurando o georreferenciador You can define whether you want to show GCP coordiniates and or IDs As residual units pixels and map units can be chosen For the PDF report a left and right margin can be defined and you can also set the paper size for the PDF map Finally you can activate to A Show Georeferencer window docked Iniciando a transforma o After all GCPs have been collected and all transformation settings are defined just press the DP start georeferencing button to create the new georeferenced raster Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 274 Capitulo 19 Complementos QGIS User Guide Vers o 2 2 19 10 Complemento de Interpola o The Interplation plugin can be used to generate a TIN or IDW interpolation of a point vector layer Itis very simple to handle and provides an intuitive graphical user interface for creating interpolated raster layers see Figure interpolation 1 The plugin requires the following parameters to be specified before running e Input Vector layers Specify the input point vector layer s from a list of loaded point layers If several layers are specified then data from all layers is used for interpolation Note It is possible to insert line
217. dard deviation Limites de contagem cumulativa de pixeis de corte Multiplicador do desvio padr o Corrigindo Erros A Map canvas refresh 9 3 5 Menu de Janela e Legenda Apar ncia padr o do mapa reescrita pelas propriedades do projecto Define a Cor da selec o e a Cor de fundo Legenda da camada Tr Duplo clique na legenda Pode Abrir propriedades da camada ou Abrir tabela de atributos com duplo clique The following Legend item styles are possible fF Tornar maiusculo os nomes da camada g Tornar negrito os nomes da camada Tornar negrito os nomes dos grupos g Mostrar nomes de atributos de classifica o E Criar cones matriciais pode ser lento g Adicionar novas camadas ao grupo actual ou seleccionado 9 3 6 Menu Ferramentas de Mapa Identificar C Abre resultados identificados numa pequena janela ser necess rio reiniciar o QGIS The Mode setting determines which layers will be shown by the Identify tool By switching to Top down or Top down stop at first instead of Current layer attributes for all identifiable layers will be shown with the Identify tool In QGIS 2 2 you can now use a Layer selection option so that you can choose with the left mouse menu which layer you want to identify see the Project properties section under Projetos to set which layers are identifiable C Abre o formul rio do elemento se s um elemento for identificado
218. das a janela Adicionar Camada Clique em Novo Introduza DM Solutions como nome Introduza o URL veja em cima Clique OK nA A Ww N 6 Escolha DM Solutions da lista Liga es do Servidor 14 1 QGIS como Cliente de Dados OGC 151 QGIS User Guide Vers o 2 2 7 Clique Ligar 8 Espera pela lista de camadas a ser preenchida 9 Seleccione a camada Parques da lista 10 Clique Aplicar para adicionar a camada ao mapa Repare que as configura es proxy que definiu nas suas prefer ncias s o tamb m reconhecidas Add WFS Layer from a Server Server connections dmsolutions 3 Connect New Edit Delete Load Save Filter Title Name Abstract Cache Feature Filter Parks park v Cities popplace Zj Use title for layer name Coordinate reference system EPSG 42304 Change Help Add Build query Close Figura 14 4 Adicionando uma camada WFS 4 Ser avisado do progresso de transfer ncia que pode ser visualizado na janela principal do QGIS no canto inferior esquerdo Uma vez a camada carregada pode identificar e seleccionar uma provincia ou duas e ver na tabela de atributos Apenas o WES 1 0 0 suportado At este momento n o houve muitos testes contra vers es WFS implementadas em outros servidores WFS Se encontrar problemas com outros servidores WFS por favor n o hesite em contactar a equipa de desenvolvimento Por favor dirija se Sec
219. das GRASS vetor sup Alternar edi o n o est dispon vel Consulte a se o Digitalizando e editando uma camada vetorial GRASS para obter informa es sobre a edi o de camadas vetoriais GRASS Menu bot o direito do mouse para camadas raster e Aproximar extens o da camada e Ampliar Melhor Escala 100 Esticar Usando o Enquadramento Actual e Adicionar ao enquadramento e Remover Duplicar Definir SRC da Camada Definir SRC do projecto a partir da Camada e Guardar como Propriedades e Renomear 7 3 Legenda do Mapa 31 QGIS User Guide Vers o 2 2 Copiar Estilo Adicionar Novo Grupo Expandir Tudo Ocultar Tudo Actualizar Ordem de Desenho Adicionalmente de acordo com a posi o da camada e selec o Fa a Item de Topo Agrupar Seleccionados Menu bot o direito do mouse para camadas vetor Aproximar Extens o da Camada Adicionar ao Enquadramento Remover Duplicar Definir SRC da Camada Definir SRC do projecto a partir da Camada Abrir Tabela de Atributos Alternar Edi o n o est dispon vel para camadas GRASS Guardar Como Guardar Selec o Como Filtrar Exibir Contagem de Elementos Propriedades Renomear Copiar Estilo Adicionar Novo Grupo Expandir Tudo Ocultar Tudo Actualizar Ordem de Desenho Adicionalmente de acordo com a posi o da camada e selec o Fa a Item de Topo Agrupar Seleccionados Menu bot o direito do mouse para grupo de cam
220. das est ativa O 4 Clique no cone SE Clique para selecionar o SRC para a exibi o de coordenadas e selecione um SRC diferente a partir do que selecionou acima 5 Para iniciar a capturar coordenadas clique em Iniciar captura Pode clicar agora em qualquer sitio do enquadramento do mapa e o m dulo ira mostrar as coordenadas em ambos os SRC selecionados 6 Para habilitar coordenar de rastreamento do mouse clique no sup icone rastreamento do mouse 7 Pode tamb m copiar as coordenadas selecionadas para a rea de transfer ncia Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 4 M dulo Gestor BD The DB Manager Plugin is officially part of the QGIS core and is intended to replace the SPIT Plugin and additionally to integrate all other database formats supported by QGIS in one user interface The DE GEE Plugin provides several features You can drag layers from the QGIS Browser into the DB Manager and it will import your layer into your spatial database You can drag and drop tables between spatial databases and they will get imported You can also use the DB Manager to execute SQL queries against your spatial database and then view the spatial output for queries by adding the results to QGIS as a query layer The Database menu allows you to connect to an existing database to start the SQL window and to exit the DB Manager Plugin Once you are connected to an existing database
221. declives exposi es relevo colorido indice de rugosidade do terreno indice de posi o topogr fica e mapas de irregularidades a partir de matricias GDAL suportados Para mais informa o poder ler em http www gdal org gdaldem html 19 8 M dulo de Ferramentas GDAL 269 QGIS User Guide Vers o 2 2 Diversos Construir Este programa constr i um VRT Conjunto de Dados Virtual que um mosaico da Matricial Virtual lista dos conjuntos de dados do GDAL Veja tamb m Cat logo http www gdal org gdalbuildvrt html mis Juntar Este utilit rio ir criar mosaicos de imagem a partir de um conjunto Todas as imagens devem ter o mesmo sistema de coordenadas e ter o mesmo n mero de bandas correspondentes mas podem ser sobrepostas e em diferentes resolu es Nas reas de sobreposi o a ltima imagem ser copiada sobre as mais recentes O utilit rio tamb m descrito em http www gdal org gdal merge html my Informa o Este utilit rio cria uma lista com v rias informa es sobre o conjunto de dados raster GDAL suportado Pode encontrar mais informa o em http www gdal org gdalinfo html F Construir O utilit rio gdaladdo pode ser usado para construir ou reconstruir imagem de Redu es visualiza o para a maioria dos formatos suportados com um dos algoritmos de redu o de escala Para mais informa o veja http www gdal org gdaladdo html ndice de Este utilit rio constroi uma shapefile com o registo
222. do Linear 3 M todo Exato No bloco da esquerda o bot o e Adicionar valores manualmente adiciona um valor individual na tabela de cores O bot o cy Apagar a linha selecionada apaga um valor individual da tabela e o bot o Ordene os valores do mapa de cores ordena a tabela de acordo ao valor de pixel da coluna valor Tamb m poss vel adicionar r tulos para cada cor mas esse valor n o ser mostrado quando se use o identificador fei o ferramenta Tamb m pode clicar no bot o Mae Carregar mapa de cor da banda 4 qual tenta carregar uma tabela de cores a partir da banda se tem alguma Pode se usar tamb m os bot es 5 Carregar mapa de cor de arquivo o Exportar mapa de color map para SUD para carregar uma tabela de cor j existente o salvar uma tabela de cor para uso futuro 136 Cap tulo 13 Trabalhando com Dados Raster QGIS User Guide Vers o 2 2 No bloco da direita Generar novo mapa de cor permite criar novos mapas de cor categorizados Em Modo XE hal E p A E Classifica o Intervalos iguais apenas necessita selecionar o N mero de classes 9 v e clicar o bot o Classificar Pode se inverter as cores do mapa de cores clicando na caixa de sele o Ed Invertir Em caso de Modo I Continuo QGIS cria as classes autom ticamente dependo dos valores M n and M x A defini o dos valores M n M x pode ser feita com ajuda da se o Carregar valores m n m x Muitas imagens tem u
223. do a cinzento com as reas mais brilhantes concentradas nos aeroportos O mapa de densidade pode ser personalizado no QGIS para melhorar a apar ncia l 6 Seleccione um suitable mapa de cor adequado Abra a janela de propriedades da camada do heatmap airports seleccione a camada heatmap airports abre o menu de contexto com o bot o direito do rato e seleccione Propriedades Seleccione o separador Estilo Alterar o Tipo de Renderiza o IY para Banda nica pseudocor Tv por exemplo Y1OrRed Clique no bot o Carregar para recolher os valores m nimos e m ximos para cada matricial de depois clique no bot o Classificar Pressione OK para actualizar a camada O resultado final demonstrado na Figure Heatmap 4 Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 19 15 M dulo de C lculo de Rotas The Road Graph Plugin is a C plugin for QGIS that calculates the shortest path between two points on any polyline layer and plots this path over the road network Caracter sticas principais Calculates path as well as length and travel time 282 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 Quantum GI5 eb47 FFs Edit View Layer Settings Plugins 3i BE M m 8 9 Q fl UB gt oe po PUP DARA R E WE Layers x amp airports amp 4 heatmap airports RM majrivers C9 lakes E C3 alaska LJ
224. do pol gono adicionam se v rtices no interior e termina se a linha no exterior do pol gono com um clique no bot o direito Nota The reshape tool may alter the starting position of a polygon ring or a closed line So the point that is represented twice will not be the same any more This may not be a problem for most applications but it is something to consider Curvas de Afastamento The c3 Offset Curve too creates parallel shifts of line layers The tool can be applied to the edited layer the geometries are modified or also to background layers in which case it creates copies of the lines rings and adds them to the the edited layer It is thus ideally suited for the creation of distance line layers The displacement is shown at the bottom left of the taskbar To create a shift of a line layer you must first go into editing mode and then select the feature You can make the 5 Offset Curve tool active and drag the cross to the desired distance Your changes may then be saved with the Ed save Layer Baits fogj Dividir Elementos Pode dividir elementos usando o cone y Dividir Elementos qa barra de ferramentas Apenas desenhe uma linha ao longo do elemento que quer dividir Split parts In QGIS 2 0 it is now possible to split the parts of a multi part feature so that the number of parts is increased Just draw a line across the part you want to split using the ae split Parts icon Juntar elementos seleccionados Th
225. dos os algoritmos dispon veis ordenados alfabeticamente juntamente com os seus nomes da linha de comandos correspondentes You can use a string as a parameter for this method Instead of returning the full list of algorithms it will only display those that include that string If for instance you are looking for an algorithm to calculate slope from a DEM type alglist slope to get the following result DIM Filter slope based gt saga dtmfilter slope based Downs lope Distance Cradi ni gt eia mimos gt saga downslopedistancegradient Relative Heights and Slope Positions gt saga relativeheightsandslopepositions Slope Leng do 36 SS A a ia AS o a t gt saga slopelength Slope Aspect Curvature gt saga slopeaspectcurvature Upslope Area SS eae SSS Ses Sp aaa gt saga upslopearea Vegetation Index slop based 5 saga vegetationindex slopebased Este resultado pode mudar dependendo dos algoritmos que est o dispon veis Agora mais f cil encontrar o algoritmo que procura e o seu nome da linha de comandos neste caso saga slopeaspectcurvature Once you know the command line name of the algorithm the next thing to do is to determine the right syntax to execute it That means knowing which parameters are needed and the order in which they have to be passed when calling the runalg method The
226. download osgeo org qgis data qgis_sample_data zip e descompacte os arquivos no seu sistema O banco de dados Alaska inclue todos dados SIG que voce usar nos exemplos e ver nas imagens do manual do usu rio tamb m inclui uma pequena base de dados do GRASS A proje o usada nos dados de exemplo do QGIS Alaska Albers Equal Area em unidade p s O c digo EPSG 2964 PROJCS Albers Equal Area GEOGCS NAD27 DATUM North American Datum 1927 SPHEROID Clarke 1866 06378206 4 294 9789806982130985 AUTHORITY EPSG 7006 TOWGSS4 3 1427 193 0 0 0 01 AUTHORITY EPSG 6267 PRIMEM Greenwich 0 AUTHORLTYI EBPSG S5901 UNIT degree 0 0174532925199433 AUTHORITY EPSG 9108 AUTHORITY EPSG 4267 i PROJECTION Albers_Conic_Egqual_Area PARAMETER standard parallel 1 55 PARAMETER standard parallel 2 65 PARAMETER latitude of center 50 PARAMETER longitude of center 154 PARAMETER false easting 0 PARAMETER false northing 0 UNIT us survey feet 0 3048006096012192 Se voc pretende usar o QGIS como um visualizador gr fico para o GRASS voc pode encontrar uma sele o de localiza es de amostra ex Spearfish or South Dakota no site oficial do SIG GRASS http grass osgeo org download sample data 6 3 Sessao Amostra Agora que voce tem o QGIS instalado e um conjunto de dados de amostra dispon vel n s gostar amos de demostrar uma corta e simples se
227. e data correctly in the map canvas QGIS makes use of georeference information inside the raster layer e g GeoTiff or in an appropriate world file to properly display the data 13 1 2 Loading raster data in QGIS Raster layers are loaded either by clicking on the i Add Raster Layer icon or by selecting the Layer i Add Raster Layer menu option More than one layer can be loaded at the same time by holding down the Ctr1 or Shift key and clicking on multiple items in the Open a GDAL Supported Raster Data Source dialog 131 QGIS User Guide Vers o 2 2 Once a raster layer is loaded in the map legend you can click on the layer name with the right mouse button to select and activate layer specific features or to open a dialog to set raster properties for the layer Menus do Botao direito do mouse para camadas raster e Zoom to Layer Extent Zoom to Best Scale 100 e Stretch Using Current Extend e Show in Overview e Remover Duplicate Set Layer CRS Set Project CRS from Layer Save das Properties Rename Copy Style Add New Group Expandir tudo Fechar tudo Update Drawing Order latualizardireitos 13 2 Dialogo de propriedades do Raster Para visualizar e definir as propriedades da camada de um layer d um duplo clique no nome da camada na legenda do mapa ou clique com botao direito no nome da camada e escolha Propriedades a partir do menu de contexto Isto vai abrir o di logo guilabel Propriedades
228. e gt Merge Selected Features too allows you to merge features that have common boundaries and the same attributes Juntar os atributos dos elementos seleccionados E The mim Merge Attributes of Selected Features tool allows you to merge attributes of features with common boundaries and attributes without merging their boundaries First select several features at once Then press the m s Merge Attributes of Selected Features button Now QGIS asks you which attributes are to be applied to all selected objects As a result all selected objects have the same attribute entries Rodar S mbolos de Pontos C Rotate Point Symbols allows you to change the rotation of point symbols in the map canvas You must first define a rotation column from the attribute table of the point layer in the Advanced menu of the Style menu of the Layer Properties Also you will need to go into the SVG marker and choose Data defined properties Activate C Angle and choose rotation as field Without these settings the tool is inactive 12 3 Editando 115 QGIS User Guide Vers o 2 2 326 Figura 12 36 Rodar S mbolos de Pontos rs To change the rotation select a point feature in the map canvas and rotate it holding the left mouse button pressed A red arrow with the rotation value will be visualized see Figure_edit_4 When you release the left mouse button again the value will be updated in the attribute table Nota Se segurar a tec
229. e CRS Also you can select SQLite as format and then add SPATIALITE YES in the OGR data source creation option field This tells OGR to create a SpatiaLite database See also http www gdal org ogr drv_sqlite html QGIS also supports editable views in SpatiaLite Criando uma nova camada SpatiaLite Se voc quiser criar uma nova camada SpatiaLite consulte a se o Criando uma nova camada SpatialLite 12 1 Formatos de dados suportados 77 QGIS User Guide Vers o 2 2 Dica Gest o complementos de dados SpatiaLite For SpatiaLite data management you can also use several Python plugins QSpatiaLite SpatiaLite Manager or DB Manager core plugin recommended If necessary they can be downloaded and installed with the Plugim Installer 12 1 10 MSSQL Spatial Layers QGIS also provides native MS SQL 2008 support The first time you load MSSQL Spatial data begin by clicking on the Add MSSQL Spatial Layer toolbar button or by selecting the Add MSSQL Spatial Layer option from the Layer menu or by typing Ctr1 Shift M 12 1 11 Oracle Spatial Layers The spatial features in Oracle Spatial aid users in managing geographic and location data in a native type within an Oracle database QGIS now has support for such layers Criando uma conexao armazenada e The first time you use an Oracle Spatial data source you must create a connection to the database that contains the data Begin by clicking on the e Add Orcale Spa
230. e and its format In the dialog use the Symbology export menu to save the symbology either as Feature symbology or as Symbol layer symbology If you have used symbol layers it is recommended to use the second setting 12 2 2 Labels Menu The 384 Labels core application provides smart labeling for vector point line and polygon layers and it only requires a few parameters This new application also supports on the fly transformed layers The core functions 12 2 Janela de Propriedades de Vetor 87 QGIS User Guide Vers o 2 2 Layer Properties airports copy Style Pie ra v Layer rendering Layer transparency 3 0 ay Style y parency Layer blending mode Normal Feature blending mode Normal A Labels EIL R EE EE Fields Point displacement a es Center symbol e O es Renderer Single Symbol n Renderer settings Joins Displacement circles IB a IER Diagrams Circle pen width 0 40 O O LDo L LB L CLDLt o 4DLLGC 0 1 6G 4 Z Metadata Circle color _ eee Circle radius modification 0 00 Point distance tolerance 0 0000100 Labels Label attribute None A Label font Label color E _ Use scale dependent labelling max scale denominator 1 Load Style SaveAs Default Restore Default Style Save Style 7 Help Apply Cancel emm Figura 12 14 Point displacement dialog
231. e box styles which contain one or two lines of boxes alternating colors 18 3 Itens do Compositor 235 QGIS User Guide Vers o 2 2 Middle Up or Down line ticks Numeric where the scale ratio is printed 1 e 1 50000 Unidades e Segmentos The Units and Segments dialogs of the scale bar Item Properties tab provide the following functionalities see figure composer 19 v Units Meters Label km Map units per bar unit 1000 00 n v Segments Segments left 2 fight 4 Size 500000 00 units Height 3mm Figura 18 19 Scale Bar Units and Segments Dialogs In these two dialogs you can set how the scale bar will be represented e Select the map units used There are three possible choices Map Units is the automated unit selection Meters or Feet force unit conversions e The Label field defines the text used to describe the units of the scale bar The Map units per bar unit allows you to fix the ratio between a map unit and its representation in the scale bar You can define how many Segments will be drawn on the left and on the right side of the scale bar and how long each segment will be Size field Height can also be defined Exibi o Fontes e cores The Display and Fonts and colors dialogs of the scale bar Item Properties tab provide the following functionalities see figure composer 20 You can define how the scale bar will be displayed in its frame Adjust the Box margin between
232. e data source name When all of the parameters are filled in click on the Connect button If the connection is successful a message will be written in the Output Console window stating that the connection was established If a connection was not established you will need to check that the correct parameters were entered above Database Connection Predefined Queries O Database Connection Database Type SQLITE kd 99090 Database Name tialite_db sqlite a Connect Connection Status connected SQL Query Q Output Console gt Spatialindex gt polygons gt idx polygons geometry gt idx polygons geometry node gt idx polygons geometry rowid gt idx polygons geometry parent regions Help b 0 OK Figura 19 12 The eVis Database connection window 1 Database Type A drop down list to specify the type of database that will be used 19 6 Complemento eVis 259 QGIS User Guide Vers o 2 2 Base de dados hospedeiro O nome da base de dados hospedeiro Port The port number if a MySQL or PostgreSQL database type is selected Database Name The name of the database Connect A button to connect to the database using the parameters defined above Output Console The console window where messages related to processing are displayed Nome de Usuario Nome de usuario para uso quando uma base de dados protegida por senha Senha Senha para
233. e edit command from the Commander It will open the editor with the commands file and you can edit 1t directly and then save your changes Por exemplo pode adicionar a seguinte fun o que remove todas as camadas from qgis gui import x def removeall mapreg QgsMapLayerRegistry instance mapreg removeAl IMapLayers Once you have added the function it will be available in the Commander and you can invoke it by typing removeall There is no need to do anything apart from writing the function itself Functions can receive parameters Add args to your function definition to receive arguments When calling the function from the Commander parameters have to be passed separated by spaces Aqui est um exemplo de uma fun o que carrega uma camada e que tome como par metro o nome do ficheiro da camada para carregar import sextante def load xargs sextante load args 0 If you want to load the layerin home myuser points shp type load home myuser points shp in the Commander text box Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 220 Capitulo 17 QGIS estrutura de processamento CAP TULO 18 Compositor de Impress o The Print Composer provides growing layout and printing capabilities It allows you to add elements such as the QGIS map canvas text labels images legends scale bars basic shapes arrows attribute tables and HTML frames You can size group align and
234. e externos Complementos do QGIS s o implementados como Complementos nativos ou Complementos externos Com plementos nativos s o mantidos pelo grupo de desenvolvedores do QGIS e faz parte automaticamente da dis tribui o de cada vers o do QGIS Eles s o desenvolvidos em uma das duas linguagens C ou Python Com plementos externos s o atualmente desenvolvidos em Python Eles s o armazenados em reposit rios externos e mantidos por seus autores Documenta o detalahada sobre o uso vers o m nima do QGIS home page autores e outras informa es im portantes s o fornecidas pelo Reposit rio Oficial do QGIS em http plugins qgis org plugins Para reposit rios externos a documenta o deve estar dispon vel com os autores dos mesmos No geral n o est inclu da neste guia 250 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 2 Usando os M dulos QGIS Core Icone M dulo Descri o Refer ncia do Manual g bo EJ 55 ae T a Captura de Coordenadas Gestor BD Conversor DXF2Shape eVis fTools Ferramentas GPS GRASS Ferramentas GDAL Georeferenciador GDAL Mapa de Densidade M dulo de Interpola o Edi o Offline Oracle Spatial GeoRaster Gestor de m dulos An lise do Terreno Matricial Complemento caminho mais curto M dulo SQL Anywhere Interroga o
235. e information about the algorithm and detailed descriptions of what each parameter does Unfortunately most algorithms lack good documentation but 1f you feel like contributing to the project this would be a good place to start Uma nota nas projec es Algorithms run from the processing framework this 1s also true of most of the external applications whose algorithms are exposed through it Do not perform any reprojection on input layers and assume that all of them are already in a common coordinate system and ready to be analized Whenever you use more than one layer as input to an algorithm whether vector or raster it is up to you to make sure that they are all in the same coordinate system Note that due to QGIS s on the fly reprojecting capabilities although two layers might seem to overlap and match that might not be true if their original coordinates are used without reprojecting them onto a common coordinate system That reprojection should be done manually and then the resulting files should be used as input to the algorithm Also note that the reprojection process can be performed with the algorithms that are available in the processing framework itself By default the parameters dialog will show a description of the CRS of each layer along with its name making it easy to select layers that share the same CRS to be used as input layers If you do not want to see this additional information you can disable this functionalit
236. e input values and configuration parameters are to be set It of course has a different content depending on the require 17 2 A caixa de ferramentas 191 QGIS User Guide Vers o 2 2 ments of the algorithm to be executed and 1s 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 e 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 Ir ver um bot o por cada seleccionador de camada vectorial como exibido na figura em baixo Points points EPSG 23030 Figura 17 8 Bot o de interac o vectorial 7 If the algorithm contains several of th
237. e naad EE ERS 35 204 MoDa n5 9 3 9 2905 5 328 ss bee ee EL DELE 399 9v SI ESA 37 5 9 JHOnUHCcU PEICUBN na d dede 4 a oun dh oh i Ra SS EORUE P Eo EUR ROUES OR wehbe ERA RUE ELDER d de E 38 GO Deco Gun ede R4 Ww 6 X PORE E EDS ee ECRIRE WE Wok E CORR ORG E ox 40 8 7 Ferramentas de anota o uou sou 4 46 RR e EDO Ede e LR dE EUR MEM OE ES 42 5 0 Favoritos Espaciais enge me ke Fed rert LEE ow OECR POP Wo oo Rok o Eo X x cae 43 8 9 Projetos animados xoxo amp ox 3m 8 OS a k radaran LDA SESE HHS EES 44 Configurac o QGIS 47 O Pam iseBarrasde Ferramentas lt o 5 9 6464 xo o 9 9 NELA o x 3 9 3 O9 9 OR EO DA 47 92 JTr opuedadesdo Projectos xo xo ee xoxo 349 X3 99 x 3B O amp O OE 9 9993434 48 dO DOC Cr 49 94 Personaliza O dor eee eke poha sds RAE OX EEE aE RES 56 Trabalhando com Proje es 59 10 1 Vis o geral do Suporte a Proje es 3 ks amp we oG KR ESE rw 9 x x Ss x o3 59 10 2 Especifica o de Proje o Global amp s ss 9x9 oe ee RUE REFERO Ee a EOD 59 10 3 Definir Reprojecao Din mica Voo Livre OTF 2 6 62 440804 es baw dox o3 y wo we 61 10 4 Sistema de Refer ncia de Coordenadas personalizado 62 10 5 transforma es de datum padr o 2 26 5425S ee da Es E CRG Gee EERE RE SD 63 QGIS Browser 65 Trabalhando com Dados Vetoriais 67 12 1 Formatos de dados suportados ss 2 Ks Be ore BE ewe we Y 9 x m Xm E Xx 43 67 12 2 Janela de Propnedades de Vetor
238. e o conjunto de elementos selecionados na janela principal alterado a sele o tamb m atualizada na tabela de atributos Da mesma forma se um conjunto de linhas selecionadas na tabela de atributos modificada o conjunto de elementos selecionado na janela principal ser atualizado QGIS User Guide Vers o 2 2 As linhas podem ser selecionadas ao clicar no n mero da linha do lado esquerdo desta Podem ser marcadas Linhas m ltiplas manter a tecla Ctrl primida Pode ser feita uma sele o cont nua se manter primida a tecla Shift e clicar na entrada de v rias linha do lado esquerdo Todas as linhas entre a posi o atual do cursor e a linha clicada ser o selecionados Ao mover a posi o do cursor na tabela de atributos ao clicar um c lula na tabela n o tem influ ncia na sele o de linhas Modificar a sele o na tela principal n o altera a posi o do cursor na tabela de atributos A tabela pode ser ordenada por qualquer coluna clicando no cabe alho da coluna Uma pequena seta indica a forma de ordena o apontar para baixo significa valores descendentes do topo da linha apontar para cima significa valores descendentes do topo da linha For a simple search by attributes on only one column choose the Column filter from the menu in the bottom left corner Select the field column on which the search should be performed from the drop down menu and hit the Apply button Then only the matching features are shown
239. e of extra parameters in addition to the standard parameters according to the OCG WMS 1 3 0 specification Par metro MAPA Semelhante ao MapServer o par metro MAPA pode ser usado para especificar o caminho para o ficheiro de projecto QGIS Pode especificar um caminho absoluto ou relativo para a localiza o do execut vel do servidor qgis mapserv fcgi Se n o estiver especificado o Servidor QGIS procura por ficheiros qgs no direct rio onde o execut vel do servidor est localizado Exemplo 156 Cap tulo 14 Trabalhando com dados OGC QGIS User Guide Vers o 2 2 http localhost egi bin qgis mapserv fegi N REQUEST GetMap amp MAP home qgis mymap qgs amp Par metro DPI O par metro DPI pode ser usado para especificar o pedido de sa da da resolu o Exemplo http localhost cgi bin qgis mapserv fcgi REQUEST GetMap amp DPI 300 amp Par metro OPACIDADE A opacidade pode se definida numa camada ou ao n vel do grupo O intervalo de valores permitido vai de O totalmente trasnaprente a 255 totalmente opaco Exemplo http localhost cgi bin qgis mapserv fcgi WN REQUEST GetMap amp LAYERS mylayerl mylayer2 amp OPACITIES 125 200 amp Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 14 2 QGIS com Servidor de Dados OGC 157 QGIS User Guide Vers o 2 2 158 Cap tulo 14 Trabalhando com dados OGC CAP TULO 15 Trabalhando com dados GPS Docs for QGIS
240. e para o Cap tulo 5 O que h de novo no QGIS 2 2 2 6 9 7 QGIS User Guide Vers o 2 2 modo de mover pressionando a barra de espaco ou pressionando a roda de rolagem do mouse Tamb m existe uma nova ferramenta de zoom que permite dar um zoom em uma rea espec fica na sua composi o Voc tamb m pode alternar para o modo de zoom em qualquer momento apenas pressionando Ctrl Barra de Espa o e desenhando um zoom em qualquer regi o da composi o Melhoramento no estilo de p ginas e formas Voc agora pode controlar o estilo do fundo da com posi o utilizando todas as op es da simbologia do QGIS poss vel exportar composi es com um fundo transparente ou semitransparente Itens de forma ret ngulos tri ngulos e elipses podem ser estilizados utilizando as mesmas op es de uma camada de pol gono Voc pode inclusive estilizar o fundo da p gina ou as formas usando op es definidas baseadas na ferramenta de atlas Existe uma nova op o para cantos arredondados dos ret ngulos QGIS Server Adicionado suporte WCS ao QGIS Server O QGIS Server suporta v rios padr es incluindo Web Map Service WMS vers o 1 3 0 e 1 1 1 Web Feature Service WFS vers o 1 0 0 and Web Feature Service Transacional WFS T Nesta nova vers o voc poder fornecer servi os de camadas matriciais utilizando o padr o Web Coverage Service WCS vers o 1 0 0 Simbologia Suporte para preenchimento em gradiente A nova func
241. e projeto existente tamb m poss vel S adicione na linha de comando a op o pro ject seguido do nome de seu projeto e QGIS ir abrir com todas as camadas carregadas no arquivo indicado Op o da linha de comandos extent Use esta op o para iniciar com uma extens o de mapa espec fica Necessita adicionar uma quadro delimitador da sua extens o na seguinte ordem seguido por uma v rgula cexLent ml Ymin xmax ymax Op o da linha de comandos nologo Este argumento de linha de comando oculta a tela inicial quando voc iniciar o QGIS Op o da linha de comandos noplugins Se voc tiver problemas ao iniciar os complementos poder evitar iniciar los com essa op o Estar o sendo dispon veis depois no gerenciador de complementos Op o de linha de comando customizationfile 20 Cap tulo 6 Iniciando QGIS User Guide Vers o 2 2 Usando este argumento de linha de comando voc pode definir um arquivo GUI personalizado que ser aplicado ao Iniciar Op o da linha de comandos nocustomization Usando este argumento de linha de comando um arquivo GUI personalizado existente n o ser aplicado ao iniciar Op o da linha de comandos opt ionspath Voc pode ter m ltiplas configura es e decidir qual usar quando iniciar o QGIS com esta op o Veja Op es para confirmar onde salvar os arquivos de configura o no sistema operacional Atualmente n o existe forma de especificar um arq
242. e properties menu of the Rule based renderer It is possible to only draw polygon borders inside the polygon Using Outline Simple line select A Draw line only inside polygon Note that once you have set the size in the lower levels of the Symbol layers dialog the size of the whole symbol can be changed with the Size menu in the first level again The size of the lower levels changes accordingly while the size ratio is maintained After having made any needed changes the symbol can be added to the list of current style symbols using Symbol Save in symbol library and then it can easily be used in the future Furthermore you can use the Save Style button to save the symbol as a QGIS layer style file 12 2 Janela de Propriedades de Vetor 83 QGIS User Guide Vers o 2 2 qml or SLD file sld SLDs can be exported from any type of renderer single symbol categorized graduated or rule based but when importing an SLD either a single symbol or rule based renderer is created That means that categorized or graduated styles are converted to rule based If you want to preserve those renderers you have to stick to the QML format On the other hand it can be very handy sometimes to have this easy way of converting styles to rule based With the Style manager from the Symbol 17 menu you can administer your symbols You can add item f edit item E remove item and 2 share item Marker symbols L
243. e provided For instance depth number 2 4 string A text string As in the case of numerical values a default value must be added For instance name string Victor boolean A boolean value Add True or False after it to set the default value For example verbose boolean True 17 5 Usando os algoritmos do processamento a partir da consola 209 QGIS User Guide Vers o 2 2 e m ltiplos raster Um conjunto de camadas rasters de entrada vectores m ltiplos Um conjunto de camadas vectoriais de entrada campo Um campo da tabela de atributos de uma camada vectorial O nome da camada tem de ser adicionada depois da etiqueta campo Por exemplo se declarou um ficheiro de entrada vectorial com mylayer vector poder usar myfield field mylayer para adicionar o campo a partir dessa camada como par metro e folder A folder e file A filename O nome do par metro o nome que ser exibido ao utilizador quando executa o algoritmo e tamb m o nome da vari vel a usar no c digo do script O valor introduzido pelo utilizador para esse par metro ser atibu do vari vel com esse nome When showing the name of the parameter to the user the name will be edited to improve its appearance replacing low hyphens with spaces So for instance 1f you want the user to see a parameter named A numerical value you can use the variable name A numerical value Layers and table values are strings containing the file path of the correspo
244. e registry Loading an Oracle Spatial Layer e Once you have one or more connections defined you can load layers from the Oracle database Of course this requires having data in Oracle To load a layer from Oracle Spatial perform the following steps If the Add Oracle Spatial layers dialog is not already open click on the e por Dace panal D toolbar button Escolha a conex o a partir da lista drop down e clique em Conectar Select or unselect Ed Also list tables with no geometry Optionally use some C Search Options to define which features to load from the layer or use the Build query button to start the Query builder dialog e Encontre a camada s que deseja adicionar na lista de camadas dispon veis Select it by clicking on it You can select multiple layers by holding down the Shift key while clicking See section Ferramenta de Consulta for information on using the Oracle Query Builder to further define the layer e Clique no bot o Add para adicionar a camada ao mapa Dica Oracle Spatial Layers Normally an Oracle Spatial layer is defined by an entry in the USER_SDO_METADATA table Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 12 2 Janela de Propriedades de Vetor The Layer Properties dialog for a vector layer provides information about the layer symbology settings and labeling options If your vector layer has been loaded from a PostgreSQL PostGIS datastore you
245. e the following dialog structure In the top left part of the menu there is a preview of the current symbol to be rendered On the right part of the menu there is a list of symbols already defined for the current style prepared to be used by selecting them from the list The current symbol can be modified using the menu on the right side If you click on the first level in the Symbol layers dialog on the left side it s possible to define basic parameters like Size Transparency Color and Rotation Here the layers are joined together Layer Properties rivers Style A v Layer rendering General Layer transparency 0 Style rcd Layer blending mode Normal Feature blending mode Normal E Labels Pr EE Fields E Single Symbol Rendering Unit Millimeter UB Display HGUSDEDHGHORE Transparency 0 Width 1 50000 m Color pu M Actions l m te Saved styles Symbol layers al E Joins v mi Line o oa ER Diagrams gt mi Marker line Bridlewe Canal Canal ri fesse Crossing Cycle p 7 Metadata TT Dam Ditch Drain Floodwa Footpatl Jetty I mmm pem Living s LockedR Motorw Motorw i Pedestri Primary T Bis F Construction road Symbol Advanced Load Style Save AsDefault Restore Default Style Save Style 7 Hep Apply Cancel OK Figura 12 8 Single symbol line properties rs More detailed settings can be made when
246. e um raster com ajuda de uma camada poligonal veja figure_zonal_statistics Pode 19 20 Complemento Estat stica Zonal 289 QGIS User Guide Vers o 2 2 calcular a soma valor m dio e contagem total dos pixeis que est o dentro do pol gono Este complemento gera uma coluna de sa da na camada vetorial com um prefixo definido pelo usu rio Raster layer landcover Polygon layer containing the zones regions amp Output column prefix lc cancel OKI Figura 19 34 Janela Estat stica Zonal KDE Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 290 Cap tulo 19 Complementos CAP TULO 20 Ajuda e Suporte 20 1 Listas de Discurss o O QGIS est ativo no seu desenvolvimento e como tal poder n o apresentar alguns erros A melhor forma para obter ajuda ser juntar se na lista de discuss o qgis users As suas quest es ir o chegar a uma audi ncia mais ampla e as respostas ir o beneficiar outros 20 1 1 Usu rios QGIS Esta lista de discuss o usada para uma discuss o geral do QGIS assim como as quest es espec ficas rela cionadas com a instala o e o uso Pode assinar a lista de discuss o do qgis users visitando o seguinte URL http lists osgeo org mailman listinfo qgis user 20 1 2 Lista fossgis talk For the German speaking audience the German FOSSGIS e V provides the fossgis talk liste mailing list This mailing list is used for discussion o
247. e v aqui em baixo t4 Could not remove element X Other elements depend on the selected one Remove them before trying to remove it Figura 17 22 N o pode apagar o Algoritmo Seleccionando a op o Editar ou fazendo simplesmente duplo clique no cone do algoritmo ir ser exibido o di logo de par metros do algoritmo para que possa mudar os ficheiros de entrada e os valores do par metro Tenha em aten o que nem todos os elementos dispon veis no modelo aparecer o neste caso como ficheiros de entrada dispon vel Camadas ou valores gerados num passo mais avan ado no fluxo de trabalho definido pelo modelo n o ira estar dispon vel se causar depend ncias em ciclo Seleccione novos valores e de seguida clique no bot o OK como comum As liga es entre os elementos do modelo irao alterar de acordo com o enquadramento do modelador 17 3 5 Activando e desactivando os algoritmos Os algoritmos podem ser desactivados no modelador para que n o sejam executados a quando da execu o do modelo Isto pode ser usado para teste basta dar apenas uma parte do modelo ou quando n o necessita da gera o de todos os dados de sa da Para desactivar um algoritmo clique com o direito do rato no seu cone no enquadramento do modelo e seleccione a op o Desactivar Ir ver que esse algoritmo representado agora com uma etiqueta vermelha debaixo do seu nome indicando que n o est activa Catchment Area Paralle
248. ear in the toolbox but an error will be thrown when you try to execute them This is because the algorithm descriptions needed to create the parameters dialog and provide the information needed about the algorithm are not included with each application but with QGIS instead That is they are part of QGIS so you have them in your installation even if you have not installed any other software Running the algorithm however needs the application binaries to be installed in your system 212 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 17 7 1 Uma nota para utilizadores Windows If you are not an advanced user and you are running QGIS on Windows you might not be interested in reading the rest of this chapter Make sure you install QGIS in your system using the OSGeo4W application That will automatically install SAGA GRASS and OTB in your system and configure them so they can be run from QGIS All the algorithms in the simplified view of the toolbox will be ready to be run without needing any further configuration If you want to know more about how these providers work or if you want to use some algorithms not included in the simplified toolbox such as R scripts keep on reading 17 7 2 Uma nota para os formatos dos ficheiros When using an external software opening a file in QGIS does not mean that it can be opened and processed as well in that other software In most cases other software can read what yo
249. eatures and attributes are reverted to the state before the reverted operation happened Changes other than normal vector editing operations for example changes done by a plugin may or may not be reverted depending on how the changes were performed To use the undo redo history widget simply click to select an operation in the history list All features will be reverted to the state they were in after the selected operation Rodar Elemento s Use Brot Feature s to rotate one or multiple selected features in the map canvas You first need to select the features and then press the Route Feature s icon The centroid of the feature s appears and will be the rotation anchor point If you selected multiple features the rotation anchor point will be the common center of the features Press and drag the left mouse button in the desired direction to rotate the selected features It s also possible to create a user defined rotation anchor point around which the selected feature will rotate Select Gp the features to rotate and activate the Rotate Features tool Press and hold the Ct x1 button and move the mouse 12 3 Editando 113 QGIS User Guide Vers o 2 2 pointer without pressing the mouse button to the place where you want the rotation anchor to be moved Release the Ctr1 button when the desired rotation anchor point is reached Now press and drag the left mouse button in the desired direction to rotate the selected feature s
250. ecer 19 16 Complemento de Consulta Espacial 285 QGIS User Guide Vers o 2 2 3 Selecione a camada regions como camada fonte e airports como camada de elementos refer ncia 4 Selecione Cont m como operador e clique Aplicar Agora obt m uma lista de elementos ID da consulta e tem v rias op es como mostrado na fig ure spatial query 1 e Cli que em iM Criar camada com a lista de itens e Selecione um ID da lista e clique em ix CHAE uma Camada com osiselecionados e Selecione Remover da sele o atual no campo E uso resultado para Adicionalmente pode Ed Ampliar ao item ou exibir Ed Registo de mensagens OmBEGX NEP VLESZRASELV Ea OY 0 G6 Bi 6 B Em 2 PEPP ALR Spatial Query Select source Features From Result Feature ID s regions Result query 22 selected geometries 1 Where the feature 2 Contains A 3 4 L Reference Features of 5 airports 8 10 And use the result to 12 ak Create new selection 22 of 26 identified Selected Features M Zoom to item ja 22 of 26 selected by Create new selection L Log messages SEES coe 88 Coordinate 804368 5849853 Scale 0911976 E Render EPSG 2964 Figura 19 30 An lise de consulta espacial regi es cont m aeroportos Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 17 Complemento SPIT
251. ector E Vector E q els Ei E Scripts E Tools H Example scripts Figura 17 5 Caixa de Ferramentas Processamento 7 Processing Toolbox H Recently used algorithms dB GDAL OGR 21 geoalgorithms rx E GeoServer PostGls tools 8 geoalgorithms E Models 8 geoalgorithms B Orfeo Toolbox Image analysis 76 geoalgorithms QGIS geoalgorithms 67 geoalgorithms d SAGA 252 geoalgorithms H E Scripts 10 geoalgorithms Tools for LiDAR data 42 geoalgorithms E Figura 17 6 Caixa de Ferramentas Processamento modo avan ado 7 190 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 In the advanced view each group represents a so called algorithm provider which is a set of algorithms coming from the same source for instance from a third party application with geoprocessing capabilities Some of these groups represent algorithms from third party applications like SAGA GRASS or R while others contain algorithms directly coded as part of the processing plugin not relying on any additional software This view is recommended to those users who have a certain knowledge of the applications that are backing the algorithms since they will be shown with their original names and groups Also some additional algorithms are available only in the advanced view such as LIDAR tools and scripts based on the R statistical computing software among others Independent QGI
252. ed module parameters are often not complete to keep the dialog clear If you want to use further module parameters and flags you need to start the GRASS shell and run the module in the command line A new feature since QGIS 1 8 is the support for a Show Advanced Options button below the simplified module dialog in the Options tab At the moment it is only added to the module v in ascii as an example of use but it will probably be part of more or all modules in the GRASS Toolbox in future versions of QGIS This allows you to use the complete GRASS module options without the need to switch to the GRASS shell Saida The Output tab provides information about the output status of the module When you click the Run button the module switches to the Output tab and you see information about the analysis process If all works well you will finally seea Successfully finished message Manual The Manual tab shows the HTML help page of the GRASS module You can use 1t to check further module parameters and flags or to get a deeper knowledge about the purpose of the module At the end of each module manual page you see further links to the Main Help index the Thematic index andthe Full index These links provide the same information as the module g manual 178 Cap tulo 16 Integra o com SIG GRASS QGIS User Guide Vers o 2 2 GRASS Tools alaska demo Modules Tree Modules List Browser Module v buffer Options Output Manual
253. ed on two fields name and place with a descriptive text and a line break n My name as name And live in place gt My name is John Smith I live in Paris create a multi line label based on a field and the Sarea function to show the place name and its area size based on unit meter The area of place has a size of Sarea me gt The area of Paris has a size of 105000000 m create a CASE ELSE condition If the population value in field population is lt 50000 it is a town otherwise a city This place is a CASE WHEN population lt 50000 THEN town ELSE city END This place is a town As you can see in the expression builder you have hundreds if functions available to create simple and very complex expressions to label your data in QGIS Using data defined override for labeling With the data defined override functions the settings for the labeling are overridden by entries in the attribute table You can activate and deactivate the function with the right mouse button Hover over the symbol and you see the information about the data defined override including the current definition field We now describe an example using the data defined override function for the E Move label function see figure_labels_5 1 Import Lakes shp from the QGIS sample dataset 2 Double click the layer to open the Layer Properties Click on Labels and Placement S
254. ed one or two lakes not the 5 000 on our big_lakes layer We can create a new layer and use copy paste to plop the needed lakes into it As an example we will copy some lakes to a new layer 1 Carregue a camada que quer copiar a partir camada de origem 2 Carregue ou crie a camada que quer copiar para camada de destino 3 Come ar a editar a camada de destino 4 Active a camada de origem clicando nela na legenda E int Seleccione Elemento Unico 5 Use a ferramenta para seleccionar os elemento s na camada fonte Copiar Elementos 6 Clique na ferramenta 7 Active a camada de destino clicando na legenda 12 3 Editando 111 QGIS User Guide Vers o 2 2 8 Clique na ferramenta Colar Elementos 9 Parar a edi o e guardar as altera es What happens 1f the source and target layers have different schemas field names and types are not the same QGIS populates what matches and ignores the rest If you don t care about the attributes being copied to the target layer it doesn t matter how you design the fields and data types If you want to make sure everything the feature and its attributes gets copied make sure the schemas match Dica Congru ncia dos Elementos Colados If your source and destination layers use the same projection then the pasted features will have geometry identical to the source layer However if the destination layer is a different projection then QGIS cannot guarantee the ge ometr
255. efini o no a correta pode se modificar clicando no bot o Especifique Visibilidade dependente da escala Tamb m nesta aba pode acertar a visibilidade dependente da escala Ser necess ria clicar a caixa de checagem e colocar uma escala apropriada na qual seus dados ser o visualizados na tela do mapa Na parte inferior pode se ver uma miniatura da camada a simbologia da legenda e o mapa de cores 13 2 2 Menu de Estilos Representar a banda QGIS permite quatro diferentes Tipos de Representa o A representa o escolhida depende do tipo de dados 1 Color multibanda se o arquivo vem como multibanda com v rias bandas por exemplo usado para ima gens de sat lite com v rias bandas 2 Mapa de Cores se um arquivo de banda nica vem com um mapa de cores indexado por exemplo usado para mapas topogr ficos digitais 3 Banda nica cinza uma banda apenas a imagem ser representada como cinza QGIS escolher o m todo de representa o se o arquivo n o multibandas n o tem um mapa de cores indexado ou n o tem um mapa de cores cont nuos por exemplo usado para mapa de relevo sombreado 13 2 Di logo de propriedades do Raster 133 QGIS User Guide Vers o 2 2 4 Banda nica Falsa Cor este m todo de representa o usado em arquivos com mapa de cores cont nuos ou com mapa de cores por exemplo para mapa de eleva es Multibanda Colorida Para representar em color multibanda selecione tr
256. eio GPS em tempo real 163 QGIS User Guide Vers o 2 2 GPS Information o x Add Point l Add track point je GRE Connect Latitu de Figura 15 4 Intensidade do sinal de rastreamento GPS 164 GPS Information Figura 15 5 Posi o polar de rastreamento GPS Cap tulo 15 Trabalhando com dados GPS QGIS User Guide Vers o 2 2 15 2 4 Op es GPS In case of connection problems you can switch between L Autodetectar e Interno e Dispositivo serial e gpsd selecting the Host Port and Device your GPS is connected to Um clique sobre Conectar reinicia a liga o ao receptor GPS GPS Information e ox Add Point Add track paint C JS da Connect Connection __ Autodetect _ Internal o Serial device dev ttySO gpsd Host localhost Port 2947 Device Digitizing Automatically save added feature Track Automatically add points 2 width l Color Map centering a always __ when leaving _ Log File Figura 15 6 Janela de op es de rastreamento GPS You can activate C Automatically save added features when you are in editing mode Or you can activate Ed Automatically add points to the map canvas with a certain width and color Activating 4 Cursor you can use a slider canvas to shrink and grow the position cursor on the Activ
257. eja usado nos ficheiros de entrada If your algorithm does not generate any layer but rather a text result in the console instead you have to indicate that you want the console to be shown once the execution is finished To do so just start the command lines that produce the results you want to print with the gt greater sign The output of all other lines will not be shown For instance here is the description file of an algorithm that performs a normality test on a given field column of the attributes of a vector layer layer vector fileld field layer nortest group library norte sc gt lillie test layer field The output of the last line is printed but the output of the first is not and neither are the outputs from other command lines added automatically by QGIS Se o seu algoritmo criar qualquer tipo de gr ficos usando o m todo plot adicione a seguinte linha showplots This will cause QGIS to redirect all R graphical outputs to a temporary file which will be opened once R execution has finished Tanto os gr ficos como os resultados da consola ser o exibidos no gestor de resultados do processamento For more information please check the script files provided with SEXTANTE Most of them are rather simple and will greatly help you understand how to create your own scripts 216 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 Nota rgdal and maptools libraries a
258. ela das Propriedades principais mostra a imagem actual que exibida no item imagem Clique no bot o para seleccionar um ficheiro do teu computador Esta janela mostra todas as imagens armazenadas nos caminhos seleccionados e The Search directories area allows you to add and remove directories with images in SVG format to the picture database Images can be rotated with the Rotation 1 field e Activating the C Sync with map checkbox synchronizes the rotation of a picture in the QGIS map canvas 1 e a rotated north arrow with the appropriate Print Composer image 18 3 Itens do Compositor 231 QGIS User Guide Vers o 2 2 Main properties Path lation bed and breakfast svg Search directories MAA em amp TT AR TE XX i CIO SOM A bed ds ATAA TA tOO 090 EHH99A7 AA XX AS or _ A Pa ouvi e TF Image search paths usr share qgis svq Remove Add Rotation 0 00 Sync with map Figura 18 12 Janelas das Propriedades principais da imagem Direct rios de pesquisa e Rota o 4b 18 3 4 Adicionando uma Legenda ao Compositor de Impressao To add a map legend click the g Add new legend icon place the element with the left mouse button on the Print Composer canvas and position and customize the appearance in the legend Item Properties tab The Item properties of a legend item tab provides the following functionalities see figure composer 14 Item Proper
259. elect Offset from centroid 3 Look for the Data defined entries Click the icon to define the field type for the Coordinate Choose xlabel for X and ylabel for Y The icons are now highlighted in yellow 4 Zoom into a lake 5 Go to the Label toolbar and click the in icon Now you can shift the label manually to another position see figure labels 6 The new position of the label is saved in the xlabel and ylabel columns of the attribute table 12 2 3 Fields Menu Within the Fields menu the field attributes of the selected dataset can be manipulated The buttons ip New Column and la Delete Column can be used when the dataset is in y Editing mode 12 2 Janela de Propriedades de Vetor 93 QGIS User Guide Vers o 2 2 Layer labeling settings 9 E Ag GB E Labelthislayerwith NAMES lt E d amp A e r go p fa fa e w Text Buffer sample mp wee a Lorem Ipsum Layers x J O O group toremipsum 8 me m ape Text Placement g e Formatting v p airports ste Buffer Using perimeter v storagep Background centroid O visible polygon whole polygon e J Shadow l s Distance gt V trails Placement gt B V rivers J Rendering al gt V railroads eu v amp Boundaries Group Becharof Lake l v E C alaska AA Bd Coordinate X E v E Ali
260. election box Filter allows you to preselect some OGR supported file formats You can also select the encoding for the shapefile if desired Open an OGR Supported Vector Layer EA AJ Trabalho QGIS qgis sample data shapefiles Places Name v Size Modified Q Search _ airports shp 2 2 KB 02 17 2009 amp Recently alaska shp 252 5KB 10 08 2008 alex _ builtups shp 5 0KB 10 08 2008 Ki Desktop grassland shp 1 1MB 10 09 2008 3 File system 5 lakes shp 173 4KB 02 17 2009 oes 5 landice shp 898 1KB 10 09 2008 n e majrivers shp 1 4MB 10 09 2008 Pictures pipelines shp 11 3KB 10 09 2008 B Videos popp shp 51 8KB 10 09 2008 mi Downloads lrailroads shp 15 0KB 10 09 2008 ESRI Shapefiles OGR 2 Figura 12 2 Open an OGR Supported Vector Layer Dialog Ao selecinar um shapefile a partir da lista e clicando em Abrir o QGIS o carregar A Figure_vector_3 exibe o QGIS depois de carregar o arquivo alaska shp Dica Cores das camadas Quando voc adiciona uma camada ao mapa atribu da uma cor aleat ria Na adi o de mais de uma camada de uma vez s o atribu das cores diferentes para cada camada Once a shapefile is loaded you can zoom around it using the map navigation tools To change the style of a layer open the Layer Properties dialog by double clicking on the layer name or by right clicking on the name in the 68 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers
261. eling with expressions 90 Capitulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Project Edit View Layer Settings Plugins Vector Ras i z hy Sh E EB LX 2 4 J em Label this layer with NAM e aim e Eu es eF Text Buffer sample ob lt 1 71 ea F jed oe PSPHPHPL ARS M lorem ipsum cabe Keg S abe abe abc abe Layers a x EN DO groupt EE Lorem ipsum B v o E d x k Popp ty ape Text Placement E P aM E Pg e Formatting vg airports Q a ph 2a Ff A e 97 Buffer Parallel Curved Horizontal vf storagep j d P M e o Fa adow ad o gt Placement Position amp j Above line On line Below line KZ V rivers ive Fa 4 Rendering Line orientation dependent position raliroads or Sr A Distance 1 0000 E v E S Boundaries Group S r gt regions ron i mm L z z alaska J J Maximum angle between curved characters v KZ 3 water Group ud a inside 20 0 outside 20 0 gt V majrivers A E eo gt Data defined gt S C swamp 44 EN gt Priority e b Lay Brow Browser i Apply Cancel partu Coordinate 858443 5642424 Scate r174474H Ww Render rmm wm Figura 12 16 Smart labeling of vector line layers In the Text menu define the text style The entries are the same as for point and line layers The Formatting menu allows you to format multiple lines also similar to the cases of poi
262. elp Test Clear Cancel mr Figura 12 44 Ferramenta de Consulta The Fields list contains all attribute columns of the attribute table to be searched To add an attribute column to the SQL WHERE clause field double click its name in the Fields list Generally you can use the various fields values and operators to construct the query or you can just type it into the SQL box The Values list lists the values of an attribute table To list all possible values of an attribute select the attribute in the Fields list and click the all button To list the first 25 unique values of an attribute column select the attribute column in the Fields list and click the Sample button To add a value to the SQL WHERE clause field double click its name in the Values list The Operators section contains all usable operators To add an operator to the SQL WHERE clause field click the appropriate button Relational operators gt string comparison operator LIKE and logical operators AND OR are available The Test button shows a message box with the number of features satisfying the current query which is useful in the process of query construction The Clear button clears the text in the SQL WHERE clause text field The OK button closes the window and selects the features satisfying the query The Cancel button closes the window without changing the current selection 12 4 2 Salvar elementos selecionados
263. em 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 192 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 Uma op o a escolher de uma lista de selec o de uma lista de op es poss veis 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 data loaded into QGIS can be added to your expression so you can select a value derived from any of these variables such as the cell size of a layer or the northernmost coordinate of another one 4 Enter number or expression Enter expression in the text field Double click on elements in the tree to add their values to the expression EF dempart
264. en output which essentially makes it behave like an optional output in other words the layer is created anyway but if you leave the text box empty it will be saved to a temporary file and deleted once you exit QGIS 17 2 3 Configurando a infraestrutura do processamento As has been mentioned the configuration menu gives access to a new dialog where you can configure how algo rithms work Configuration parameters are structured in separate blocks that you can select on the left hand side of the dialog Juntamente com o que j foi mencionada da entrada Pasta de sa da o bloco Geral contem par metros para configura o de estilos de renderiza o padr o para camadas de sa da ou seja camadas geradas pela utiliza o de algoritmo de qualquer componente da infraestrutura do GUI Basta criar um estilo que quer usar no QGIS guarda lo num ficheiro e de seguida introduzir um caminho para o ficheiro nas configura es para que sejam usado pelos algoritmos Cada vez que a camada for carregada pelo SEXTANTE e adicionada ao enquadramento do QGIS esta ser renderizada com esse estilo Os estilos de renderiza o podem ser configurados individualmente para cada algoritmo e cada um para os seus ficheiros de sa da Apenas clique com o direito do rato no nome do algoritmo na caixa de ferramentas e seleccione Editar estilos de renderiza o Ir ver um di logo como o que exibido a seguir Seleccione o ficheiro de estilo qm1 que quer p
265. ence subtracts the top pixel from the bottom pixel or the other way around to always get a positive value Blending with black produces no change as the difference with all colors is Zero Subtract This blend mode simply subtracts pixel values of one layer with pixel values of the other In case of negative values black is displayed Itens do Compositor 18 3 1 Adicionando um enquadramento de mapa QGIS actual no Compositor de Impress o Click on the 3 Add new map toolbar button in the Print Composer toolbar to add the QGIS map canvas Now drag a rectangle onto the Composer canvas with the left mouse button to add the map To display the current map you can choose between three different modes in the map Item Properties tab Rect ngulo a configura o padr o Apenas exibe uma caixa vazia com a mensagem O mapa ser im presso aqui 226 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 Cache renders the map in the current screen resolution If you zoom the Composer window in or out the map is not rendered again but the image will be scaled Render means that if you zoom the Composer window in or out the map will be rendered again but for space reasons only up to a maximum resolution Cache is the default preview mode for newly added Print Composer maps You can resize the map element by clicking on the Ly Select Move item button selecting the element and dragging one of the
266. ensagem na barra de status No lado direito da barra de status existe uma pequena caixa que pode ser usada para impedir temporariamente que camadas sendo renderizadas sejam vistas no mapa ver Se o Renderiza o abaixo O cone Imediatamente interrompe o processo de renderiza o atual mapa A direita da edi o das fun es voc encontra o c digo EPSG do SRC do projeto atual e um cone projetor Clicando sobre ele abre as propriedades de proje o do projeto atual Dica Calculando a escala correta do seu Mapa da tela visualiza o Quando voc inicia o QGIS graus a unidade padr o e quer diz que qualquer QGIS coordenadas em sua camada est em graus Para obter valores de escala correta voc pode mudar isso para metros manualmente no guilabel guia Geral em menuselection Configura es gt do projeto ou voc pode selecionar um projeto de coordenadas refer ncia do Sistema SRC clicando no icone sup status SRC no canto inferior direito da barra de status No ultimo caso as unidades estao definidas para que a projecao projeto especifico por exemplo unidades m Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 34 Capitulo 7 QGIS GUI CAP TULO 8 Ferramentas Gerais 8 1 Atalhos de teclado QGIS provides default keyboard shortcuts for many features You can find them in section Barra de Menu Ad ditionally the menu option Settings Configure
267. ent can be connected with several attribute tables using different GRASS geometry layers The default layer number 1s 1 Dica Creating an additional GRASS layer with lqegl If you would like to add more layers to your dataset just add a new number in the Field layer entry box and press return In the Table tab you can create your new table connected to your new layer Aba Configura es A guilabel guia Configura es permite que voc defina o encaixe em pixels da tela O limite que define qual dist ncia para novos pontos de linha ou extremidades s o agarrados por n s existentes Isso ajuda a evitar lacunas ou oscila es entre fronteiras O padr o definido como 10 pixels GRASS Edit o 0 O CB UB n a a m GEO Category Settings Symbology Table Snapping in screen pixels 10 Figura 16 5 Aba Configura es de Digitaliza o GRASS Aba Simbologia The Symbology tab allows you to view and set symbology and color settings for various geometry types and their topological status e g closed opened boundary GRASS Edit oo ES o 73 OB 7n a a p RREO Category Settings Symbology Table Line width 1 Marker size 9 Disp Color Type Index G Boundary no area 5 E Boundary 1 area 6 y Boundary 2 areas 7 E Centroid in area 8 Figura 16 6 GRASS Digitizing Symbology Tab 176 Cap tulo 16 Integra o com SIG GRASS QGIS User Guide Vers o 2 2
268. entas na barra de ferramentas GRASS que foram desativadas est o agora habilitadas New Mapset GRASS Location Location Create new location The GRASS location ts a collection of maps for a particular territory or project lt Back Next Cancel Figura 16 2 Criando um novo LOCATION GRASS ou um novo MAPSET no QGIS If that seemed like a lot of steps it s really not all that bad and a very quick way to create a LOCATION The LOCATION alaska is now ready for data import see section Importando dados para uma localiza o GRASS You can also use the already existing vector and raster data in the sample GRASS LOCATION alaska included in the QGIS Alaska dataset Amostra de Dados and move on to section O modelo de dados vetorial do GRASS 16 3 2 Adicionando um novo MAPSET A user has write access only to a GRASS MAPSET he or she created This means that besides access to your own MAPSET you can read maps in other users MAPSETs and they can read yours but you can modify or remove only the maps in your own MAPSET All MAPSETs include a WIND file that stores the current boundary coordinate values and the currently selected raster resolution see Neteler amp Mitasova 2008 in Refer ncias Bibliogr ficas e Web and section A ferramenta regi o GRASS 1 Start QGIS and make sure the GRASS plugin is loaded B Abrir mapset 2 Na barra de ferramentas GRASS clique no cone para abri
269. ente da renderiza o Scale dependent rendering allows you to specify the minimum and maximum scales at which a layer will be visible To set scale dependent rendering open the Properties dialog by double clicking on the layer in the legend On the General tab click on the Ed Scale dependent visibility checkbox to activate the feature then set the minimum and maximum scale values You can determine the scale values by first zooming to the level you want to use and noting the scale value in the QGIS status bar 8 3 2 Controlando a renderiza o do mapa Map rendering can be controlled in the various ways as described below Suspens o de edi o To suspend rendering click the A Render checkbox in the lower right corner of the status bar When the Render checkbox is not checked QGIS does not redraw the canvas in response to any of the events described in section Renderiza o Examples of when you might want to suspend rendering include Adding many layers and symbolizing them prior to drawing e Adding one or more large layers and setting scale dependency before drawing e Adding one or more large layers and zooming to a specific view before drawing Qualquer combina o dos anteriores Caixa de sele o Ed guilabel caixa de sele o Renderizar permite renderiza o e causa uma atualiza o imediata na tela do mapa Op es de adicionar configura es da camada You can set an option to always load new layers without d
270. eparados por ponto e v rgula Objetos de dados de sa da sempre s o salvos em um arquivo e ao contr rio quando a execu o de um algoritmo a partir da caixa de ferramentas salvar em um arquivo tempor rio n o permitido Voc pode digitar o nome diretamente ou usar a janela de di logo de sele o de arquivos que aparece ao clicar no bot o que o acompanha Um vez selecionado o arquivo um novo di logo ser exibido para permitir que fa a o auto preenchimento das outras c lulas na mesma coluna o mesmo par metro Figura 17 27 Salvar Processamento em Lote Se o valor padr o Nao efetuar auto preenchimento selecionado ira apenas por o nome do arquivo selecionado na c lula selecionada da tabela de par metros Se alguma das outras op es estiver selecionada todas as c lulas abaixo da selecionada ir o automaticamente ser preenchidas baseando se no crit rio definido Desta forma mais f cil preencher a tabela e o processamento em lote pode ser definido com menor esfor o O preenchimento autom tico pode ser feito simplesmente adicionando n meros relativos ao caminho do arquivo selecionado ou acrescentando o valor de outro campo na mesma linha Isto particularmente til para nomear objetos de dados de sa da de acordo com os de entrada 17 4 A interface do processamento em lote 205 QGIS User Guide Vers o 2 2 Slope C Documents and Settings usuario Mis documentos slopes tif C D
271. er ignorado pelo QGIS Ed Adicionar uma camada PostGIS com duplo clique e seleccione em modo extendido Ed Adicione camadas Oracle com duplo clique e seleccione em modo extendido 9 3 4 Menu de Renderiza o Comportamento da renderiza o Ed By default new layers added to the map should be displayed C Enable back buffer C Use render caching where possible to speed up redraws C Enable feature simplication by default for newly added layers C Simplify on provider side if possible Qualidade de renderiza o Ed Faz com que as linhas apare am menos irregulares em detrimento de algum desempenho do desenho 4 Resolver problemas com pol gonos incorrectamente preenchidos Matriciais Com a Selec o de banda RGB pode definir o n mero para a banda Vermelha Verde e Azul 9 3 Op es 51 QGIS User Guide Vers o 2 2 Melhorar contraste Banda cinzenta nica Uma banda cinzenta nica pode ter Sem esticar Esticar para MinMax Esticar e Cortar para MinMax e tamb m Cortar para MinMax Multi band color byte band Y E Options are No stretch Stretch to MinMax Stretch and Clip to MinMax and Clip to MinMax Multi band color gt byte band ai I Options are No stretch Stretch to MinMax Stretch and Clip to MinMax and Clip to MinMax Tr Limits minimum maximum Options are Cumulative pixel count cut Minimum Maximum Mean stan
272. er Digitalizar uma camada existente ver Digitalizar uma camada existente ver Digitalizar uma camada existente ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitaliza o Avan ada ver Digitalizar uma camada existente Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Digitaliza o Digitaliza o Digitaliza o Digitaliza o Digitaliza o Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Digitaliza o Avan ada Cap tulo E dis GUI van a Digitaliza o QGIS User Guide Vers o 2 2 Ap s activar o Modo de edi o para uma camada ir encontrar o cone Adicionar Elemento no menu Editar dependendo do tipo de camada ponto linha ou pol gono 7 1 3 Editar extra Op o de menu Atalho Barra de Ferramentas a 3 Adicionar fei o ver
273. er is running with etc init d apache2 start Opena web browser and type URL http localhost If apache is up you should see the message It works Now we test the QGIS Server installation The qgis mapserv fcgi is available at usr lib cgi bin qgis mapserv fcgi and provides a standard WMS that shows the state boundaries of Alaska Add the WMS with the URL http localhost cgi bin qgis mapserv fcgi as described in Seleccionando os Servidores WMS WMTS 14 2 2 Creating a WMS WFS WCS from a QGIS project To provide a new QGIS Server WMS WFS or WCS we have to create a QGIS project file with some data Here we use the Alaska shapefile from the QGIS sample dataset Define the colors and styles of the layers in QGIS and the project CRS 1f not already defined Then go to the OWS Server menu of the Project Project Properties dialog and provide some information about the OWS in the fields under Service Capabilities This will appear in the GetCapabilities response of the WMS WES or WCS If you don t check E Service capabilities QGIS Server will use the information given in the wms metadata xml file located in the cgi bin folder WMS capabilities In the WMS capabilities section you can define the extent advertised in the WMS GetCapabilities response by entering the minimum and maximum X and Y values in the fields under Advertised extent Clicking Use Current Canvas Extent sets these values to the extent currently displayed in the
274. ere the data should be stored and the name of the new layer The device type you select in the GPS device menu determines how GPSBabel tries to communicate with your GPS device If none of the available types work with your GPS device you can create a new type see section Definindo novos tipos de dispositivo The port may be a file name or some other name that your operating system uses as a reference to the physical port in your computer that the GPS device is connected to It may also be simply USB for USB enabled GPS units On Linux this is something like dev ttyS0 or dev ttyS1 e 7 On Windows it is COM1 or COM2 160 Cap tulo 15 Trabalhando com dados GPS QGIS User Guide Vers o 2 2 GPS Tools Load GPX file Import other file Download from GPS Upload to GPS GPX Conversions GPS device Garmin seri al Edit devices Port local gpsd Refresh Feature type Waypoints Layer name downloaded points Output file data Dropbox Trabalho downloaded points gpx Save As Help Cancel ossis Figura 15 2 Ferramenta de download When you click OK the data will be downloaded from the device and appear as a layer in QGIS 15 1 6 Carregando dados no receptor GPS You can also upload data directly from a vector layer in QGIS to a GPS device using the Upload to GPS tab of the GPS Tools dialog To do this you simply select the la
275. ers e g from a PostGIS or WFS T datasource e Save it as a project Goto Database Offline Editing v Convert to offline project and select the layers to save The content of the layers is saved to SpatiaLite tables e Edite as camadas offline Ar After being connected again upload the changes using Database Offline Editing Synchronize DEBORA GYELADASONLV LU BD gt F B 999b x uo HO 0 9 N RS RS FUL AIO Layers E ha v 2010 8 a geo acoes ed 9 gt unidadesdegestao IS Agr cola caminho Create offline project Lagoa PP C Offline data home alex offline sqlite on E Floresta 4 1 r _ Mato e prado n ll Floresta aberta v limites Select remote layers concelho cascais geo acoes gO limites unidadesdegestao C2 concelho cascais LJ amp Show only editable layers Cancel cam FAQ9 Coordinate 111899 100822 scale 1 5489 S6 E Render EPSG 27493 e Figura 19 20 Cria o de um projecto offline de camadas PostGIS ou WFS Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 276 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 19 12 Oracle Spatial GeoRaster Plugin In Oracle databases raster data can be stored in SDO GEORASTER objects available with the Oracle Spatial extension In QGIS the a Oracle Spatial GeoRaster plugin is supported by GDAL and depe
276. ers o 2 2 Database Connection Predefined Queries Database Connection SQL Query SELECT FROM airports Output Console gt polygons gt idx_polygons_geometry gt idx_polygons_geometry_node idx polygons geometry rowid 29 gt idx polygons geometry parent regions gt airports Help O O OK Figura 19 13 The eVis SQL query tab Executando consultas pr definidas With predefined queries you can select previously written queries stored in XML format in a file This is par ticularly helpful if you are not familiar with SQL commands Click on the Predefined Queries tab to display the predefined query interface To load a set of predefined queries click on the 4 Open File icon This opens the Open File window which is used to locate the file containing the SQL queries When the queries are loaded their titles as defined in the XML file will appear in the drop down menu located just below the L OpenFile icon The full description of the query is displayed in the text window under the drop down menu Select the query you want to run from the drop down menu and then click on the SQL Query tab to see that the query has been loaded into the query window If it is the first time you are running a predefined query or are switching databases you need to be sure to connect to the database Click on the Run Query button in the SQL Query tab to execute the command If the query is successful a Database Fi
277. ers o 2 2 eVis can directly connect to the following types of databases PostgreSQL MySQL and SQLite it can also read from ODBC connections e g MS Access When reading from an ODBC database such as an Excel spreadsheet it is necessary to configure your ODBC driver for the operating system you are using Iniciando o m dulo Conex o com a Base de Dados To launch the Database Connection module either click on the appropriate icon ENS Datagsseconnestion or click on Database eVis Database Connection This will launch the Database Connection window The window has three tabs Predefined Queries Database Connection and SOL Query The Output Console window at the bottom of the window displays the status of actions initiated by the different sections of this module Conectar a uma base de dados Click on the Database Connection tab to open the database connection interface Next use the Database Type combo box to select the type of database that you want to connect to If a password or username is required that information can be entered 1n the Username and Password textboxes Enter the database host in the Database Host textbox This option is not available if you selected MS Access as the database type If the database resides on your desktop you should enter localhost Enter the name of the database in the Database Name textbox If you selected ODBC as the database type you need to enter th
278. es Actions can be invoked from either the Identify Results dialog an Attribute Table dialog or from Run Fea ture Action recall that these dialogs can be opened by clicking Q Identity Peattmes ar Open AunDilo Table g Q Run Feature Action To invoke an action right click on the record and choose the action from the pop up menu Ac tions are listed in the popup menu by the name you assigned when defining the action Click on the action you wish to invoke If you are invoking an action that uses the notation right click on the field value in the Identify Results dialog or the Attribute Table dialog that you wish to pass to the application or script Here is another example that pulls data out of a vector layer and inserts it into a file using bash and the echo com mand so it will only work on rs or perhaps X The layer in question has fields for a species name taxon_name latitude lat and longitude Long We would like to be able to make a spatial selection of localities and export these field values to a text file for the selected record shown in yellow in the QGIS map area Here is the action to achieve this bash c echo Staxon_name 1at longN gt gt tmp species localities txt Depois de selecionar algumas localidades e executar a a o em cada um a abertura do arquivo de sa da ir i mostrar algo como isto Acacia mearnsii 34 0800000000 150 0800000000 Acacia mearnsii 34 9000000000 150 1200000000 Acacia mearnsii
279. es Pesquisa Rotular Adicionar para a Vis o Geral UO Adicionar tudo para a Vis o Geral UO Remover tudo da Vis o Geral Ca Mostrar todas as camadas 5 Ocultar todas as camadas 28 Ctrl D CCELFONILLICTC CErl SanITerFo CErl SnaTteFU Ctrl Shift H ver Trabalhando com a Tabela de Atributos Cap tulo 7 QGIS GUI Gerenciar cc Gerenciar cc Gerenciar cc QGIS User Guide Vers o 2 2 7 1 6 Configura es Op o de menu Atalho Refer ncia Barra de Ferramentas Pain is veja Pain is e Barras de Ferramentas Barra de Ferramentas veja Pain is e Barras de Ferramentas Mudar para o modo de tela inteira L Propriedades do Ctrl ShifthHPer Projetos Projeto Ze 5 SRC Personalizado ver Sistema de Refer ncia de Coordenadas personalizado Gerenciador de estilos ver vector_style_manager 2 Configurar atalhos B Personaliza o ver Personaliza o BN Op es ver Opc es Op es de ajuste 7 1 7 M dulos Op o de menu Atalho Barra de Ferramentas fu Gerir e Instalar M dulos ver O menu de complementos Terminal Python O come o do QGIS pela primeira vez n o carrega todos os m dulos core 7 1 8 Vector Op o de menu Atalho Refer ncia Barra de Ferramentas Open Street Map veja Loading OpenStreetMap Vectors s Ferramenta de Analise ver Complemento flools wy Ferramenta de pesquisa ver Complemento flools Ferrame
280. es qgs 1 Rasters Supported formats include GeoTiff DEM and others supported by GDAL 2 Vectors Supported formats include ESRI Shapefiles and others supported by OGR and PostgreSQL layers using the PostGIS extension Dica Exemplo do Uso dos argumentos da linha de comandos Inicie o QGIS para especificar um ou mais arquivos de dados na linha de comando Por exemplo assumindo ser o diret rio qgis sample data voce inicia QGIS com uma camada de arquivo vetorial e uma raster estabele cidos para que se carregue no inicio usando se os seguintes comandos qgis raster landcover img gml lakes gml Op o da linha de comandos snapshot Esta op o permite que possa criar uma captura de ecr no formato PNG da vista atual Isto vem a calhar quando tem v rios projetos e quer gerar capturas de ecr dos seus dados Currently it generates a PNG file with 800x600 pixels This can be adjusted using the width and height command line arguments A filename can be added after snapshot Op o da linha de comandos 1ang Based on your locale QGIS selects the correct localization If you would like to change your language you can specify a language code For example lang it starts QGIS in italian localization A list of currently supported languages with language code and status is provided at http hub qgis org wiki quantum gis GUI Translation Progress Op o da linha de comandos projeto Iniciar o QGIS com um arquivo d
281. et in our form So let s select the layer region in the legend and use the identify tool Depending on your settings the form might open directly or you will have to choose to open it in the identification dialog under actions As you can see the airports assigned to this particular region are all shown in a table And there are also some buttons available Let s review them shortly 12 3 Editando 121 QGIS User Guide Vers o 2 2 122 General Name ferencing Lay 2ferencing Fie 2ferenced Lay eferenced Fiel Name airport relation IM Identify layers Referencing Layer Child airports Default styles Inl OWS server Referencing Field Fk_region EO Macros Referenced Layer Parent regions Referenced Field ID id Generated automa EUN SS Add Relation amp Remove Relation Apply Cancel Elok D Figura 12 41 Relation Manager Attributes regions LA ID 22 NAME 2 Southeast Fairbanks TYPE 2 Census Area v airport regions Ze E l es IB ID fk region ELEV NAME USE o 40 22 1167 000 ALLEN AAF Military ER 41 22 1416 000 TANACROSS Other Fi 42 22 1569 000 NORTHWAY Civilian Public Figura 12 42 Identification dialog regions with relation to airports Cap tulo 12 Trabalhando com Dados Vetoriais QGIS U
282. eve 4 4 1 6 be y V9 m E PET RE O ee ee ee a ee ee 15 37 PIMOS 424 628 chee OE UOCE ROGER ee EORUM BOE e PO ROR SOM EU eG ROX PUR ee ERE 15 2 9 nterface de USUAIIO os econ geese de HES SEH CELTA ESHER GEESE 4 x SA 16 Iniciando 17 Bl I Sbldcdhe uo tee Cw Gee eh ee ee ee oe wlb RO rss ESSES 17 6 2 Amostra de Dados amp 254334 0 h eee bw de dbo ee Xx sd ESSA UE S ges 17 03 Sessio MODA aue uox bo bbe db YOGo EX Bero Ro ERS REESE ERE BES x op 18 604 Iniciare Parar QGIS 4i sua ooo yo dS CEES OE OE Yo X ox x Xo X X EES 19 65 Op es da Linha de Comandos 22525 204 woe eb HSH SR eRe EE CE EA dd Ed un 19 DO PRENORUS 2 S 9o 9 eecede hee OX RR Eee RES ERR EEE EEE ES 21 6 7 JRQHVOUe SMA sega okGEGRORO ROXO 909 OR ORO 98 X49 34h R03 SERES EEE SE EE A 2 QGIS GUI 23 Vek Damade Men iwdosaok xGe anv PORE OR oe 9 9 4 3 9 m Seed wX WB eer ee ee ee x 3 24 dae Barade Ferramentas e so c x Rye Oh bw 4 2S Ce dd moo Da Sd RA SOE EES 30 To Legendado Mapa sss yas oxovek EOEOEOEeESR SETAS ADLER ER ER DE GR s 31 JH Visualiza o do mapa spams FORCAe X e 33 10 11 12 13 14 15 16 Jo Bade MAS uu uoo E wow oso om dec geo ou moo Eram ANDRESSA SEARA A 34 Ferramentas Gerais 35 B Atalhiosdeteclado a a we i A LS Ge oe A O in E RO S Rod eU US a E e n A 35 5 24 Conte NOO OAHAIUQA s mure bom ERE ERU E Ee HE SEO SUE WU vb ENIMS RS Rx Ws ws 35 So oO O ue a ees Sewage de ROGER RUE CREUOR X 5e S93 Aa e
283. eve html Este utilit rio ir digitalizar a imagem e tentar definir todos os pixeis que existem perto do preto ou perto do branco volta do limite para exactamente preto ou branco Isto usado usualmente para corrigir perdas em fotos reas comprimidas para que esses pixeis de cor possam ser tratadas como transparentes nas opera es de mosaico Veja tamb m http www gdal org nearblack html Este utilit rio preenche as regi es raster seleccionadas usualmente conhecidas com reas sem valor por interpola o de de pixeis validados volta das bordas da rea Pode encontrar mais informa o em http www gdal org gdal_fillnodata html Este utilit rio gera um mapa de proximidade raster indicando a dist ncia desde o centro de cada pixel para o centro do pixel mais pr ximo identificado como pixel alvo Os pixeis alvo s o os que est o presentes no raster inicial em que cada valor do pixel definido como valores pixeis alvo Para mais informa o veja http www gdal org gdal proximity html Este utilit rio cria um grelha regular raster a partir da leitura de dados dispersos de um fonte de dados OGR Os dados de entrada ser o interpolados para preencher os n s da grelha com valores pode escolher v rios m todos de interpola o O utilit rio tamb m descrito no s tio na internet do GDAL http www gdal org gdal grid html Ferramentas para analisar e visualizar MDT Podem ser criados relevos sombreados
284. ework and easily reproduce 1t The history manager is a set of registry entries grouped according to their date of execution making it easier to find information about an algorithm executed at any particular moment A informa o do processo mantida como uma express o de linha de comandos mesmo se o algoritmo seja lan ado a partir da barra de ferramentas Isto permite ser til para aqueles que querem aprender como se usa a interface da linha de comandos uma vez que podem chamar o algortimo usando a barra de ferramentas e verificar o gestor hist rico para ver como o mesmo algoritmo pode ser chamado a partir da linha de comandos Apart from browsing the entries in the registry you can also re execute processes by simply double clicking on the corresponding entry Along with recording algorithm executions the processing framework communicates with the user by means of the other groups of the registry namely Errors Warnings and Information In case something 1s not working properly having a look at the Errors might help you to see what is happening If you get in contact with a developer to report a bug or error the information in that group will be very useful for her or him to find out what is going wrong Third party algorithms are usually executed by calling their command line interfaces which communicate with the user via the console Although that console is not shown a full dump of it is stored in the Information group 17 6
285. ex Update extents RO Actions Joirs v Scale dependent visibility Maximum 544 p Minimum O GER ER Diagrams inclusive ee exclusive 4 Leda deu Current Current 7 Metadata w Feature subset Query Builder Load Style Save As Default Restore Default Style Save Style gt Hep Apply Cancel OKI Figura 12 24 General menu in vector layers properties dialog 12 2 5 Rendering Menu QGIS 2 2 introduces support for on the fly feature generalisation This can improve rendering times when drawing many complex features at small scales This feature can be enabled or disabled in the layer settings using the C Simplify geometry option There is also a new global setting that enables generalisation by default for newly added layers see section Op es Note Feature generalisation may introduce artefacts into your rendered output in some cases These may include slivers between polygons and inaccurate rendering when using offset based symbol layers 12 2 6 Display Menu G This menu is specifically created for Map Tips It includes a new feature Map Tip display text in HTML While you can still choose a Field to be displayed when hovering over a feature on the map it is now possible to insert HTML code that creates a complex display when hovering over a feature To activate Map Tips select the menu option View MapTips Figure Display 1 shows an example of HTML code
286. expressions See labeling with expressions After that you can define the text style in the Text menu Here you can use the same settings as for point layers Also in the Formatting menu the same settings as for point layers are possible The Buffer menu has the same functions as described in section labeling_point_layers The Background menu has the same entries as described in section labeling_point_layers Also the Shadow menu has the same entries as described in section labeling point layers In the Placement menu you find special settings for line layers The label can be placed Parallel Curved or Horizontal With the 5 Parallel and Curved option you can define the position A Above line Ed On line and Ed Below line It s possible to select several options at once In that case QGIS will look for the optimal position of the label Remember that here you can also use the line orientation for the position of the label Additionally you can define a Maximum angle between curved characters when selecting the Curved option see Figure_labels_2 The Rendering menu has nearly the same entries as for point layers In the Feature options you can now Suppress labeling of features smaller than Rotulando camadas de poligonos The first step is to activate the A Label this layer checkbox and select an attribute column to use for labeling Click if you want to define labels based on expressions See lab
287. f open source GIS in general including QGIS You can subscribe to the fossgis talk liste mailing list by visiting the following URL https lists fossgis de mailman listinfo fossgis talk liste 20 1 3 Desenvolvedor QGIS Se voc um desenvolvedor enfrentando problemas de natureza mais t cnica voc pode querer se juntar a lista de discuss o qgis desenvolvedor aqui http lists osgeo org mailman listinfo qgis developer 20 1 4 Atualiza es QGIS Each time a commit is made to the QGIS code repository an email is posted to this list If you want to be up to date with every change to the current code base you can subscribe to this list at http lists osgeo org mailman listinfo qgis commit 20 1 5 QGIS trac Esta lista fornece uma notifica o de email relacionado a gerenciamento de projetos incluindo re lat rios de bugs tarefas e solicita es de recursos Voc pode se inscrever para esta lista em http lists osgeo org mailman listinfo qgis trac 291 QGIS User Guide Vers o 2 2 20 1 6 Equipe da Comunidade QGIS This list deals with topics like documentation context help user guide web sites blog mailing lists forums and translation efforts If you would like to work on the user guide as well this list is a good starting point to ask your questions You can subscribe to this list at http lists osgeo org mailman listinfo qgis community team 20 1 7 Equipe de lan amento QGIS This list deals with topics like the
288. file into grassdata 2 Start QGIS 3 If not already done in a previous QGIS session load the GRASS plugin clicking on Plugins fu Manage Plugins and activate A GRASS The GRASS toolbar appears in the QGIS main window 4 Na barra de ferramentas GRASS clique no x sup cone Abrir mapset para abrir o guilabel assistente MAPSET 5 For Gisdbase browse and select or enter the path to the newly created folder gras sdata 6 Voc agora ser capaz de selecionar o LOCATION MW alaskaeo MAPSET H demo 7 Clique OK Observe que algumas ferramentas anteriormente desabilitadas na barra de ferramentas GRASS agora est o habilitadas a Adicionar camada raster GRASS 8 Clique em escolha o nome do mapa arquivo gtopo30 e clique OK A camada de eleva o ser visualizada 9 Click on vil Add GRASS vector layer choose the map name alaska and click OK The Alaska boundary vector layer will be overlayed on top of the gtopo30 map You can now adapt the layer properties as described in chapter Janela de Propriedades de Vetor e g change opacity fill and outline color 10 Also load the other two vector layers rivers and airports and adapt their properties As you see it is very simple to load GRASS raster and vector layers in QGIS See the following sections for editing GRASS data and creating a new LOCATION More sample GRASS LOCATIONS are available at the GRASS website at http grass osgeo org download sample data
289. for vector layers the attribute chooser has been augmented with a Set column expression function So now you no longer need to write the classification attribute to a new column in your attribute table if you want the classification attribute to be a composite of multiple fields or a formula of some sort 86 Capitulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Renderizador baseado em regras The Rule based Renderer 1s used to render all the features from a layer using rule based symbols whose color reflects the assignment of a selected feature s attribute to a class The rules are based on SQL statements The dialog allows rule grouping by filter or scale and you can decide if you want to enable symbol levels or use only the first matched rule The example in figure_symbology_5 shows the rule based rendering dialog for the rivers layer of the QGIS sample dataset To create a rule activate an existing row by double clicking on it or click on and click on the new rule In the Rule properties dialog you can define a label for the rule Press the _ button to open the expression string builder In the Function List click on Fields and Values to view all attributes of the attribute table to be searched To add an attribute to the field calculator Expression field double click its name in the Fields and Values list Generally you can use the various fields values and functions to construct the calculation
290. fore submitting your bug One of the developers will review it and apply it to QGIS Please don t be alarmed if your patch is not applied straight away developers may be tied up with other commitments 20 4 Blog The QGIS community also runs a weblog at http planet qgis org planet which has some interesting articles for users and developers as well provided by other blogs in the community You are invited to contribute your own QGIS blog 20 5 Plugins The website http plugins qgis org provides the official QGIS plugins web portal Here you find a list of all stable and experimental QGIS plugins available via the Official QGIS Plugin Repository 20 6 Wiki Lastly we maintain a WIKI web site at http hub qgis org projects quantum gis wiki where you can find a variety of useful information relating to QGIS development release plans links to download sites message translation hints and more Check it out there are some goodies inside Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 20 4 Blog 293 QGIS User Guide Vers o 2 2 294 Cap tulo 20 Ajuda e Suporte CAP TULO 21 21 1 Licen a P blica Geral GNU Vers o 2 Junho 1991 Copyright C 1989 1991 Free Software Foundation Inc 59 Temple Place Suite 330 Boston MA 02111 1307 USA E permitido a todos copiar e distribuir uma c pia desta documento da licen a por m n o permitido alterar esta Pre mbulo
291. fore you select the vertices of a ring adjust the vertex edit tolerance Apagar Parte The amp E Delete Part too allows you to delete parts from multifeatures e g to delete polygons from a multi polygon feature It won t delete the last part of the feature this last part will stay untouched This tool works with all multi part geometries point line and polygon Before you select the vertices of a part adjust the vertex edit tolerance Refazer elementos You can reshape line and polygon features using the Reshape Features icon on the toolbar It replaces the line or p polyg 8 p polygon part from the first to the last intersection with the original line With polygons this can sometimes lead to unintended results It is mainly useful to replace smaller parts of a polygon not for major overhauls and the reshape line is not allowed to cross several polygon rings as this would generate an invalid polygon QGIS User Guide Vers o 2 2 Por exemplo pode editar o limite de um pol gono com esta ferramenta Primeiro clique na rea interna do pol gos junto do ponto onde pretende adicionar o novo v rtice Depois atravesse o limite e adicione os v rtices no exterior do pol gono Para finalizar clique com o bot o direito na rea interna do pol gono A ferramente vai adicionar um n automaticamente no ponto onde a linha atravessa o limite Tamb m poss vel remover parte da rea do pol gono come a se a nova linha no exterior
292. from template icons you can save the current state of a Print Composer session as a apt template and load the template again in another session The Ev Composer Manager button in the QGIS toolbar and in Composer Composer Manager allows you to add a new Composer template create a new composition based on a previously saved template or to manage already existing templates By default the Composer manager searches for user templates in qgis2 composer template The NOS E and La Duplicate Composer buttons in the QGIS toolbar and in Composer New Composer and Composer Duplicate Composer allow you to open a new Composer dialog or to duplicate an existing composition from a previously created one 18 8 Gerir o Compositor 245 QGIS User Guide Vers o 2 2 Composer manager alaska2 A4 w New from template Empty composer A Add Open template directory user default Figura 18 31 O gestor do Compositor de Impress o Finally you can save your print composition with the Save Project button This is the same feature as in the QGIS main window All changes will be saved in a QGIS project file Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 246 Cap tulo 18 Compositor de Impress o CAP TULO 19 Complementos Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 19 1 Complementos QGIS QGIS foi projetado com
293. g Shift A selected item will show squares on its boundaries moving one of them with the mouse will resize the item in the corresponding direction While resizing holding Shift will maintain the aspect ratio Holding Ctr1 will resize from the item center The correct position for an item can be obtained using snapping to grid or smart guides If you need to disable the snap on the fly just hold Ct r1 while moving the mouse You can choose multiple items with the vo Selec Move item button Just hold the Shi ft button and click on all the items you need You can then resize move this group just like a single item Once you have found the correct position for an item you can lock it by clicking with the right mouse button Press the same button another time to unlock it You can also lock unlock items using the icons on the toolbar To unselect an item just click on it holding the Shift button Inside the Edit menu you can find actions to select all the items to clear all selections or to invert the current selection 18 4 2 Alignment na E pa Raising or lowering functionalities for elements are inside the 7 Rise selected items pull down menu Choose an element on the Print Composer canvas and select the matching functionality to raise or lower the selected element compared to the other elements see table composer 1 LE There are several alignment functionalities available within the gt Align selected items pull do
294. g line into two parts Exclua limite existente linha ponto ou centr ide confirme elemento selecionado por outro clique Editar atributos do elemento selecionado note que um elemento pode representar mais recursos veja acima Fechar sess o e salvar o estado atual reconstr i topologia depois GRASS Digitaliza o de Tabela 1 GRASS Ferramentas de Digitaliza o Aba Categoria A guilabel guia Categoria permite definir a forma em que os valores da categoria ser o atribu dos um novo elemento geom trico GRASS Edit m GE E e oa R Bp E Category Settings Symbology Table o E O oo 5 Mode Next not u sed Category Layer 1 Figura 16 4 Aba Categoria Digitaliza o GRASS Mode The category value that will be applied to new geometry elements Next not used Apply next not yet used category value to geometry element 16 7 Digitalizando e editando uma camada vetorial GRASS 175 QGIS User Guide Vers o 2 2 Manual entry Manually define the category value for the geometry element in the Category entry field No category Do not apply a category value to the geometry element This is used for instance for area boundaries because the category values are connected via the centroid Category The number ID that is attached to each digitized geometry element It is used to connect each geometry element with its attributes Field layer Each geometry elem
295. gitalizando pol gonos no GRASS If you want to create a polygon in GRASS you first digitize the boundary of the polygon setting the mode to No category Then you add a centroid label point into the closed boundary setting the mode to Next not used The reason for this is that a topological vector model links the attribute information of a polygon always to the centroid and not to the boundary Barra de Ferramentas In figure grass digitizing 1 you see the GRASS digitizing toolbar icons provided by the GRASS plugin Table table grass digitizing 1 explains the available functionalities 174 Cap tulo 16 Integra o com SIG GRASS Novo Ponto Nova Linha Nova Fronteira Novo Centr ide Mova v rtice Adiciona v rtice Exclua v rtice Mova elemento Dividir linha Exclua elemento Editar atributos Fechar QGIS User Guide Vers o 2 2 C j i l MLR GEO Figura 16 3 Barra de ferramentas de Digitaliza o GRASS Digitaliza novo ponto Digitaliza nova linha Digitaliza novo limite acaba ao selecionar nova ferramenta Digitaliza novo centr ide etiqueta da rea existente Mova um v rtice da linha ou limite existente e identifique nova posi o Adiciona novo v rtice uma linha existente Exclua v rtice da linha existente confirme v rtice selecionado por outro clique Mova limite linha ponto ou centr ide selecionado e clique em nova posi o Split an existin
296. gura es de transforma o Existem v rias op es que devem ser definidas para o arquivo raster georreferenciado de sa da e The Create world file checkbox 1s only available 1f you decide to use the linear transformation type because this means that the raster image actually won t be transformed In this case the Output raster field is not activated because only a new world file will be created For all other transformation types you have to define an Output raster As default a new file file name modified will be created in the same folder together with the original raster image As a next step you have to define the Target SRS Spatial Reference System for the georeferenced raster see Trabalhando com Proje es If you like you can generate a pdf map and also a pdf report The report includes information about the used transformation parameters an image of the residuals and a list with all GCPs and their RMS errors Furthermore you can activate the A Set Target Resolution checkbox and define the pixel resolution of the output raster Default horizontal and vertical resolution is 1 e The Ed Use O for transparency when needed can be activated if pixels with the value O shall be visualized transparent In our example toposheet all white areas would be transparent e Finally Ed Load in QGIS when done loads the output raster automatically into the QGIS map canvas when the transformation is done Mostrando e a
297. h to GPS options screen Select the COM port assigned to the GPS connection and click the Connect After a while a cursor indicating your position should appear If QGIS can t receive GPS data then you should restart your GPS device wait 5 10 seconds then try to connect again Usually this solution work If you receive again a connection error make sure you don t have another Bluetooth receiver near you paired with the same GPS unit 15 2 6 Using GPSMAP 60cs MS Windows Easiest way to make it work is to use a middleware freeware not open called GPSGate Launch the program make it scan for GPS devices works for both USB and BT ones and then in QGIS just click Connect in the Live tracking panel using the Autodetect mode Ubuntu Mint GNU Linux As for Windows the easiest way is to use a server in the middle in this case GPSD so sudo apt get install gpsd Then load the garmin_gps kernel module sudo modprobe garmin_gps And then connect the unit Then check with dmesg the actual device being used bu the unit for example dev ttyUSBO Now you can launch gpsd gpsd dev ttyUSBO And finally connect with the QGIS live tracking tool 15 2 7 Using BTGP 38KM datalogger only Bluetooth Using GPSD under Linux or GPSGate under Windows is effortless 166 Cap tulo 15 Trabalhando com dados GPS QGIS User Guide Vers o 2 2 15 2 8 Using BlueMax GPS 4044 datalogger both BT and USB MS Windows The live tra
298. hat is common to both the join layer and the target layer As a result of the join all information from the join layer and the target layer are displayed in the attribute table of the target layer as joined information QGIS currently has support for joining non spatial table formats supported by OGR e g CSV DBF and Excel delimited text and the PostgreSQL provider see figure joins 1 Additionally the add vector join dialog allows you to g Cache join layer in virtual memory g Create attribute index on the join field 12 2 9 Diagrams Menu K The Diagrams menu allows you to add a graphic overlay to a vector layer see figure diagrams 1 12 2 Janela de Propriedades de Vetor 103 QGIS User Guide Vers o 2 2 P ES Fields Join layer regions 3 uni B ef Joins General Join layer Join Field Target Field regions NAME_1 NAME Style Labels Add vector join Rendering Join Field NAME 1 A Display Target field NAME E actions amp Cache join layer in virtual memory Create attribute index on join Field Cancel SA ER Diagrams 1 Metadata Load Style Save As Default Restore Default Style Save Style T Help Apply Cancel DK Figura 12 29 Join an attribute table to an existing vector layer I The current core implementation of diagrams provides support for pie charts text diagrams and histograms The menu is divided i
299. hat logging mechanism A maioria dos outros fornecedores que usam uma aplica o externa e chamam a partir da linha de comandos t m op es semelhantes portanto ir encontrar noutros s tios da lista de configura es do processamento R Creating R scripts R integration in QGIS is different from that of SAGA in that there is not a predefined set of algorithms you can run except for a few examples Instead you should write your scripts and call R commands much like you would do from R and in a very similar manner to what we saw in the section dedicated to processing scripts This section shows you the syntax to use to call those R commands from QGIS and how to use QGIS objects layers tables in them The first thing you have to do as we saw in the case of SAGA is to tell QGIS where your R binaries are located You can do this using the R folder entry in the processing configuration dialog Once you have set that parameter you can start creating and executing your own R scripts Uma vez mais isto diferente no Linux e s tem de ter certeza que a pasta do R est inclu da na vari vel de ambiente PATH Se conseguir iniciar o R apenas introduza R na consola e estar pronto a come ar To add a new algorithm that calls an R function or a more complex R script that you have developed and you would like to have available from QGIS you have to create a script file that tells the processing framework how to perform that operatio
300. have invalid geometries Checks whether the geometries are valid Must not have multi part geometries All multi part points are written into the Error field On line layers the following rules are available End points must be covered by Here you can select a point layer from your project Must not have dangles This will show the overshoots in the line layer Must not have duplicates Whenever a line feature is represented twice or more it will occur in the Error field Must not have invalid geometries Checks whether the geometries are valid Must not have multi part geometries Sometimes a geometry is actually a collection of simple single part geometries Such a geometry is called multi part geometry If it contains just one type of simple geometry we call it multi point multi linestring or multi polygon All multi part lines are written into the Error field Must not have pseudos A line geometry s endpoint should be connected to the endpoints of two other geometries If the endpoint is connected to only one other geometry s endpoint the endpoint is called a psuedo node On polygon layers the following rules are available Must contain Polygon layer must contain at least one point geometry from the second layer Must not have duplicates Polygons from the same layer must not have identical geometries Whenever a polygon feature is represented twice or more it will occur in the Error field Must
301. he QGIS in memory state is preserved This allows you to adjust your edits and try again Dica Integridade dos dados sempre boa ideia fazer c pias de seguranca da sua fonte de dados antes de comecar a editar Enquanto os autores do QGIS fizeram todo o esfor o para preservar a integridade dos seus dados n s n o oferecemos garantia neste sentido QGIS User Guide Vers o 2 2 12 3 5 Digitaliza o Avan ada Finalidade Finalidade o Retroceder Retomar Rodar Elemento s Simplificar elemento Adicionar An l DE Adicionar Parte Fill Ring Apagar An l Apagar Parte Refazer elementos Curva de Afastamento Dividir Elementos Split Parts A Juntar Elementos Seleccionados Juntar Atributos dos Elementos Seleccionados Rodar S mbolos de Pontos Tabela de edi o avan ada Barra de ferramentas de edi o avan ada de camadas vectoriais Retroceder e Retomar The undo and Redo tools allows you to undo or redo vector editing operations There is also a dockable widget which shows all operations in the undo redo history see Figure_edit_3 This widget is not displayed by default it can be displayed by right clicking on the toolbar and activating the Undo Redo checkbox Undo Redo is however active even if the widget is not displayed Undo Redo E lt empty gt Feature added Feature moved Features deleted Undo Figura 12 35 Refazer e desfazer passos de digitaliza o When Undo is hit the state of all f
302. he slopes facing away from the sun in shadow are darkened Begin this example by loading the gtopo30 elevation raster Start the GRASS Toolbox and under the Raster category double click to open Spatial analysis Terrain analysis Ent o clique r shaded relief para abrir o m dulo e Altere o ngulo azimute 9 270 a 315 e Digite gCopo30 shade para o novo raster sombreado e clique rodar Quando o processo termina adicione o raster sombreado ao mapa Voc deve v lo exibido em escala de cinza 16 9 The GRASS Toolbox 181 QGIS User Guide Vers o 2 2 QGIS 2 0 1 Dufour Project Edit View Layer Settings Plugins Vector Raster Database Processing Help Te BARBARA VETAR SOS spp ane ee N uwsBEm Og UR UM N Ch MA NE AA DA Layers x v KZ V ctour100 smooth gt MZ gtopo30 Layers Browser 2 95 Coordinate 709731 4587246 Scale 1 90000 Sf amp Render EPSG 2964 Figura 16 12 Modulo GRASS v generalize para visualizar um mapa vetorial 4b To view both the hillshading and the colors of the gtopo30 together move the hillshade map below the gtopo30 map in the table of contents then open the Properties window of gtopo30 switch to the Transparency tab and set its transparency level to about 25 Agora voc deve ter a eleva o gtopo30 com o seu mapa de cores e configura o de transpar ncia apresen tada acima o tons de cinza mapa sombreado Para ver os efei
303. her por es de informa o guardada de servidores baseaados condicionantes espaciais e outros crit rios de consulta O QGIS tem um fornecedor WCS nativo e suporta a vers o 1 0 e 1 1 que s o significativamente diferentes mas actualmente d se prefer ncia ao 1 0 porque o 1 1 tem v rios problemas ex cada servidor implementa de formas diferentes com v rias particularidades O fornecedor WCS nativo gere todos pedidos de rede e usa as configura es padr es de rede do QGIS especial mente o proxy E tamb m poss vel seleccionar o modo de cache sempre cache preferir cache preferir rede sempre rede e fornece tamb m suporte selec o de posi o do tempo se o dom nio temporal oferecido pelo servidor 14 1 3 WFS e WFS T Cliente No QGIS a camada WFS comporta se de forma semelhante a uma camada vectorial Pode identificar e seleccionar elementos e ver a tabela de atributos Desde o QGIS 1 6 a edi o WFS T tamb m suportada De uma forma geral adicionar uma camada WFS muito semlehante ao procedimento usado com o WMS A diferen a que n o existe servidores padr es definidos portanto n s teremos de adicionar o nosso Carregando uma camada WFS Como exemplo n s usaremos o servidor WFS DM Solutions e exibiremos uma camada O URL http www2 dmsolutions ca cgi bin mswfs gmap 1 Clique na ferramenta t Adicionar Camada WFS WFS do Servidor aparecer na barra de ferramentas Cama
304. ica 295 QGIS User Guide Vers o 2 2 Geral O Programa abaixo refere se a qualquer programa ou trabalho e trabalho baseado no Programa significa tanto o Programa em si como quaisquer trabalhos derivados de acordo com a lei de direitos au torais isto quer dizer um trabalho que contenha o Programa ou parte dele tanto originalmente ou com modifica es e ou tradu o para outros idiomas Doravante o processo de tradu o est inclu do sem limites no termo modifica o Cada licenciado mencionado como voc Atividades outras que a c pia a distribui o e modifica o n o est o cobertas por esta Licen a elas est o fora de seu escopo O ato de executar o Programa n o restringido e o resultado do Programa coberto ape nas se seu conte do contenha trabalhos baseados no Programa independentemente de terem sido gerados pela execu o do Programa Se isso verdadeiro depende do que o programa faz 1 Voc pode copiar e distribuir c pias fi is do c digo fonte do Programa da mesma forma que voc o recebeu usando qualquer meio deste que voc consp cua e apropriadamente publique em cada c pia um aviso de direitos autorais e uma declara o de inexist ncia de garantias mantenha intactas todos os avisos que se referem a esta Licen a e aus ncia total de garantias e forne a a outros recebedores do Programa uma c pia desta Licen a junto com o Programa Voc pode cobrar uma taxa pel
305. ica o ent o voc pode distribuir tradu es do Docu mento sob os termos da se o 4 A substitui o de Se es Invariantes por tradu es requer permiss o especial dos detentores dos direitos autorais embora voc possa incluir tradu es de algumas ou todas as Se es Invariantes juntamente s vers es originais destas Voc pode incluir uma tradu o desta Licen a e todas as notas de licen a no Documento e qualquer Nota de Garantia desde que voc tamb m inclua a vers o original em Ingl s desta Licen a e as vers es originais das notas de licen a e garantia Em caso de discord ncia entre a tradu o e a vers o original desta Licen a ou nota de licen a ou garantia a vers o original prevalecer Se uma se o no Documento for intitulada Agradecimentos Dedicat ria ou Hist rico o requerimento se o 4 de Preservar seu T tulo se o 1 tipicamente exigir a mudan a do t tulo em si 9 TERMINATION Voc n o pode copiar modifica sub licenciar ou distribuir o Documento exce o do modo expressamente provido por esta Licen a Qualquer outra tentativa de copiar modificar sub licenciar ou distribuir o Documento anulada e implicar em t rmino autom tico de seus direitos sob esta Licen a However if you cease all violation of this License then your license from a particular copyright holder is reinstated a provisionally unless and until the copyright holder explicitly and
306. ifica o Quando l o WMTS pode muitas vezes pensar em WMS C Seleccionando os Servidores WMS WMTS Na primeira vez que usa o elemento WMS no QGIS n o existem servidores definidos Comece clicando no bot o Adicionar camada WMS na barra de ferramentas ou atrav s do menu Camada Adi cionar Camada WMS A janela Adicionar Camada s do Servidor para adicionar camadas dos servidores WMS aparecem Pode adicionar alguns servidores para brincar clicando no botaO Adicionar servidores padr es Isto ir adicionar dois servidores WMS demonstra o para que possa usar os servidores WMS do DM Solutions Group e Lizardtech Para definir uma novo servidor WMS no separador Camadas seleccione o bot o Novo De seguida introduza os par metros de liga o que deseja para o Servidor WMS como est listado na table OGC 1 Nome Um nome para esta liga o Este nome ser usado para a lista de Liga es do Servidor para que possa distingui la de outros Servidores WMS URL URL do servidor que fornece os dados Isto dever ser um nome de alojamento v lido o mesmo formato que ira usar para abrir a liga o telnet ou o ping a um alojamento Utilizador Nome de Utilizador para aceder a um Servidor WMS protegido Este par metro opcional Palavra chave Palavra chave para autentica o b sica no Servidor WMS Este par metro opcional Ignorar Ed Ignorar GetMap URI reportado nas capacidades Use um URI dado em cima para o GetMap URI ca
307. ificadas desde que voc inclua na combina o todas as Se es Invariantes de todos os documentos originais sem modifica es e as liste como Se es Invariantes de seu trabalho combinado na sua nota de licen a e que voc preserve todas as Notas de Garantia O trabalho combinado somente precisa conter uma c pia desta Licen a e m ltiplas Se es Invariantes id nticas podem ser substitu das por uma nica c pia Se houver m ltiplas Se es Invariantes com o mesmo nome por m com conte dos diferentes torne o t tulo de cada uma destas se es nico adicionando ao fim dele entre par n teses o nome do autor ou editor original desta se o se conhecido ou ent o um n mero nico Fa a o mesmo ajuste nos t tulos de se o na lista de Se es Invariantes na nota de licen a do trabalho combinado Na combina o voc deve combinar quaisquer se es intituladas Hist rico nos v rios documentos originais formando uma se o intitulada Hist rico do mesmo modo combine quaisquer se es intituladas Agradeci mentos e quaisquer se es intituladas Dedicat ria Voc deve apagar todas as se es intituladas Apoio 6 COLLECTIONS OF DOCUMENTS Voc pode fazer uma cole o consistindo do Documento e outros documentos publicados sob esta Licen a e substituir as c pias individuais desta Licen a nos v rios documentos por uma nica c pia a ser inclu da na cole o desde que voc
308. image and optionally vector data into your web browser You can view 3D map image in web browser which supports WebGL This plugin makes use of Three js library 7 rating vote s 4042 downloads Tags terrain webgl three js 3d More info homepage tracker code repository Author Minoru Akagi i 1 m m e 8 0 Upgrade all Install plugin Close Figura 19 3 The Ar guilabel menu N o instalados re Plugins Upgradeable 1 a E 3 Installed Not installed 1p Upgradeable Settings dii This plugin is experimental Walking time Calculate walking travel time from linestring vector layer based on slope derived from an elevation raster The walking time is a QGIS pyEhon plugin that uses Tobbler s hiking function to estimate the travel time along a line depending on the slope The input data required are a vector layer with lines and a Upgrade all Uninstall plugin Upgrade plugin Help Close Figura 19 4 The x guilabel menu Atualiz vel rs 19 1 Complementos QGIS 249 QGIS User Guide Vers o 2 2 E Verificar por atualiza es quando iniciar Sempre que um novo complemento ou uma atualiza o de algum estiver dispon vel o QGIS informar a voc toda vez ao iniciar o QGIS uma vez por dia a cada 3 dias a cada semana a cada 2 semanas ou
309. in the attribute table To make a selection you have to use the S Select features using an Expression icon on top of the attribute table e Select features using an Expression allows you to define a subset of a table using a Function List like in the ES BI ado see Calculadora de Campos The query result can then be saved as a new vector layer For example if you want to find regions that are boroughs from regions shp of the QGIS sample data you have to open the Fields and Values menu and choose the field that you want to query Double click the field TYPE 2 and also Load all unique values From the list choose and double click Borough In the Expression field the following query appears TYPE 2 Borough Here you can also use the Function list Recent Selection to make a selection that you used before The expression builder remembers the last 20 used expressions The matching rows will be selected and the total number of matching rows will appear in the title bar of the attribute table as well as in the status bar of the main window For searches that display only selected features on the map use the Query Builder described in section Ferramenta de Consulta To show selected records only use Show Selected Features from the menu at the bottom left The other buttons at the top of the attribute table window provide the following functionality e 4 Toggle editing mode to edit single values and to enable functiona
310. inar um elemente completo utilize a ferramenta i Delo sicsiea Mover v rtices Selecione todos os v rtices que pretende mover Clique num v rtice selecionado ou na extreminade e arraste na dire o que pretende mover Todos os v rtices selecionados ser o movidos em conjunto Se a ferramenta snapping est ativa toda a sele o pode saltar para o v rtice ou linha mais pr ximos Each change made with the node tool is stored as a separate entry in the Undo dialog Remember that all operations support topological editing when this is turned on On the fly projection is also supported and the node tool provides tooltips to identify a vertex by hovering the pointer over it Cortando Copiando e Colando Elementos Fei es selecionadas podem ser recortadas copiadas e coladas entre camadas do mesmo projeto do QGIS contanto que a camada de destino estejam selecionadas como sup Alternar edi o previamente Features can also be pasted to external applications as text That is the features are represented in CSV format with the geometry data appearing in the OGC Well Known Text WKT format However in this version of QGIS text features from outside QGIS cannot be pasted to a layer within QGIS When would the copy and paste function come in handy Well it turns out that you can edit more than one layer at a time and copy paste features between layers Why would we want to do this Say we need to do some work on a new layer but only ne
311. ine symbols Fill patterns and Color ramps can be used to create the symbols see defining_symbols The symbols are then assigned to All Symbols Groups or Smart groups Renderizador Categorizado The Categorized Renderer is used to render all features from a layer using a single user defined symbol whose color reflects the value of a selected feature s attribute The Style menu allows you to select The attribute using the Column listbox or the Set column expression function e Simbolo usando a aba Simbolo e As cores usando rampa de cores lista box The Advanced button in the lower right corner of the dialog allows you to set the fields containing rotation and size scale information For convenience the center of the menu lists the values of all currently selected attributes together including the symbols that will be rendered The example in figure_symbology_2 shows the category rendering dialog used for the rivers layer of the QGIS sample dataset Layer Properties rivers Style Dx NE v Layer rendering Layer transparency 6 0 a style y parency Layer blending mode Normal Feature blending mode Normal Labels l EE Fields X Categorized Coll PR Rendering Column NAM be BB bio Symbol Change Color ramp color Brewer Accenta Invert isplay r o Symbol Value Label ge Actions AGASHASHOK RIVER AGASHASHOK RIVER d to AGIAPUK RIVER
312. ing into Qt data time type todate converts a string into Qt data type totime converts a string into Qt time type tointerval converts a string to an interval type can be used to take days hours months etc off a date Fun es de Data e Tempo Este grupo cont m fun es para manusear dados do tipo data e tempo 12 5 Calculadora de Campos 127 QGIS User Guide Vers o 2 2 Snow current date and time age difference between two dates year extract the year part from a date or the number of years from an interva month extract the month part from a date or the number of months from an interval week extract the week number from a date or the number of weeks from an interval day extract the day from a date or the number of days from an interval hour extract the hour from a datetime or time or the number of hours from an interval minute extract the minute from a datetime or time or the number of minutes from an interval second extract the second from a datetime or time or the number of minutes from an interval Funcoes de Cadeia de Texto Este grupo cont m fun es que operam com cadeias de texto ex substituir converter ou tornar mai sculas lower convert string a to lower case upper convert string a to upper case title converts all words of a string to title case all words lower case with leading capital letter trim removes all leading and trailing white space spaces tabs etc from a string length length
313. ing other things and it may take a while for them to notice your question If you missed a discussion on IRC not a problem We log all discussion so you can easily catch up Just go to http qgis org irclogs and read the IRC logs Commercial support for QGIS is also available Check the website http qgis org en commercial support html for more information 20 3 Rastreador de Erros While the qgis users mailing list is useful for general How do I do XYZ in QGIS type questions you may wish to notify us about bugs in QGIS You can submit bug reports using the QGIS bug tracker at http hub qgis org projects quantum gis issues When creating a new ticket for a bug please provide an email address where we can contact you for additional information Please bear in mind that your bug may not always enjoy the priority you might hope for depending on its severity Some bugs may require significant developer effort to remedy and the manpower is not always available for this 292 Capitulo 20 Ajuda e Suporte QGIS User Guide Vers o 2 2 Solicita es de recursos tamb m podem ser enviadas usando o mesmo sistema de mensagem de erros Por favor certifique se de ter selecionado o tipo de recurso If you have found a bug and fixed it yourself you can submit this patch also Again the lovely redmine ticketsys tem at http hub qgis org wiki quantum gis issues has this type as well Check the Patch supplied checkbox and attach your patch be
314. inux Use same command or settings if you use GPSBabel GUI as in Windows On Linux it maybe somehow common to get a message like Skytraq Too many read errors on serial port it is just a matter to turn off and on the datalogger and try again BlueMax GPS 4044 datalogger both BT and USB MS Windows Nota It needs to install its drivers before using it on Windows 7 See in the manufacturer site for the proper download Downloading with GPSBabel both with USB and BT returns always an error like gpsbabel t i mtk f COMI2 o gpx F C temp test gpx mtk logger Can t create temporary file data bin Error running gpsbabel Process exited unsucessfully with code 1 162 Cap tulo 15 Trabalhando com dados GPS QGIS User Guide Vers o 2 2 Ubuntu Mint GNU Linux With USB After having connected the cable use the dmesg command to understand what port is being used for example dev ttyACM3 Then as usual use GPSBabel from the CLI or GUI gpsbabel t i mtk f dev ttyACM3 o gpx F home user bluemax gpx With Bluetooth Use Blueman Device Manager to pair the device and make it available through a system port then run GPSBabel gpsbabel t i mtk f dev rfcomm0 o gpx F home user bluemax bt gpx Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 15 2 Rastreio GPS em tempo real To activate live GPS tracking in QGIS you need to select Settings Panels GPS information You will get a new d
315. ionalidade de preenchimento em gradiente per mite criar melhores mapas do que antes Esta funcionalidade tem numerosas op es provendo com grande flexibilidade a forma de aplicar os gradientes s suas fei es Estas incluem Preenchimento em duas cores ou em rampa de cores Tela ou origem baseado em objetos e seus gradientes Gradientes originados a partir do centr ide de uma fei o Tipos de gradientes c nico linear e radial Op es de dados definidos ex usar uma express o ou uma coluna da tabela para todas as propriedades de gradientes Suporte de r tulo para rampa em camadas matriciais Rasters que utilizam uma paleta de cores fixas para inst ncias um mapa de cobertura podem ter categorias de r tulos nomeadas com o que ser mostrado na legenda do mapa e na legenda do compositor Rampa de cores pode ser invertida Uma nova op o que foi acrescentada s op es de simbologias rela cionada s rampas de cores que permite inverter a rampa ap s criada Copiar e colar no renderizador baseado em regra No renderizador baseado em regra voc pode em um clique com o bot o direito do mouse numa regra copi la e col la como uma nova regra Recurso de generaliza o on the fly O QGIS 2 2 introduz o recurso de generaliza o para o on the fly Isto pode melhorar o tempo de renderiza o enquanto se desenha in meras fei es complexas em escala pequena Este recurso pode ser habilitado ou desabilitado nas pro
316. ionar uma camada vetorial do GRASS e a Adicionar uma camada raster do GRASS ivi Criar um novo vetor do GRASS q e Vp Editar camada vetorial do GRASS A Abrir ferramentas GRASS e Y Mostrar a regi o atual do GRASS e y Edita regi o atual do GRASS 16 1 Iniciando o complemento GRASS To use GRASS functionalities and or visualize GRASS vector and raster layers in QGIS you must select and load the GRASS plugin with the Plugin Manager Therefore go to the menu Plugins fu Manage Plugins select Ef GRASS and click OK You can now start loading raster and vector layers from an existing GRASS LOCATION see section sec load grassdata Or you can create a new GRASS LOCATION with QGIS see section Criando uma nova Localiza o GRASS and import some raster and vector data see section Importando dados para uma localiza o GRASS for further analysis with the GRASS Toolbox see section The GRASS Toolbox 169 QGIS User Guide Vers o 2 2 16 2 Carregando camadas raster e vetorial GRASS With the GRASS plugin you can load vector or raster layers using the appropriate button on the toolbar menu As an example we will use the QGIS Alaska dataset see section Amostra de Dados It includes a small sample GRASS LOCATION with three vector layers and one raster elevation map 1 Create a new folder called grassdata download the QGIS Alaska dataset qgis sample data zip from http download osgeo org qgis data and unzip the
317. ions Define labels based on expressions QGIS allows to use expressions to label features Just click the icon in the CRS Labels menu of the properties dialog In figure labels 4 you see a sample expression to label the alaska regions with name and area size based on the field NAME 2 some descriptive text and the function area in combination with format number to make 1t look nicer 12 2 Janela de Propriedades de Vetor 91 QGIS User Guide Vers o 2 2 Layer labeling settings i 5 Ld EN 2 Labelthis layer with NAMES Be Fu Pas w Text Buffer sample he oo DP HSHPLPAL y Lorem Ipsum E abel i 6 bol sta e abe Layers 7 O id groupi Lorem Ipsum 9 vf i mm ape Text Placement ab E v airports e Formatting offset from centroid Horizontal slow A abe Buffer E a O Back d Around centroid 5 Free slow LJ storagep ackgroun E o JA Shadow Using perimeter gt V trails ye Placement centroid visible polygon whole polygon p W rivers 4 Renderin D z V railroads Quadrant E v Boundaries Group eal a lt a J gt O regions Becharof Lake v amp alaska o Offset X Y 0 0000 0 0000 Y E 3 water Group p b Ti VA majrivers Ugashik Lake mm iD A q 0v E C lakes 1 Rotation 0 00 E gt amp C swamp N Lay Brow
318. isiveis no mapa Attribute table row cache 199 This row cache makes it possible to save the last loaded N attribute rows so that working with the attribute table will be quicker The cache will be deleted when closing the attribute table Representa o para valores NULL Aqui pode definir um valor para os campos de dados que cont m valores NULL Manipula o das fontes de dados Pesquisar por atributos v lidos na janela do navegador Pode escolher entre Verificar extens o e Verificar conte do do ficheiro i l Te E Pesquisar por conte do de ficheiros compactados zip na janela do navegador y Nao Verifica o b sica e Verifica o completa s o possiveis Prompt for raster sublayers when opening Some rasters support sublayers they are called subdatasets in GDAL An example is netCDF files if there are many netCDF variables GDAL sees every variable as a subdataset The option allows you to control how to deal with sublayers when a file with sublayers is opened You have the following choices Sempre Perguntar sempre se existem subcamadas Se necess rio Perguntar se a camada n o tem bandas mas tem subcamadas Nunca Nunca pede n o ira carregar nada Carregar tudo Nunca pede mas carrega todas as subcamadas Ed Ignora a declara o de codifica o da shapefile Se a shapefile tiver informa o de codifica o este s
319. isting Field Output field name Output field type Decimal number real Output field width 10 Precision 3 Function list Selected Function help Slength function Geomet xat Returns the length of the current feature Syntax Sarea l Slength Slength Spree Aroments v Operators FAL dC OI M OH Mo Mo Wt S Expression Slength 1000 Output preview 177 3929555120818 Help Cancel Figura 12 45 Calculadora de Campos Se optar por adicionar um novo campo voc precisa digitar um nome de campo o tipo de campo inteiro real ou texto a largura total do campo e a precis o do campo veja figure attributes 3 Por exemplo se voc escolher uma largura de campo de 10 e uma precis o de 3 significa que voc tem 6 n meros antes do ponto ent o o ponto e mais 3 indica es para a precis o A Lista de Fun es cont m fun es bem como campos e valores Veja a ajuda para a fun o no Fun o de Ajuda Seleccionada Em Express o ir ver as express es de c lculo que voc cria com a Lista de Fun es Os operadores comumente mais utilizados veja em Operadores Na Lista de Fun es clique no Campos e Valores para ver todos os atributos da tabela de atributos para ser pesquisado Para adicionar um atributo no campo Express o da Calculadora de campos fa a duplo clique no nome na lista do Campos e Valores Geralmente podemos usar v rios cam
320. l deactivated m Figura 17 23 Desactiva o 7 Todas as depend ncias dos algoritmos directas e indirectas nesse algoritmo ir o tamb m aparecer como inactivo uma vez n o poderem ser executados Para activar um algoritmo clique com o direito do rato no seu cone e seleccione a op o Activar 202 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 17 3 6 Editando os ficheiros de ajuda do modelo e a meta informa o Pode documentar os seus modelos a partir do pr prio modelador Basta apenas clicar no bot o Editar ajuda do modelo e o di logo como aquele que ira aparecer t4 Help editor 2 x Algorithm description pc m Algorithm description t Elevation Algorithm created by Input parameters Algorithm help written by Elevation Select elements on the tree and fill their description in the textbox below The elevation layer Values must be expressed in meters Clipping layer Clipping layer An optional clipping layer Outputs Figura 17 24 Edi o da Ajuda No lado direito ir ver uma p gina simples HTML criada usando a descri o dos par metros de entrada e de sa da do algoritmo juntamente com itens adicionais como uma descri o geral do modelo ou o seu autor A primeira vez que abre o editor da ajuda todas as ajudas est o vazias mas pode edit los usando os elementos do lado esquerdo do di logo Seleccio
321. l also find a block for algorithm providers Each entry in this block contains an Activate item that you can use to make algorithms appear or not in the toolbox Also some algorithm providers have their own configuration items which we will explain later when covering particular algorithm providers Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 17 3 O modelador gr fico O modelador gr fico permite que possa criar modelos complexos usando uma simples interface f cil de usar Quando trabalha com um SIG a maioria das opera es de an lises n o s o isoladas mas sim parte das cadeias de opera es Usando um modelador gr fico a cadeia de processos podem ser agregados num nico processo sendo mais f cil e mais conveniente a sua execu o de um processo nico num conjunto de diferentes dados de entrada N o importa o n mero de etapas e os diferentes algoritmos envolvidos o modelo executado como um algoritmo nico desta forma vai poupar tempo e esfor os especialmente para modelos largos O modelador pode ser aberto a partir do menu processamento O modelador tem uma rea de trabalho onde a estrutura do modelo e o sue fluxo de trabalho s o representados como est exibido Na parte esquerda da janela um painel com dois separadores podem ser usados para adicionar novos elementos ao modelo A cria o de um modelo involve dois passos 1 Defini o dos dados entrada necess rios
322. l be added to the map and you can edit it in the same way as described in section Digitalizar uma camada existente above Criando uma nova camada SpatialLite Para criar uma nova camada SpatialLite para edi o escolha Novo Pe Nova Camada SpatiaLite do menu Camada O di logo Nova Camada SpatiaLite ir aparecer como mostrado na Figure edit 6 The first step is to select an existing SpatiaLite database or to create a new SpatiaLite database This can be done with the browse button to the right of the database field Then add a name for the new layer define the layer type and specify the coordinate reference system with Specify CRS If desired you can select A Create an autoincrementing primary key 12 3 Editando QGIS User Guide Vers o 2 2 New Vector Layer Type Point Line EPSG 4326 WGS 84 New attribute Type Decimal number 3 Polygon Specify CRS adi width 20 Precision Add to attributes list Attributes list Name Type Width Precision id Integer 10 name String 80 elevation Real 20 m DE Remove attribute pre conei SRD Figura 12 37 Janela de cria o de uma nova camada Shapefile New Spatialite Layer Database data Dropbox Trabalho QGIS P
323. la Ct r1 premido a rota o ira ser feita em passos de 15 graus 12 3 6 Criando novas camadas Vectoriais QGIS allows you to create new shapefile layers new SpatiaLite layers and new GPX layers Creation of a new GRASS layer is supported within the GRASS plugin Please refer to section Criando uma nova camada vetorial GRASS for more information on creating GRASS vector layers Criando uma nova camada Shapefile To create a new shape layer for editing choose New Va New Shapefile Layer from the Layer menu The New Vector Layer dialog will be displayed as shown in Figure edit 5 Choose the type of layer point line or polygon and the CRS coordinate reference system Note that QGIS does not yet support creation of 2 5D features 1 e features with X Y Z coordinates To complete the creation of the new shapefile layer add the desired attributes by clicking on the Add to attributes list button and specifying a name and type for the attribute A first id column is added as default but can be removed 1f not wanted Only Type real Tr Type integer a Type string 17 and Type date Tr attributes are supported Additionally and according to the attribute type you can also define the width and precision of the new attribute column Once you are happy with the attributes click OK and provide a name for the shapefile QGIS will automatically add a shp extension to the name you specify Once the layer has been created it wil
324. le Selection window will be displayed If the query is not successful an error message will appear in the Output Console window 1 Open File Launches the Open File file browser to search for the XML file holding the predefined queries 2 Predefined Queries A drop down list with all of the queries defined by the predefined queries XML file 3 Consulta descri o Uma breve descri o da consulta Esta descri o do arquivo consultas pr definida XML 4 Janela Console A janela console onde as mensagens relacionadas ao processamento s o exibidas 5 Help Displays the online help 6 OK Fecha a janela principal do Conex o com a Base de Dados 19 6 Complemento eVis 261 QGIS User Guide Vers o 2 2 Database Connection Predefined Queries 2 9 ia DADOS1 Alexandre Dropbox Trabalho QGIS qgis_si Import all photo points B This command will import all of the data in the SQLite database to Q Database Connection SQL Query Output Console polygons gt idx polygons geometry gt idx polygons geometry node gt idx polygons geometry rowid gt idx polygons geometry parent regions gt airports Help O Q Ok Figura 19 14 The eVis Predefined Queries tab Formato XML para consultas predefinidas eVis As marcas XML lidas por eVis Marcas Descri o Consulta Define o inicio e o fim de uma instru o de consulta Descri o Breve A short descripti
325. le Spatial GeoRaster amp Plugin Builder Plugin Reloader amp Processing e Raster Terrain Analysis plu C Road graph plugin Ws Spatial Query Plugin O Sp sPIT EA Table Manager 1 E Topology Checker E Aa walking time V Zonal statistics plugin Es Syl OfflineEditing 1 Table Manager Es Manages the attribute table structure 24 rating vote s 49567 downloads Category Vector Tags attribute table table fields vector More info homepage tracker code repository Author Borys Jurgiel Installed version 0 5 2 in home alexandre qgis2 python plugins tablemana ger Available version 0 5 2 in QGIS Official Repository Upgrade all Uninstall plugin Reinstall plugin Close Figura 19 2 The E guilabel menu nstalados 248 Cap tulo 19 Complementos Plugins Not installed 187 d Not installed Settings QGIS User Guide Vers o 2 2 Search a Points2One 39 PointsToPaths 39 PostGIS Topology Editor 39 Postgres 91 plus Auditor dE Processing LWGEOM Providi i ProcessingPermaclim provid 3 Profile tool ul PS Time Series Viewer dE pyArchinit 39 pyUPVBib 39 QChainage 39 QConsolidate 39 QGIS Cloud Plugin a QGIS Layer Definitions Qgis2threejs i qgisio A qgSurf ar qNote ai qProf Help Qgis2threejs Qgis2threejs plugin exports terrain data map canvas
326. legend 1 Activate the QGIS Browser Right click on the toolbar and check Bowser or select it from Settings Panels Drag the panel into the legend window and release it Clique no separador Pesquisar Browse in your filesystem and choose the shapefile folder from qgis sample data directory Press the Shift key and select the ai rports shpandalaska shp files e s xe ow ADT Press the left mouse button then drag and drop the files into the map canvas 65 QGIS User Guide Vers o 2 2 7 Clique com o direito do raro na camada e escolha Definir o SRC do projecto a partir da camada Para mais informa es veja Trabalhando com Proje es 3 8 Clique em 4 9 Amplia o Total para tornar as camadas vis veis There is a second browser available under Settings Panels This is handy when you need to move files or layers between locations 1 Activate a second QGIS Browser Right click on the toolbar and check Bf Browser 2 or select it from Settings Panels 2 Arraste o painel para a janela de legenda 3 Navegue para o separador Pesquisador 2 e pesquise pela shapefile no seu sistema de ficheiros 4 Select a file with the left mouse button Now you can use the Ou Selected Layers icon to add it into the current project QGIS automatically looks for the coordinate reference system CRS and zooms to the layer extent if you work in a blank QGIS project If there are already files in your project the file will ju
327. lick the Manual radio button to enter the offset in the text box or click the From Attribute radio button to select the attribute field containing the offsets For both of these options east declinations should be entered using positive values and west declinations should use negative values 4 Caminho Diret rio base O caminho de base para que o caminho relativo definido no Figure_eVis_2 A ser anexado 5 Replace path If this checkbox is checked only the file name from A will be appended to the base path 256 Cap tulo 19 Complementos 10 QGIS User Guide Versao 2 2 Apply rule to all documents If checked the same path rules that are defined for photographs will be used for non image documents such as movies text documents and sound files If not checked the path rules will only apply to photographs and other documents will ignore the base path parameter Remember settings If the checkbox is checked the values for the associated parameters will be saved for the next session when the window is closed or when the Save button below is pressed Redefinir valores Redefine os valores nesta linha para a configura o padr o Restore defaults This will reset all of the fields to their default settings It has the same effect as clicking all of the Reset buttons Save This will save the settings without closing the Options pane Entendendo a janela Configurar Aplicacoes Externas Event Browser Displaying
328. liers podem ser eliminados usando o Iradiobuttononl guilabel Corte na Contagem acumulativa para definir a elimina o A amplitude padr o est fixada entre 2 a 98 dos valores dos dados e pode ser modificada manualmente Com esta defini o o tipo cinza da imagem pode desaparecer Com a op o de escala M n m x QGIS cria uma tabela de cores com todos os dados inclu dos na imagem original por exemplo QGIS cria uma tabela de cor com 256 valores se temos uma imagem com banda de 8 bits Pode se calcular tamb m uma tabela de cores usando guilabel M dia x PT e e ss desvio padr o 1 00 v Assim apenas valores dentro do desvio padr o o dentro de m ltiplos desvios padr o ser o considerados na tabela de cores Isto til quando se tem uma ou duas c lulas com valores sumamente altos em uma gride raster que tem um impacto negativo na representa o da imagem raster Todos os c lculos pode ser feitos tamb m atrav s da extens o Atual Dica Visualizando uma nica banda do Raster Multibanda Se deseja ver uma nica banda de uma imagem multibanda por exemplo apenas a Vermelha pode se colocar as bandas Verde e Azul como N o definidas mas isto n o a forma correta Para mostrar apenas a banda Vermelha coloque o tipo da imagem como Banda nica Cinza depois selecione o Vermelho como a banda para usar no Cinza Mapa de Cores Esta a op o padr o de representa o
329. linux lang en Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 12 Capitulo 4 Caracteristicas CAP TULO 5 O que h de novo no QGIS 2 2 Por favor note que est uma vers o de uma nova fase do QGIS Assim ele cont m novos recursos e estende a interface program tica do QGIS 2 0 N s recomendamos que se utilize esta vers o do que as anteriores Esta vers o inclui a corre o de centenas de bugs al m de novos recursos e aprimoramentos que ser o descritos neste manual Voc tamb m pode rever a lista de mudan as em http changelog linfiniti com qgis version 21 5 1 5 2 5 3 Aplica o e op es de projeto Suporte para medidas em milhas na ticas Voc agora pode medir dist ncias utilizando milhas na ticas como unidade de medida Para habilit lo use o Configura es Op es Ferramentas de mapa no painel de op es Provedor de arquivos Suporte para relacionamentos Um para muitos Esta vers o suporta a capacidade de definir rela es l n As rela es s o definidas na caixa de di logo propriedades do projeto Uma vez que existem rela es para uma camada um novo elemento de interface em uma janela ex ao identificar uma fei o e abrir um formul rio listar o as entidades relacionadas Isto oferece uma poderosa forma de expressar por inst ncias o hist rico de impress es em um duto ou trecho de rodovia Ferramenta para exportar DXF Uma nov
330. lities described below also with Ct r1 E L3 Save Edits also with Ctr1 S E Unselect all also with Ct r1 U e Move selected to top also with Ctrl T on also wi e Invert selection also with Ctrl R C r Copy selected rows to clipboard also with Ctrl C a 4 F Zoom map to the selected rows also with Ctr1 9 e ob Pan map to the selected rows algo with Ctr1 P fg Delete selected features also with Ctr1 D lp New Column for PostGIS layers and for OGR layers with GDAL version gt 1 6 also with Ct r1 W e gy Delete Column for PostGIS layers and for OGR layers with GDAL version gt 1 9 also with Ctr1 L 12 3 Editando 119 QGIS User Guide Vers o 2 2 Dica Ignorar geometria WKT If you want to use attribute data in external programs such as Excel use the Copy selected rows to clipboard button You can copy the information without vector geometries if you deactivate Settings Options Data sources menu Copy geometry in WKT representation from attribute table Guardar elementos seleccionados como nova camada The selected features can be saved as any OGR supported vector format and also transformed into another coor dinate reference system CRS Just open the right mouse menu of the layer and click on Save selection as gt to define the name of the output file its format and CRS see section Legenda do Mapa It is also possible to specify OGR creation options within the dialog P
331. lts let you specify the default font to use e With Grid appearance you can set the grid style and its color Grid defaults defines spacing offset and tolerance of the grid There are three types of grid Dots Solid lines and Crosses e Guide defaults defines the tolerance for the guides 18 1 4 Separador de Composi o Configura o geral da composi o No separador Composi o pode definir as configura es globais sua composi o You can choose one of the Presets for your paper sheet or enter your custom width and height Composition can now be divided into several pages For instance a first page can show a map canvas and a second page can show the attribute table associated with a layer while a third one shows an HTML frame linking to your organization website Set the Number of pages to the desired value You can choose the page Orientation and its Exported resolution When checked 4 print as raster means all elements will be rasterized before printing or saving as PostScript or PDF Grid lets you customize grid settings like spacings offsets and tolerance to your need In Snap to alignments you can change the Tolerance which is the maximum distance below which an item is snapped to smart guides Snap to grid and or to smart guides can be enabled from the View menu In this menu you can also hide or show the grid and smart guides 224 Cap tulo 18 Compositor de Impress o QGIS User Guide Ver
332. lugins t 7 Layer name Alaska _ Geometry column geometry Type 2 Point Line 2 Polygon MultiPoint Multiline Multipolygon EPSG 4326 WGS 84 Specify CRS Create an autoincrementing primary key New attribute Name area Type Decimal number Js Add to attributes list Attributes list Name Type Name text Remove attribute Hep Cel Figura 12 38 Janela de cria o de uma nova camada SpatialLite 117 QGIS User Guide Vers o 2 2 To define an attribute table for the new SpatiaLite layer add the names of the attribute columns you want to create with the corresponding column type and click on the Add to attribute list button Once you are happy with the attributes click OK QGIS will automatically add the new layer to the legend and you can edit it in the same way as described in section Digitalizar uma camada existente above Further management of SpatiaLite layers can be done with the DB Manager See M dulo Gestor BD Criando uma nova camada GPX To create a new GPX file you need to load the GPS plugin first Plugins fu Plugin Manager opens the Plugin Manager Dialog Activate the A GPS Tools checkbox E When this plugin is loaded choose New Create new GPX Layer from the Layer menu In the Save new GPX file as dialog you can choose where to save the new GPX layer 12 3 7 Trabalhando com a Tabela de Atributos The attribute table displays features of a
333. ly the value of the attribute that you click on e Copy feature attributes Copy only attributes e Clear result Remove results in the window e Clear highlights Remove features highlighted on the map e Destaque todos 85 Identificar fei es sg QGIS User Guide Vers o 2 2 e Destaque a camada Activate layer Choose a layer to be activated Layer properties Open layer properties window Estender tudo e Encolher tudo 8 6 Decoracoes The Decorations of QGIS include the Grid the Copyright Label the North Arrow and the Scale Bar They are used to decorate the map by adding cartographic elements 8 6 1 Grid EH Grid allows you to add a coordinate grid and coordinate annotations to the map canvas amp Enable grid Draw annotation Interval X 100000 ca Interval Y 100000 Grid type Line 1 Distance to map Line symbol o Marker symbol precis on Offset X 0 Update Interval Offset from Offset Y 0 CanvasExtents Active Raster Layer Help Apply Cancel paru Figura 8 6 The Grid Dialog 1 Select from menu View Decorations Grid The dialog starts see figure decorations 1 2 Activate the C Enable grid checkbox and set grid definitions according to the layers loaded in the map canvas 3 Activate the A Draw annotations checkbox and set annotation definitions according to the layers loaded in the map canvas 4 Click Apply to verify that it looks as expected 5 Cli
334. lygons with many nodes can result in very slow rendering This is because the default validation procedures in QGIS can take a lot of time To speed up rendering it is possible to select GEOS geometry validation starting from GEOS 3 3 or to switch it off GEOS geometry validation is much faster but the disadvantage is that only the first geometry problem will be reported Elastico Define a Borracha Espessura da linha e Cor da linha Ajuste E Abrir op es de atrac o na janela principal necess rio reiniciar o QGIS 9 3 Op es 53 QGIS User Guide Vers o 2 2 Define o Modo de atrac o padr o ki Ao v rtice Ao segmento Ao v rtice e segmento Desli gado Define Toler ncia de atrac o pr definida em unidades de mapa ou pixeis Define o Raio de pesquisa para editar v rtices em unidades de mapa ou pixeis Marcadores de V rtices E Mostrar marcadores apenas para elementos seleccionados e Define o v rtice do Estilo do Marcador Cruz padr o Circulo semi transparente ou Nenhum Definir o v rtice Tamanho do Marcador Ferramenta de curva de afastamento The next 3 options refer to the CD ome cuve tool in Digitalizac o Avancada Through the various settings it 1s possible to influence the shape of the line offset These options are possible starting from GEOS 3 3 Join style Quadrant segments e Miter limit 9 3 9 Menu GDAL GDAL is a data exch
335. m Dados Vetoriais QGIS User Guide Vers o 2 2 key If a table lacks these items the oid column will be used instead Performance will be improved if the column is indexed note that primary keys are automatically indexed in PostgreSQL If the PostgreSQL layer is a view the same requirement exists but views do not have primary keys or columns with unique constraints on them You have to define a primary key field has to be integer in the QGIS dialog before you can load the view If a suitable column does not exist in the view QGIS will not load the layer If this occurs the solution is to alter the view so that it does include a suitable column a type of integer and either a primary key or with a unique constraint preferably indexed QGIS offers a checkbox Select at id that is activated by default This option gets the ids without the attributes which is faster in most cases It can make sense to disable this option when you use expensive views 12 1 7 Importa o de dados no PostgreSQL Data can be imported into PostgreSQL PostGIS using several tools including the SPIT plugin and the command line tools shp2pgsql and ogr2ogr DB Manager C QGIS comes with a core plugin named DB Manager t can be used to load shapefiles and other data formats and it includes support for schemas See section M dulo Gestor BD for more information shp2pgsql PostGIS includes an utility called shp2pgsql that can be used to import shapefiles into
336. m formatos propriet rios que podem ser lidos e editados somente por processadores de texto propriet rios SGML ou XML para os quais o DTD e ou ferramentas de 21 2 GNU Licen a de Documenta o Gratuita 299 QGIS User Guide Vers o 2 2 processamento n o s o largamente disponibilizadas e HTML Postscript ou PDF gerados automaticamente com prop sito apenas de sa da por alguns processadores de texto P gina de T tulo significa para um livro impresso a pr pria p gina do t tulo al m das p ginas subseq entes necess rias para conter de forma leg vel o material que esta Licen a requer que apare a na p gina do t tulo Para trabalhos em formatos que n o t m uma p gina de t tulo assim P gina de T tulo significa o texto pr ximo ocorr ncia mais proeminente do t tulo do trabalho precedendo o in cio do corpo do texto O publicador qualquer pessoa ou entidade que distribua c pias do Documento para o p blico Uma se o Intitulada XYZ significa uma sub unidade com nome do Documento cujo t tulo ou precisamente XYZ ou cont m XYZ em par nteses seguindo o texto que traduz XYZ em outra l ngua Aqui XYZ representa o nome de uma se o espec fica mencionado acima tal como Agradecimentos Dedicat ria Apoio ou Hist rico Preservar o T tulo de uma se o assim quando voc modifica o Documento significa que ela continua sendo uma se o Intitulada XYZ
337. ma camada de entrada do tipo pol gono Calcula e produz uma sa da baseada na triangula o de Delaunay como pol gonos de uma camada de pontos vetorial Calcula pol gonos de Voronoi de uma camada de pontos vetoriais Generalizar linhas ou pol gonos com o algoritmo de Douglas Peucker Adensa linhas ou pol gonos atrav s de adi o de v rtices Converter fei es de v rias partes para fei es de partes individuais Cria pol gonos e linhas simples Mesclar v rias fei es para uma nica fei o multipartes baseada em um campo exclusivo de identifica o Converte pol gonos para linhas pol gonos multipartes para v rias linhas de partes nicas Converte linhas para pol gonos linhas multipartes para pol gonos de partes simples Extrair n s de camadas do tipo linhas e pol gonos de forma a resultar camadas de pontos Tabela fTools 4 ferramentas de Geometrias fTools Nota A ferramenta Simplificar geometrias pode ser usada para remover n s duplicados em geometrias de linhas e pol gonos fa a este truque definindo o par metro Toler ncia de generaliza o para 0 19 7 5 Ferramentas de gerenciamento de dados ae n Definir a projecao atual Especificar o SRC para o arquivo shape cujo SRC n o foi definido Unir atributos Unir atributos adicionais a camada vetorial com base na rela o espacial Os por atributos de uma camada vetorial s o anexados tabela de atributos de uma outra localiza
338. mapas na internet QGIS can be used as a WMS WMTS WMS C or WFS and WFS T client and as a WMS WCS or WFS server See section Trabalhando com dados OGC Additionally you can publish your data on the Internet using a webserver with UMN MapsServer or GeoServer installed 4 6 Funcionalidades do QGIS expandida atrav s de m dulos QGIS can be adapted to your special needs with the extensible plugin architecture and libraries that can be used to create plugins You can even create new applications with C or Python 10 Cap tulo 4 Caracter sticas QGIS User Guide Vers o 2 2 4 6 1 M dulos Core Core plugins include 1 Coordinate Capture Capture mouse coordinates in different CRSs Gestor BD Troca edi o e visualizaliza o de camadas e tabelas execu o de consultas SQL Diagram Overlay Place diagrams on vector layers Dxf2Shp Converter Convert DXF files to shapefiles eVIS Visualize events fTools Analyze and manage vector data GDALTools Integra o das Ferramentas GDAL no QGIS Georeferencer GDAL Add projection information to rasters using GDAL GPS Tools Load and import GPS data GRASS Integrate GRASS GIS O COI A tA A WO N I ERG Q O Heatmap Generate raster heatmaps from point data IN NO Interpolation Plugin Interpolate based on vertices of a vector layer pd Oo Offline Editing Allow offline editing and synchronizing with databases AK Oracle GeoRa
339. mente com pelo menos cinco dos autores principais do Docu mento todos seus autores principais se houver menos que cinco a menos que estes Ihe desobriguem desta exig ncia 3 Mencione na P gina de T tulo o nome do editor da Vers o Modificada como seu editor 4 Preserve todas as notas de direitos autorais copyright do Documento 5 Adicione uma nota apropriada de direitos autorais para suas modifica es adjacente s outras notas de direitos autorais 6 Inclua imediatamente ap s as notas de direitos autorais uma nota de licen a dando ao p blico permiss o para usar a Vers o Modificada sob os termos desta Licen a na forma mostrada no Adendo abaixo 7 Preserve naquela nota de licen a a lista completa de Se es Invariantes e Textos de Capa requeridos dados na nota de licen a do Documento 8 Inclua uma c pia inalterada desta Licen a 9 Preserve a se o intitulada Hist rico preserve seu t tulo e adicione a esta um item mencionando pelo menos o t tulo ano novos autores e editor da Vers o Modificada conforme inclu do na P gina de T tulo Se n o houver uma se o intitulada Hist rico no Documento crie uma mencionando o t tulo ano autores e editor do Documento como mostrado na P gina de T tulo em seguida adicione um item descrevendo a Vers o Modificada como mencionado na senten a anterior 10 Preserve o endere o de rede se algum dado no Documento para acesso p blico a uma c pia T
340. mpo URL Ignorar C Ignorar GetMap URI reportado nas capacidades use um URI dado em cima para o GetFeatureInfo campo URL URI Tabela 1 OGC Par metros de Liga o do WMS Se precisar de configurar um servidor proxy para receber servi os WMS da internet pode adicionar o seu servidor proxy nas op es Escolha o menu Configura es Op es e clique no separador Rede amp Proxy De seguida pode adicionar as suas configura es de proxy e activ las configurando o Ed Use o proxy para acesso web Certifique se que seleccionou o tipo proxy correcto da lista de menu Tipo de Proxy y Uma vez a nova liga o do Servidor WMS for criada ser preservada para sess es futuras do QGIS Dica Ligar URLs dos Servidores WMS Certifique se que quando introduzir o URL do servidor WMS seja o URL base Por exemplo n o deve ter fragmentos como request GetCapabilities ou version 1 0 0 no seu URL Carregando as camadas WMS WMTS Uma vez preenchido os par metros com sucesso pode usar o bot o Ligar para responder s capacidades do servidor seleccionado Isto inclui a codifica o da imagem Camadas Estilos de Camadas e Projec es Uma vez que isto uma opera o de rede a velocidade de resposta depende da qualidade da liga o da sua rede ao servidor WMS Enquanto faz a transfer ncia de dados do servidor WMS o progresso da transfer ncia visualizada no canto inferior esquerdo da janela do WMS O seu ecr ir fica
341. n and the corresponding R commands to do so R script files have the extension rsx and creating them is pretty easy if you just have a basic knowledge of R syntax and R scripting They should be stored in the R scripts folder You can set this folder in the R settings group available from the processing settings dialog just like you do with the folder for regular processing scripts Let s have a look at a very simple script file which calls the R method spsample to create a random grid within the boundary of the polygons in a given polygon layer This method belongs to the maptools package Since almost all the algorithms that you might like to incorporate into QGIS will use or generate spatial data knowledge of spatial packages like maptools and especially sp is mandatory polyg vector numpoints number 10 output output vector Sp group pts spsample polyg numpoints type random output SpatialPointsDataFframe pts as data frame pts The first lines which start with a double Python comment sign tell QGIS the inputs of the algorithm de scribed in the file and the outputs that it will generate They work with exactly the same syntax as the SEXTANTE scripts that we have already seen so they will not be described here again Check the processing_scripts section for more information When you declare an input parameter QGIS uses that information for two things creating the user interface to ask the user for the
342. n automatically Help Cancel ok Figura 8 8 Janela de indica o do Norte ra 8 6 4 Barra de Escala Scale Bar adds a simple scale bar to the map canvas You can control the style and placement as well as the labeling of the bar QGIS only supports displaying the scale in the same units as your map frame So if the units of your layers are in meters you can t create a scale bar in feet Likewise if you are using decimal degrees you can t create a scale bar to display distance in meters Para adicionar uma barra de escala 8 6 Decora es 41 QGIS User Guide Vers o 2 2 Scale Bar Decoration Placement Top Right Scale bar style Tick Down Color of bar Lo Size of bar 30 Feet miles _ Enable scale bar amp Automatically snap to round number on resize Help Cancel OK Figura 8 9 A janela da barra de escala rs 1 Select from menu View Decorations Scale Bar The dialog starts see figure_decorations_4 2 Choose the placement from the Placement 1 combo box 3 Choose the style from the Scale bar style IT combo box 4 Select the color for the bar Color of bar Border color O Echange y use the default black color 5 Set the size of the bar and its label Size of bar 1 90 4 6 Make sure the E Enable scale bar checkbox is checked 7 Optionally check Ed Automatically snap to round number on resize 8 Click OK Dica Configura es de Decora e
343. n crossing the 180 longitude line Figura 12 6 Crossing 180 longitude applying the ST_Shift_Longitude function Uso e Import data into PostGIS Importa o de dados no PostgreSQL using for example the DB Manager plugin e Use the PostGIS command line interface to issue the following command in this example TABLE is the actual name of your PostGIS table gis data 4 update TABLE set the geom ST Shift Longitude the_geom If everything went well you should receive a confirmation about the number of features that were updated Then you ll be able to load the map and see the difference Figure vector 5 12 1 9 Camadas SpatiaLite fe The first time you load data from a SpatiaLite database begin by clicking on the Le Add SpatiaLite Layer toolbar button or by selecting the Le Add SpatiaLite Layer option from the Layer menu or by typing Ctrl Shift L This will bring up a window that will allow you either to connect to a SpatiaLite database already known to QGIS which you can choose from the drop down menu or to define a new connection to a new database To define a new connection click on New and use the file browser to point to your SpatiaLite database which is a file with a sqlite extension If you want to save a vector layer to SpatiaLite format you can do this by right clicking the layer in the legend Then click on Save as define the name of the output file and select SpatiaLite as format and th
344. n in the map tem Properties tab see figure composer 2 Grelha The Grid dialog of the map Item Properties tab provides the following functionalities see Figure composer 6 e The 4 Show grid checkbox allows you to overlay a grid onto the map element As grid type you can 228 specify to use a solid line or cross Symbology of the grid can be chosen See section Rendering Mode Furthermore you can define an interval in the X and Y directions an X and Y offset and the width used for the cross or line grid type You can choose to paint the frame with a zebra style If not selected the general frame option is used see section Frame dialog Advanced rendering mode 1s also available for grids see section Rendering mode The Ed Draw coordinates checkbox allows you to add coordinates to the map frame The annotation can be drawn inside or outside the map frame The annotation direction can be defined as horizontal vertical horizontal and vertical or boundary direction for each border individually Units can be in meters or in degrees Finally you can define the grid color the annotation font the annotation distance from the map frame and the precision of the drawn coordinates Capitulo 18 Compositor de Impressao QGIS User Guide Vers o 2 2 show grid Grid type Solid Interval X 0 00000 Y 0 00000 Offset X 0 00000 Y 0 00000 Cross width 3 00000 Frame style No frame Frame width
345. n later be transformed by QGIS automatically As in the case of input layers if this conversion is needed that might increase the processing time If the extension of the filename specified when calling an algorithm does not match the extension of any of the formats supported by QGIS then a suffix will be added to set a default format In the case of raster layers the tif extension is used while shp is used for vector layers 17 7 3 Uma nota para as seleccoes da camada vectorial External applications may also be made aware of the selections that exist in vector layers within QGIS However that requires rewriting all input vector layers just as if they were originally in a format not supported by the external application Only when no selection exists or the Use only selected features option is not enabled in the processing general configuration can a layer be directly passed to an external application Noutros casos exportando apenas os elementos seleccionados necess rio o que em alguns casos os tempos de execu o ser o mais longos SAGA SAGA algorithms can be run from QGIS if you have SAGA installed in your system and you configure the pro cessing framework properly so it can find SAGA executables In particular the SAGA command line executable is needed to run SAGA algorithms If you are running Windows both the stand alone installer and the OSGeo4W installer include SAGA along with QGIS and the path is automatically
346. nas Seleccione o valor correcto no campo Contagem 1 00 gt Equal column widths sets how legend columns should be adjusted e The 4 Split layers option allows a categorized or a graduated layer legend to be divided between columns You can change the width and height of the legend symbol in this dialog e Spacing aroung title group subgroup symbol icon label box space or column space can be customized through this dialog 18 3 5 Adding a Scale Bar item to the Print Composer To add a scale bar click the amp 3 Add new scalebar icon place the element with the left mouse button on the Print Composer canvas and position and customize the appearance in the scale bar tem Properties tab The Item properties of a scale bar item tab provides the following functionalities see figure composer 17 Main properties Units Segments Display Fonts and colors Position and size _ Frame amp Background Item ID T FY F0 F0 F F F F F F Rendering Figura 18 17 Scale Bar Item properties Tab rs Propriedades principais The Main properties dialog of the scale bar Item Properties tab provides the following functionalities see fig ure_composer_18 w Main properties Map map 0 4 Style Line Ticks Up ak Figura 18 18 Scale Bar Main properties Dialog First choose the map the scale bar will be attached to Then choose the style of the scale bar Six styles are available Single box and Doubl
347. native and third party algorithms from QGIS making your spatial analysis tasks more productive and easy to accomplish In the following sections we will review how to use the graphical elements of this framework and make the most out of each one of them There are four basic elements in the framework GUI which are used to run algorithms for different purposes Choosing one tool or another will depend on the kind of analysis that is to be performed and the particular characteristics of each user and project All of them except for the batch processing interface which is called from the toolbox as we will see can be accessed from the Processing menu item You will see more than four entries The remaining ones are not used to execute algorithms and will be explained later in this chapter A caixa de ferramentas O elemento principal do GUI usado para executar um algoritmo nico ou correr um processo batch baseado nesse algoritmo Processing Toolbox x ki Recently i used algorithms Watershed from DEM and threshold ps i Convergence index ioe oS Polygon centroids an oS raspect Generates raster maps of aspect from a elevation Pe EE v voronoi Creates a Voronoi diagram from an input vector I d o Cartographic to geographic coordinates conversion Geoalgorithms J ie Domain specific 68 images E TH Raster E Raster vector Bb dk vector E alt Models El E Scripts EF Tools H Example scri
348. nd and imagerelpath variables must be changed to fit our needs But what about if the relative path needs to be relative to the saved project file The code of the Python action would be command firefox 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 data driven filename and layername are column names of the table of attributes of the vector where the action was created qgis utils iface addVectorLayer yourpath filename shp layername ogg To add a raster a TIF image in this example it becomes qgis utils iface addRasterLayer yourpath filename tif layername d 12 2 8 Joins Menu L 0 i The Joins menu allows you to join a loaded attribute table to a loaded vector layer After clicking the Add vector join dialog appears As key columns you have to define a join layer you want to connect with the target vector layer Then you have to specify the join field t
349. nding object To turn them into a QGIS object you can use the processing getObjectFromUri function Multiple inputs also have a string value which contains the file paths to all selected object separated by semicolons Os ficheiros de sa da s o definidos numa maneira semelhante usando as seguintes etiquetas raster de sa da e vector de sa da e tabela de sa da e html de sa da e ficheiro de sa da e numero de sa da cadeia de texto de sa da The value assigned to the output variables is always a string with a file path It will correspond to a temporary file path in case the user has not entered any output filename When you declare an output the algorithm will try to add it to QGIS once it is finished That is why although the runalg method does not load the layers it produces the final TWI layer will be loaded using the case of our previous example since it is saved to the file entered by the user which is the value of the corresponding output Do not use the load method in your script algorithms just when working with the console line If a layer is created as output of an algorithm it should be declared as such Otherwise you will not be able to properly use the algorithm in the modeler since its syntax as defined by the tags explained above will not match what the algorithm really creates Hidden outputs numbers and strings do not have a value Instead you have to assign a value to them To do so ju
350. nds on Oracle s database product being installed and working on your machine While Oracle is proprietary software they provide their software free for development and testing purposes Here is one simple example of how to load raster images to GeoRaster S gdal_translate of georaster input file tif geor scott tiger orcl Isto ira carregar o raster para a tabela padr o GDAL IMPORT table como coluna designada de RASTER 19 12 1 Gerindo liga es Firstly the Oracle GeoRaster Plugin must be enabled using the Plugin Manager see O menu de complementos The first time you load a GeoRaster in QGIS you must create a connection to the Oracle database that contains the data To do this begin by clicking on the a Add Oracle GeoRaster Layer toolbar button this will open the Select Oracle Spatial GeoRaster dialog window Click on New to open the dialog window and specify the connection parameters See Figure_oracle_raster_1 Name Enter a name for the database connection Database instance Enter the name of the database that you will connect to Username Specify your own username that you will use to access the database Password Provide the password associated with your username that is required to access the database C Create Oracle Connection v x Name example Database instance orcl Username scott Password asas wv Save Password Figura 19 21 Janela de Cria o de Liga o Oracle Agora
351. ne um elemento na parte superior e escreva a descri o na caixa de texto em baixo A ajuda do Modelo guardada num ficheiro na mesma pasta ao p do seu respectivo modelo N o tem de ser preocupar como guard lo uma vez ser feito automaticamente 17 3 7 Sobre os algoritmos dispon veis Poder notar que alguns algoritmos podem ser executados a partir da caixa de ferramentas mas n o aparecem na lista de algoritmos dispon veis quando est a desenhar o modelo Para ser inclu do no modelo o algoritmo deve ter uma sem ntica correcta assim como liga es apropriadas a outros fluxos de trabalho Se um algoritmo n o tiver uma boa sem ntica bem definida por exemplo se o n mero de camadas de sa da n o s o conhecidas portanto n o poss vel us lo dentro do modelo e n o aparece na lista na janela do di logo do modelador Adicionalmente ira ver algoritmos no modelador que n o se encontram na caixa de ferramentas Esses algoritmos s o para ser usados exclusivamente como parte do modelo e eles n o t m interesse noutro contexto diferente O algoritmo Calculadora um exemplo disso apenas uma simples calculadora aritm tica que pode usar para modificar valores num ricos introduzidos pelo utilizador ou gerados por outro tipo de algoritmo Estas ferramentas s o realmente teis dentro do modelo mas fora do contexto n o fazem sentido 17 3 8 Guardando os modelos como c digo Python Dado um modelo poss vel au
352. ne vector layer in any QGIS supported format Two lines with a common point are considered connected Please note it is required to use layer CRS as project CRS while editing a roads layer This 1s due to the fact that recalculation of the coordinates between different CRSs introduces some errors that can result in discontinuities even when snapping is used In the layer attribute table the following fields can be used e Speed on road section numeric field Direction any type that can be cast to string Forward and reverse directions correspond to a one way road both directions indicate a two way road If some fields don t have any value or do not exist default values are used You can change defaults and some plugin settings in the plugin settings dialog 19 15 1 Usando o modulo After plugin activation you will see an additional panel on the left side of the mam QGIS window Now en ter some parameters into the Road graph plugin settings dialog in the Vector Road Graph menu see fig ure road graph 2 After setting the Time unit Distance unit and Topology tolerance you can choose the vector layer in the Trans portation layer tab Here you can also choose the Direction field and Speed field In the Default settings tab you can set the Direction for the calculation Finally in the Shortest Path panel select a Start and a Stop point in the road network layer and click on Calcu late 284 Capitulo 19 Compleme
353. negative values black is displayed Renderers The renderer is responsible for drawing a feature together with the correct symbol There are four types of renderers single symbol categorized graduated and rule based There is no continuous color renderer because it is in fact only a special case of the graduated renderer The categorized and graduated renderers can be created by 12 2 Janela de Propriedades de Vetor 81 QGIS User Guide Vers o 2 2 specifying a symbol and a color ramp they will set the colors for symbols appropriately For point layers there is a point displacement renderer available For each data type points lines and polygons vector symbol layer types are available Depending on the chosen renderer the Style menu provides different additional sections On the bottom right of the symbology dialog there is a Symbol button which gives access to the Style Manager see section vector style manager The Style Manager allows you to edit and remove existing symbols and add new ones Dica Sele o e mudan a de simbolos multiplos The Symbology allows you to select multiple symbols and right click to change color transparency size or width of selected entries Renderizando Simbolo Individual The Single Symbol Renderer 1s used to render all features of the layer using a single user defined symbol The properties which can be adjusted in the Style menu depend partially on the type of layer but all types shar
354. nela Op es selecionando a 4 Activar reprojec o din mica por omiss o ou Automaticamente activar a reprojec o din mica se temas t m difer entes SC Se tem j carregado um tema e quer activar a projec o din mica a melhor pr tica abrir o separador SC na janela Propriedades do Projecto selecionar um SC e activar a caixa de selec o Ed Activar transforma o din mica de a SC O cone Q Estado SC deixar de estar desactivado cinzento e todos os temas ser o dinamicamente reprojec tados para o SC mostrado junto ao cone O separador SC na janela Propriedades do Projecto contem cinco componentes importantes como mostrado na Figure projections 2 e descritos abaixo 1 Acivar transform o din mica de SC Esta caixa de selec o usada para activar ou desactivar a projec o din mica Quando desligada cada tema desenhado usando as coordenadas lidas dos seus da dos e os componentes descritos abaixo est o inactivos Quando ligada as coordenadas de cada tema s o projectadas para o sistema de coordenadas definido para o mapa 2 Filtro Se conhece o c digo EPSG o identificador ou o nome para um sistema de coordenadas pode usar a fun o de pesquisa para o encontrar Introduza o c digo EPSG o identificador ou o nome 3 Sistemas de coordenadas usados recentemente Se tem certos SCs que usa frequentemente no seu trabalho SIG di rio estes ser o mostrados nesta lista Clique num deste
355. ng representation of a color based on its hue saturation lightness and alpha transparency attributes color hsv returns a string representation of a color based on its hue saturation and value attributes Color hsva returns a string representation of a color based on its hue saturat on value and alpha transparency attributes color_cmyk returns a string representation of a color based on its cyan magenta yellow and black components color cmyka returns a string representation of a color based on its cyan magenta yellow black and alpha transparency components Fun es de Geometria Este grupo cont m fun es que operam na geometria de objectos ex comprimento e rea 128 Cap tulo 12 Trabalhando com Dados Vetoriais xat yat Sarea Slength Sperimeter S3 Sy Sgeometry geomt romwkKT geomF romGML bbox drsJgount intersects touches crosses contains overlaps within buffer centroid convexHull difference distance intersection symDifference combine union geomToWKT Fun es de Registo QGIS User Guide Vers o 2 2 retrieves an x coordinate of the current feature retrieves a y coordinate of the current feature returns the area size of the current feature returns the length size of the current feature returns the perimeter length of the current feature returns the x coordinate of the current feature returns the y coordinate of the current feature returns the geometry of the curre
356. ng with the Alaska dataset we define the snapping units in feet Your results may vary but something on the order of 300 ft at a scale of 1 10000 should be a reasonable setting 2 A layer based snapping tolerance can be defined by choosing Settings or File gt Snapping options to enable and adjust snapping mode and tolerance on a layer basis see figure_edit_1 Note that this layer based snapping overrides the global snapping option set in the Digitizing tab So if you need to edit one layer and snap its vertices to another layer then enable snapping only on the snap to layer then decrease the global snapping tolerance to a smaller value Furthermore snapping will never occur to a layer that is not checked in the snapping options dialog regardless of the global snapping tolerance So be sure to mark the checkbox for those layers that you need to snap to Raio de pesquisa Search radius is the distance QGIS uses to search for the closest vertex you are trying to move when you click on the map If you aren t within the search radius QGIS won t find and select any vertex for editing and it will pop up an annoying warning to that effect Snap tolerance and search radius are set in map units or pixels so you may find you need to experiment to get them set right If you specify too big of a tolerance QGIS may snap to the wrong vertex especially if you are dealing with a large number of vertices in close proximity Set search radius t
357. ns poucos valores com dados muito altos e baixos Esses valores discrepantes ou outliers podem ser eliminados usando o bot o guilabel Corte na Contagem acumulativa para definir a elimina o A amplitude padr o est fixada entre 2 a 98 dos valores dos dados e pode ser modificada manualmente Com esta defini o os valores cinzas na imagem podem desaparecer Com a op o de escala M n m x QGIS cria uma tabela de cores com todos os dados inclu dos na imagem original por exemplo QGIS cria uma tabela de cores com 256 valores dado o fato de tersetemos uma imagem com banda de 8 bit Pode se calcular tamb m uma tabela de cores usado o bot o M dia x desvio padr o 1 l Assim s o considerados para a tabela de cores apenas os valores dentro do desvio padr o ou dentro de v rios desvios padr o Representa o das cores Em cada Representa o da banda poss vel encontrar uma Representa o da cor Podem se fazer efeitos especias de representa o para seus arquivo s raster usando um dos modos de combina o veja Janela de Propriedades de Vetor Defini es adicionais podem ser estabelecidas modificanco em Brilho Satura o e Contraste Pode usar tamb m a op o Escala de cinzas onde pode escolher entre Por claridade Por luminosidade e Por m dia Por um determinado matiz na tabela de cores voc pode modificar a For a Reamostragem A op o Reamostragem faz a
358. nsole output 10 2013 13 07 29 SAGA execution commands E Thu Oct 10 2013 13 07 46 processing runalg grass v voronoi C Users Wolaya qgis2 python plugins proces 2 E Thu Oct 10 2013 13 07 29 processing runalg saga palygoncentraids C Users Volaya qgis2 python plugins Hl ERROR C serslVolayalDesktop saga cmd shapes polygons Polygon Centroids POLYGONS C Wsers Wolaya qais2 python plugins processing tests data polygons shp CENTROIDS C Wsers Wolaya AppData Local Temp processing 6e 2533669644496 5b442c5ec 1cdaf6 5 1VCENTROIDS shp Frere FF Sagas FF FFF FFF Fe FFF fff 5225 Frere Ss zzz FERFE FS SPSS HHRHH F FF Fees FF c saga 1 modules shapes_polygons dll library name Shapes Polygons module name Polygon Centroids author c 2003 by O Conrad Figura 17 3 Hist rico do Processamento 7 Batch Processing Gaussian Filter Fr n Figura 17 4 Interface de Processamento Batch 7 17 2 A caixa de ferramentas 189 QGIS User Guide Vers o 2 2 Processing Toolbox El Recently used algorithms 89 Watershed from DEM and threshold age Convergence index m8 Polygon centroids TH raspect Generates raster maps of aspect from a elevation v voronoi Creates a Voronoi diagram from an input vector Er Cartographic to geographic coordinates conversion E e Geoalgorithms E amp Domain specific E 9 Images E iD Raster v
359. nt and line layers As with point and line layers you can create a text buffer in the Buffer menu Use the Background menu to create a complex user defined background for the polygon layer You can use the menu also as with the point and line layers The entries in the Shadow menu are the same as for point and line layers In the Placement menu you find special settings for polygon layers see Figure labels 3 Offset from centroid s Horizontal slow Around centroid Free and Using perimeter are possible In the 5 Offset from centroid settings you can specify if the centroid is of the visible polygon or whole polygon That means that either the centroid is used for the polygon you can see on the map or the centroid is determined for the whole polygon no matter if you can see the whole feature on the map You can place your label with the quadrants here and define offset and rotation The Around centroid setting makes it possible to place the label around the centroid with a certain distance Again you can define visible polygon or whole polygon for the centroid With the Using perimeter settings you can define a position and a distance for the label For the position A Above line On line E Below line and A Line orientation dependent position are possible The entries in the Rendering menu are the same as for line layers You can also use Suppress labeling of features smaller than in the Feature opt
360. nt feature can be used for processing with other functions returns a geometry created from a well known text WKT representation returns a geometry from a GML representation of geometry returns 1 if the geometries do not share any space together returns 1 if the geometries spatially intersect share any portion of space and O0 if they don t returns 1 if the geometries have at least one point in common but their interiors do not intersect returns 1 if the supplied geometries have some but not all interior points in common returns true if and only if no points of b lie in the exterior of a and at least one point of the interior of b lies in the interior of a returns 1 if the geometries share space are of the same dimension but are not completely contained by each other returns 1 if geometry a is completely inside geometry b returns a geometry that represents all points whose distance from this geometry is less than or equal to distance returns the geometric center of a geometry returns the convex hull of a geometry this represents the minimum convex geometry that encloses all geometries within the set returns a geometry that represents that part of geometry a that does not intersect with geometry b returns the minimum distance based on spatial ref between two geometries in projected units returns a geometry that represents the shared portion of geometry a and geometry b returns a geometry that represents the portions
361. nta de Geoprocessamento ver Complemento flools ver Complemento fTools Igeometry Ferramenta de Geometria gt Ferramenta de Gerenciamento de ver Complemento flools Dados O come o do QGIS pela primeira vez n o carrega todos os m dulos core 7 1 9 Matricial Op o de menu Atalho Barra de Ferramentas Calculadora raster oO ver Calculadora Matricial Po O come o do QGIS pela primeira vez n o carrega todos os m dulos core 7 1 Barra de Menu 29 QGIS User Guide Vers o 2 2 7 1 10 Processamento Op o de menu Atalho Refer ncia Barra de Ferramentas RE caixa de veja 4 caixa de ferramentas Ferramentas Modelador Gr fico veja O modelador gr fico Historia e log veja Gest o do hist rico Opes e veja Configurando a infraestrutura do configura es processamento i Visualizador de veja Configurando as aplica es externas resultados Comandos Ctrl Alt Mveja Linha de Comandos SEXTANTE O come o do QGIS pela primeira vez n o carrega todos os m dulos core 7 1 11 Ajuda Op o de menu Atalho Barra de Ferramentas 9 Conte do da Ajuda F1 Ajuda k O que isto Shift F1 Ajuda Documenta o API Precisa de suporte comercial Q P gina do QGIS Ctrl H v Verificar a vers o do QGIS g Sobre E Patrocinadores Por favor note que para Linux os itens do menu de barras listados acima s o os padr es da janela gerenciadora do KDE No GNOME o menu Configura es tem um conte
362. nto O valor de O m nimo indica que a densidade ir ser concentrada no centro do raio dado e ser extinto no borda 280 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 O valor de 0 5 inca que esses pixeis da borda do raio ser o atribu dos metade da densidade dos pixeis que est o no raio do centro de pesquisa O valor de 1 refere que a densidade espalha se por todo o raio do circulo de pesquisa Isto equiva lente ao kernel Uniforme Um valor maior que indica que a densidade mais alta para a borda do raio de pesquisa e em seguida no centro A camada de pontos de entrada pode ter tamb m campos de atributos que podem afectar como influencia o mapa de densidade Usar o raio a partir do campo define o raio de pesquisa para cada elemento da camada de entrada Usar o peso a partir do campo permite a introdu o de elementos para ser pesado por um campo de atributo Isto pode ser usado para aumentar a influ ncia de certos elementos existente no resultado de mapa de densidade Quando o nome do ficheiro matricial de sa da especificado o bot o OK pode ser usado para criar o mapa de densidade 19 14 3 Tutorial Criando um Mapa de Densidade Para o seguinte exemplo n s iremos usar a camada de pontos vectorial airports do conjunto de dados amostra do QGIS veja Amostra de Dados Outro excelente tutorial QGIS de produzir mapas de densidade podem ser encontrados em http qgis spatial
363. nto four tabs Appearance Size Postion and Options In the cases of the text diagram and pie chart text values of different data columns are displayed one below the other with a circle or a box and dividers In the Size tab diagram size is based on a fixed size or on linear scaling according to a classification attribute The placement of the diagrams which is done in the Position tab interacts with the new labeling so position conflicts between diagrams and labels are detected and solved In addition chart positions can be fixed manually We will demonstrate an example and overlay on the Alaska boundary layer a text diagram showing temperature data from a climate vector layer Both vector layers are part of the QGIS sample dataset see section Amostra de Dados 104 First click on the 6 Load Vector icon browse to the QGIS sample dataset folder and load the two vector shape layers alaska shp and climate shp D um clique duplo na camada clima na legenda do mapa para abrir a aba de di logo Propriedades da camada Click on the Diagrams menu activate E Display diagrams and from the Diagram type combo box select Text diagram In the Appearance tab we choose a light blue as background color and in the Size tab we set a fixed size to 18 mm In the Position tab placement could be set to Around Point In the diagram we want to display the values of the three columns T F JAN T F JULand T F MEAN Fi
364. nto que o PNG reprodu o fielmente os dados brutos do matricial Use JPEG se espera dados WMS para fotografia na natureza e ou n o se importa da perda de alguma qualidade na imagem Este t pico trade off reduz em 5 vezes o requerimento de transfer ncia comparado ao PNG Use o PNG se necessitar representa es precisas dos dados originais e n o se importa dos requerimentos de transfer ncia de dados Op es O campo Op es fornece um campo de texto onde pode adicionar Nome da Camada para a camada WMS Este nome ir ser apresentado na legenda ap s carregamento da camada Em baixo do nome da camada pode definir Tamanho do mosaico se quiser configurar os tamanhos do mosaico ex 256x256 para dividir o pedido do WMS em pedidos m ltiplos O Limite de elementos para GetFeatureInfo define quais os elementos do servidor para consulta Se seleccionou um WMS da lista um capo com a projec o padr o fornecida pelo mapserver aparece Se o bot o Change est activo pode clicar e mudar para a projec o padr o do WMS para outro SRC fornecido pelo Servidor WMS Ordem das Camadas O separador Ordem de Camada tem uma lista das camadas seleccionadas dispon veis do WMS actual ligado Poder reparar que algumas camadas expans veis isto significa que a camada pode ser exibida na escolha dos estilos de imagem Pode seleccionar v rias camadas de uma s vez mas apenas um estilo de imagem por camada Quando v rias camadas
365. ntos QGIS User Guide Vers o 2 2 Road graph plugin settings Time unit hour Distance unit kilometer A Topology tolerance 0 00000 Transportation layer Default settings Layer trails A Direction Field Always use default Value for Forward direction Value for reverse direction Value two way direction Speed field Always use default km h Figura 19 29 Configura es do m dulo de C lculo de Rotas rs Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 16 Complemento de Consulta Espacial O complemento complemento de Consulta Espacial permite que fa a consultas espaciais ex selecionar elementos numa camada alvo com refer ncia a outra camada A funcionalidade baseada na biblioteca GEOS e depende de uma camada fonte de elementos selecionada Opera es poss veis Cont m Igual e Sobrep e Cruza ntersecta Disjunto e Toca e Dentro 19 16 1 Usando complemento Como exemplo n s queremos encontrar as regi es no conjunto de dados do Alaska que cont m os aeroportos Os seguintes passos s o necess rios 1 Iniciar QGIS e carregar as camadas de vetoriais file regions shp e file airports shp 2 Carregue o complemento Consulta Espacial no Gerenciador de Complementos ver O menu de comple Va l mentos e clique no cone Consulta Espacial que aparece no menu de ferramentas do QGIS A janela do complemento apar
366. ntrado na barra de ferramentas do Raster e no menu Raster Mapas de Densidade Seleccione o menu Ver Barra de Ferramentas Matricial para exibir a Barra de Ferramentas Matricial se n o estiver v sivel 19 14 2 Usando o m dulo de Mapa de Densidade Ao clicar no bot o da ferramenta lhetmapl Mapas de Densidade abre a janela do m dulo Mapas de Densidade veja figure heatmap 2 A janela tem as seguintes op es Camada de entrada de pontos Apresenta todas as camadas de pontos vectoriais no projecto actual e usado para seleccionar a camada que vai ser analisada e Ficheiro raster de sa da Usa o bot o para seleccionar a pasta e o nome do ficheiro para o raster de sa da que o m dulo de mapas de densidade vai gerar A extens o do ficheiro n o requerida Formato de Sa da selecciona o formato de sa da Embora todos os formatos suportados pelo o GDAL poderem ser escolhidos na maioria dos casos o GeoTIFF o melhor formato de escolha Raio usado para especificar o raio de pesquisa ou largura do kernel do mapa de densidade em metros ou em unidades de mapa O raio especifica a dist ncia em torno de um ponto no qual se far sentir a influ ncia do ponto Os valores altos resultam em maior suaviza o mas valores pequenos podem mostrar detalhes finos e a varia o da densidade de pontos Quando a caixa de verifica o A Advancada activada op es adicionais ser o disponibilizadas Linhas e
367. nvertido num novo algoritmo que pode mais tarde chamar da caixa de ferramentas o modelador gr fico ou qualquer outro componente como faz para outro algoritmo De facto alguns algoritmos que encontra na caixa de ferramentas s o scripts simples In this section we will see how to use processing algorithms from the QGIS Python console and also how to write algorithms using Python 17 5 1 Chamando os algoritmos a partir da consola Python A primeira coisa que tem de fazer importar as fun es do processamento com a seguinte linha gt gt gt import processing Now there is basically just one interesting thing you can do with that from the console execute an algorithm That is done using the runalg method which takes the name of the algorithm to execute as its first parameter and then a variable number of additional parameters depending on the requirements of the algorithm So the first thing you need to know is the name of the algorithm to execute That is not the name you see in the toolbox but rather a unique command line name To find the right name for your algorithm you can use the algslist method Type the following line in your console gt gt gt processing alglist Ir ver algo como isto Acoumulated Cost AnSOLPODIGO saga accumulatedcost anisotropic AccuUmu lated Cost ISOLPFODIO saga accumulatedcost
368. o Ajuda e Suporte para mais informa o sobre as listas de discuss es Dica Encontrando Servidores WFS Pode encontrar servidores WFS adicionais usando o Google ou outro motor de busca favorito Existe um n mero de listas com URLs p blicos alguns t m manuten o outros n o Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 14 2 QGIS com Servidor de Dados OGC QGIS Server is an open source WMS 1 3 WFS 1 0 0 and WCS 1 1 1 1 implementation that in addition im plements advanced cartographic features for thematic mapping The QGIS Server is a FastCGI CGI Common Gateway Interface application written in C that works together with a web server e g Apache Lighttpd It is funded by the EU projects Orchestra Sany and the city of Uster in Switzerland QGIS Server uses QGIS as back end for the GIS logic and for map rendering Furthermore the Qt library is used for graphics and for platform independent C programming In contrast to other WMS software the QGIS Server uses cartographic rules as a configuration language both for the server configuration and for the user defined cartographic rules 152 Cap tulo 14 Trabalhando com dados OGC QGIS User Guide Vers o 2 2 Moreover the QGIS Server project provides the Publish to Web plugin a plugin for QGIS desktop that exports the current layers and symbology as a web project for QGIS Server containing cartographic visualization rule
369. o ato f sico de transferir uma c pia e pode opcionalmente oferecer garantia em troca de pagamento 2 Voc pode modificar sua c pia ou c pias do Programa ou qualquer parte dele assim gerando um trabalho baseado no Programa e copiar e distribuir essas modifica es ou trabalhos sob os termos da se o 1 acima desde que voc tamb m se enquadre em todas estas condi es a Voc tem que fazer com que os arquivos modificados levem avisos proeminentes afirmando que voc alterou os arquivos incluindo a data de qualquer altera o b Voc tem que fazer com que quaisquer trabalhos que voc distribua ou publique e que integralmente ou em partes contenham ou sejam derivados do Programa ou de suas partes sejam licenciados inte gralmente e sem custo algum para quaisquer terceirose sob os termos desta Licn a c Se qualquer programa modificado normalmente l comandos interativamente quando executados voc tem que fazer com que quando iniciado tal uso interativo da forma mais simples seja impresso ou mostrado um an ncio de que n o h qualquer garantia ou ent o que voc fornece a garantia e que os usu rios podem redistribuir o programa sob estas condi es ainda informando os usu rios como consultar uma c pia desta Licen a Exce o se o Programa em si interativo mas normalmente n o imprime estes tipos de an ncios seu trabalho baseado no Programa n o precisa imprimir um an ncio Estas exig ncias aplicam
370. o guardado com uma vers o antiga do qgl Enable macros This option was created to handle macros that are written to perform an action on project events You can choose between Never Ask For this session only and Always not recom mended 9 3 Op es 49 QGIS User Guide Vers o 2 2 9 3 2 Menu Sistema Ambiente System environment variables can now be viewed and many configured in the Environment group see fig ure environment variables This 1s useful for platforms such as Mac where a GUI application does not nec essarily inherit the user s shell environment It s also useful for setting and viewing environment variables for the external tool sets controlled by the Processing toolbox e g SAGA GRASS and for turning on debugging output for specific sections of the source code E Use custom variables restart required include separators You can Add and Remove variables Already defined environment variables are displayed in Current environment variables and it s possible to filter them by activating C Show only QGIS specific variables Options System b SVG paths 3 System b Plugin paths E Data Sources UEM amp Use custom variables restart required include separators Add Remove Rendering nooo Eae E Apply Variable l Malue E Legend Overwrite QGIS LOG FILE Users larry QGIS github com qgis log Map Tools If Undefined QGIS D
371. o it yourself after running the algorithm To do so you can use QGIS API commands or even easier use one of the handy methods provided for such tasks The runalg method returns a dictionary with the output names the ones shown in the algorithm description as keys and the file paths of those outputs as values You can load those layers by passing the corresponding file paths to the Load method 17 5 2 Fun es adicionais para a manipula o dos dados Al m das fun es usadas para chamar os algoritmos importar o pacote processamento ir tamb m importar algumas fun es adicionais que facilitar o trabalho dos dados particularmente os dados vectoriais Estas fun es de conveni ncia que envolvem alguma funcionalidade a partir da API do QGIS usualmente com uma sintaxe menos complexa Estas fun es devem ser usadas quando s o programados novos algoritmos para tornar mais f cil a opera o com o os dados de entrada Below is a list of some of these commands More information can be found in the classes under the processing tools package and also in the example scripts provided with QGIS 208 Cap tulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 e getobject obj Retorna um objectolggl uma camada ou tabela a partir de um objecto que passou que pode ser um nome de ficheiro ou o nome do objecto na Tabela de Conte dos do QGIS values layer fields Returns the values in the attributes table of
372. o que encontrado no painel de execu o que exibido aquando da execu o do algoritmo a partir da caixa de ferramentas O algoritmo que exibido corresponde ao algoritmo SAGA Convergence index o mesmo que viu na sec o dedicada na caixa de ferramentas 4 Convergence index x Parameters Help Elevation DEM Method 0 Aspect M Gradient Calculation 0 2x 2 Convergence Index OutputRaster gt te joe a hnal res Enter name Parent algorithms 0 elements selected Figura 17 20 Par metros do Modelo Como pode ver existem algumas diferen as Em vez da caixa de sa da do ficheiro ser usada para configurar o caminho do ficheiro para as camadas e tabelas de sa da usado apenas uma caixa de texto simples Se a camada gerada pelo algoritmo apenas um resultado tempor rio este ser usado como o ficheiro de entrada de outro algoritmo e n o ser mantido como resultado final mas n o edite essa caixa de texto Introduzindo alguma coisa nela significa que o resultado final e o texto que forneceu ser a descri o para o ficheiro de sa da que ser aquele que o utilizador ira ver quando executar o modelo A selec o do valor para cada par metro tamb m um pouco diferente uma vez que existem diferen as impor tantes entre o contexto do modelador e a caixa de ferramentas Vamos ver como introduzido os valores para cada tipo de par metro e Camadas raster e vector e
373. o see more detail If the entire image cannot be displayed in the display window scroll bars will appear on the left and bottom sides of the window to allow you to pan around the image 3 Zoom out button Zoom out to see more area 4 Zoom to full extent button Displays the full extent of the photograph 5 Attribute information window All of the attribute information for the point associated with the photo graph being viewed is displayed here If the file type being referenced in the displayed record is not an image but is of a file type defined in the Configure External Applications tab then when you double click on the value of the field containing the path to the file the application to open the file will be launched to 19 6 Complemento eVis 255 QGIS User Guide Vers o 2 2 view or hear the contents of the file If the file extension is recognized the attribute data will be displayed in green 6 Navigation buttons Use the Previous and Next buttons to load the previous or next feature when more than one feature is selected Entendendo a janela Opcoes Event Browser Displaying records 03 of 76 Display Options Configure External Applications File path Attribute containing path to file image 7 A O C Path is relative _ Remember this Z Reset Compass bearing Attribute containing compass bearing O Display compass bearing Remember this X Reset Compass offset Manual O From At
374. obre as Capacidades do WMS e WFS a extens o e as restri es SRC do Servidor QGIS O menu Macros para editar macros Python para os projectos Actualmente apenas est o dispon veis tr s macros openProject saveProject ecloseProject Project Properties Macros Me General amp Python macros from qgis utils import iface CRS from qgis gui import QgsMessageBar EM identify layers def openProject msgbar iface messageBar Default styles msgbar PushMessage WARNING project contains sensitive data Do not publish W ows server QgsMessageBar WARNING 10 E Macros def saveProject pass E Re lations def closeProject pass Help Apply Cancel OK Figura 9 2 Configura es de Macro no QGIS Cap tulo 9 Configuracao QGIS QGIS User Guide Vers o 2 2 The Relations menu is used to define 1 n relations The relations are defined in the project properties dialog Once relations exist for a layer a new user interface element in the form view e g when identifying a feature and opening its form will list the related entities This provides a powerful way to express e g the inspection history on a length of pipeline or road segment You can find out more about 1 n relations support in Section Creating one to many relations 9 3 Opcoes Ss Some basic options for QGIS can be selected using the Options dialog Select the menu option Settings BN Options The tabs
375. ocked window on the left side of the canvas There are four possible screens in this GPS tracking window J GPS position coordinates and an interface for manually entering vertices and features hn GPS signal strength of satellite connections VS GPS polar screen showing number and polar position of satellites e Ss GPS options screen see figure gps options With a plugged in GPS receiver has to be supported by your operating system a simple click on Connect con nects the GPS to QGIS A second click now on Disconnect disconnects the GPS receiver from your computer For GNU Linux gpsd support is integrated to support connection to most GPS receivers Therefore you first have to configure gpsd properly to connect QGIS to it Aviso If you want to record your position to the canvas you have to create a new vector layer first and switch it to editable status to be able to record your track 15 2 1 Posi o e atributos adicionais If the GPS is receiving signals from satellites you will see your position in latitude longitude and altitude together with additional attributes 15 2 2 Forca do sinal GPS ihi Here you can see the signal strength of the satellites you are receiving signals from 15 2 3 Posicao polar GPS L Se voc quer saber onde est o todos os sat lites conectados preciso mudar para a tela polar Voc tamb m pode ver os n meros de identifica o dos sat lites conectados 15 2 Rastr
376. ocuments and Settings usuario Mis documentos slope3 tif C Documents and SettingsjusuarioiMis documentos slope tif Figura 17 28 Caminho do Arquivo do Processamento em Lote 7 17 4 4 Executando o processo em lote Ap s a introdu o de todos os valores necess rios pode executar o processamento em lote apenas clicando em OK O progresso global da tarefa de processamento ser exibido na barra de progresso na parte inferior do di logo Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 17 5 Usando os algoritmos do processamento a partir da consola The console allows advanced users to increase their productivity and perform complex operations that cannot be performed using any of the other GUI elements of the processing framework Models involving several algorithms can be defined using the command line interface and additional operations such as loops and conditional sentences can be added to create more flexible and powerful workflows There is not a proccesing console in QGIS but all processing commands are available instead from the QGIS built in Python console That means that you can incorporate those commands into your console work and connect processing algorithms to all the other features including methods from the QGIS API available from there O c digo que pode executar a partir da consola Python mesmo quando n o chama nenhum m todo espec fico do processamento pode ser co
377. odge Dodge will brighten and saturate underlying pixels based on the lightness of the top pixel So brighter top pixels cause the saturation and brightness of the underlying pixels to increase This works best if the top pixels aren t too bright otherwise the effect is too extreme Addition This blend mode simply adds pixel values of one layer with pixel values of the other In case of values above 1 as in the case of RGB white is displayed This mode is suitable for highlighting features Darken This creates a resultant pixel that retains the smallest components of the foreground and background pixels Like lighten the results tend to be jagged and harsh Multiply Here the numbers for each pixel of the top layer are multiplied with the numbers for the corresponding pixel of the bottom layer The results are darker pictures Burn Darker colors in the top layer cause the underlying layers to darken Burn can be used to tweak and colorise underlying layers Overlay This mode combines the multiply and screen blending modes In the resulting picture light parts become lighter and dark parts become darker Soft light This is very similar to overlay but instead of using multiply screen it uses color burn dodge This mode is supposed to emulate shining a soft light onto an image Muita luz Este modo muito semelhante ao modo de sobreposi o E suposto simular a projec o de uma luz muito intensa numa imagem Difference Differ
378. of a and b that do not intersect returns the combination of geometry a and geometry b returns a geometry that represents the point set union of the geometries returns the well known text WKT representation of the geometry without SRID metadata Este grupo cont m fun es que operam em indentificadores de registo Srownum Sid Sscale Campos e Valores returns the number of the current row returns the feature id of the current row returns the current scale of the map canvas Cont m a lista de campos da camada Valores de amostra podem tamb m ser acedida atrav s do clique direito Seleccione o nome do campo da lista e clique com o bot o direito para aceder ao menu de contexto com as op es para carregar os valores amostra do campo seleccionado Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 12 5 Calculadora de Campos 129 QGIS User Guide Vers o 2 2 130 Cap tulo 12 Trabalhando com Dados Vetoriais CAP TULO 13 Trabalhando com Dados Raster Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 13 1 Trabalhando com dados raster This section describes how to visualize and set raster layer properties QGIS uses the GDAL library to read and write raster data formats including ArcInfo Binary Grid ArcInfo ASCH Grid GeoTIFF ERDAS IMAGINE and many more GRASS raster support is supplied by a native QGIS data provider plugin The raster
379. on you can open a dialog to change the current region and the symbology of the GRASS region rectangle in the QGIS canvas Type in the new region bounds and resolution and click OK The dialog also allows you to select a new region interactively with your mouse on the QGIS canvas Therefore click with the left mouse button in the QGIS canvas open a rectangle close it using the left mouse button again and click OK The GRASS module g region provides a lot more parameters to define an appropriate region extent and reso lution for your raster analysis You can use these parameters with the GRASS Toolbox described in section The GRASS Toolbox 16 9 The GRASS Toolbox The Open GRASS Tools box provides GRASS module functionalities to work with data inside a selected GRASS LOCATION and MAPSET To use the GRASS Toolbox you need to open a LOCATION and MAPSET that you have write permission for usually granted if you created the MAPSET This is necessary because new raster or vector layers created during analysis need to be written to the currently selected LOCATION and MAPSET 16 8 A ferramenta regiao GRASS 177 QGIS User Guide Vers o 2 2 GRASS Tools alaska demo Modules Tree Modules List Browser Y GRASS MODULES EF shell GRASS shell gt Create new GRASS location and transfer data into it File management Import into GRASS Import raster into GRASS Import vector into GRASS y v in ogr qgis Import loaded vecto
380. on of the query that appears in the e Vis drop down menu Descri o Uma descri o mais detalhada da consulta exibida na janela de texto Consulta Predefinida Tipo de Base de The database type defined in the Database Type drop down menu in the Database Dados Connection tab Porta da Base de The port as defined in the Port text box in the Database Connection tab Dados Nome da Base de The database name as defined in the Database Name text box in the Database Dados Connection tab Nome de Usu rio The database username as defined in the Username text box in the Database Connection da Base de Dados tab Senha de Base de The database password as defined in the Password text box in the Database Connection Dados tab Instru o SQL O comando SQL autoconex o A flag true or false to specify if the above tags should be used to automatically connect to the database without running the database connection routine 1n the Database Connection tab Um exemplo de arquivo XML completo com tr s consultas exibido abaixo lt xml version 1 0 gt doc query lt shortdescription gt Import all photograph points lt shortdescription gt 262 Cap tulo 19 Complementos QGIS User Guide Vers o 2 2 lt description gt This command will import all of the data in the SQLite database to QGIS lt description gt lt databaset ype gt SQLITE lt databasetype gt lt databasehost gt lt databaseport gt lt data
381. on to execute query Ner to quit gis data 4 CREATE INDEX sidx alaska lakes ON alaska lakes gis data 4 USING GIST the geom GIST GEOMETRY OPS CREATE INDEX gis data 4 VACUUM ANALYZE alaska lakes VACUUM gis data Ng gsherman madison current 12 1 8 Camadas vetoriais que ultrapassam 180 de longitude Many GIS packages don t wrap vector maps with a geographic reference system lat lon crossing the 180 degrees longitude line http postgis refractions net documentation manual 2 0 ST_Shift_Longitude html As result if we open such a map in QGIS we will see two far distinct locations that should appear near each other In Figure_vector_4 the tiny point on the far left of the map canvas Chatham Islands should be within the grid to the right of the New Zealand main islands A work around is to transform the longitude values using PostGIS and the ST_Shift_Longitude function This function reads every point vertex in every component of every feature in a geometry and if the longitude coordi nate is lt 0 it adds 360 to it The result is a 0 360 version of the data to be plotted in a 180 centric map 76 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Quantum GIS 1 2 0 Daphnis 54 EBFC PPS tREHO DIRATADALO VKEESORR uo 5 0 lm Bm LuLQ8sas3 amp 8 amp uil7 1 5 9095093520 e v i nz 5deg grid LL 255 453 Scale 11137 w Render li Figura 12 5 Map in lat lo
382. oo small and it won t find anything to move The search radius for vertex edits in layer units can be defined in the Digitizing tab under Settings BN Options This is the same place where you define the general project wide snapping tolerance 12 3 Editando 107 QGIS User Guide Vers o 2 2 Snapping options Layer Mode Tolerance Units Avoid Int E popp to vertex and segment 0 000000 map units a railroads to vertex and segment ES map units E regions to vertex and segment IE pixels E O rivers to vertex and segment 0 000000 map units E storagep to vertex and segment 0 000000 map units Zj swamp to vertex and segment 0 000000 map units Sj trails to vertex and segment j5 pixels A amp Enable topological editing amp Enable snapping on intersection Apply Cancel ook Figura 12 33 Edi o das op es de atrac o numa camada base 12 3 2 Ampliando e Movendo Antes de editar uma camada deve fazer uma amplia o zona da rea de interesse Isto evita que espere enquanto os marcadores dos v rtices s o renderizados em toda a camada 4 m rm p roximar m afastar Al m de usar os cones over mapa A aproximar aastal ma barra de ferramentas com o rato a navega o pode tamb m ser feita com a roda do rato espa o e as teclas de direc o Ampliando e movendo com a roda do rato While digitizing you can pre
383. org for QGIS 2 2 docs and translations 12 1 Formatos de dados suportados QGIS uses the OGR library to read and write vector data formats including ESRI shapefiles MapInfo and Mi croStation file formats AutoCAD DXF PostGIS SpatiaLite Oracle Spatial and MSSQL Spatial databases and many more GRASS vector and PostgreSQL support is supplied by native QGIS data provider plugins Vector data can also be loaded in read mode from zip and gzip archives into QGIS As of the date of this document 69 vector formats are supported by the OGR library see OGR SOFTWARE SUITE in Refer ncias Bibliogr ficas e Web The complete list is available at http www gdal org ogr ogr formats html Nota Not all of the listed formats may work in QGIS for various reasons For example some require external commercial libraries or the GDAL OGR installation of your OS may not have been built to support the format you want to use Only those formats that have been well tested will appear in the list of file types when loading a vector into QGIS Other untested formats can be loaded by selecting x x Procedimentos com dados vetoriais GRASS s o descritos na Se o Integra o com SIG GRASS This section describes how to work with several common formats ESRI shapefiles PostGIS layers SpatiaLite layers OpenStreetMap vectors and Comma Separated data CSV Many of the features available in QGIS work the same regardless of the vector data source This is by design
384. orithms even if they can produce a result with the given input data might add comments or additional information to the Warning block if they detect potential problems with the data in order to warn you Make sure you check those messages if you are having unexpected results Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 17 7 Configurando as aplicacoes externas The processing framework can be extended using additional applications Currently SAGA GRASS OTB Orfeo Toolbox and R are supported along with some other command line applications that provide spatial data analysis functionalities Algorithms relying on an external application are managed by their own algorithm provider This section will show you how to configure the processing framework to include these additional applications and it will explain some particular features of the algorithms based on them Once you have correctly configured the system you will be able to execute external algorithms from any component like the toolbox or the graphical modeler just like you do with any other geoalgorithm By default all algorithms that rely on an external appplication not shipped with QGIS are not enabled You can enable them in the configuration dialog Make sure that the corresponding application is already installed in your system Enabling an algorithm provider without installing the application it needs will cause the algorithms to app
385. os pelo QGIS A janela Defini o de Sistema de Refer ncia de Coordenadas personalizado exige apenas dois par metros para definir um SRC ao usu rio 1 Um nome descritivo 2 Os parametros cartogr ficos do formato PROJ 4 Para criar um novo SRC clique no bot o X Adicionar novo SRC e digite um nome descritivo e os par metros do SRC 62 Cap tulo 10 Trabalhando com Proje es QGIS User Guide Vers o 2 2 Custom Coordinate Reference System Definition Define You can define your own custom Coordinate Reference System CRS here The definition must conform to the proj4 format for specifying a CRS Name Parameters Testurl proj tmerc lat 0 39 66825833333333 lon 0 8 1331083 Add new CRS amp Remove Name UTM 29 Lest Parameters proj utm zone 29 ellps wGS84 datum WG584 Copy towgs84 0 0 0 0 0 0 0 units m no_defs existing CRS Test Use the text boxes below to test the CRS definition you are creating Enter a coordinate where both the lat long and the transformed result are known for example by reading off a map Then press the calculate button to see if the CRS definition you are creating is accurate Geographic WGSB4 Destination CRS North 38 4 4 250 293 2132 East 9 45 460 706 6723 Help Cancel OK Figura 10 3 Janela de SRC personalizado rs Note se que o guilabel Par metros deve come ar com um bloco pro j para representar o novo sistema de refer ncia de coo
386. os podem preferir a execu o dos comandos no terminal com acesso a todo o conjunto de op es O m dulo Ferramentas GDAL oferece uma interface f cil para as ferramentas expondo apenas as op es mais populares 19 8 2 Lista das ferramentas GDAL Raster ase Processing Raster calculator Projections i Warp Reproject Conversion Assign projection fa Extraction Extract projection Analysis Miscellaneous GdalTools settings Figura 19 15 Lista do menu Ferramentas GDAL Projec es Kj Torcer Este utilit rio serve para os mosaicos de imagem reprojec o e tor es O programa pode Reprojectar reprojectar para qualquer projec o suportada e pode tamb m ser aplicado a PC armazenados na imagem se a imagem tiver dados em bruto com controlo da informa o Para mais informa o pode ler no s tio na internet do GDAL http www gdal org gdalwarp html Atribuir Esta ferramenta permite definir uma projec o para os rasters que est o georeferenciados projec o mas n o t m a informa o da projec o Com isto tamb m ajuda na possibilidade de alterar a defini o de uma projec o actual Tanto o modo ficheiro nico como o modo batch s o suportados Para mais informa es visite a p gina do utilit rio no s tio na internet do GDAL http www gdal org gdalwarp html rs Extrair Este utilit rio ajuda o a extrair a informa o da projec o de um ficheiro de entrada Se projec o
387. ou Delete para remover o favorito Note que voc pode ter v rios favoritos com o mesmo nome 8 8 Favoritos Espaciais 43 QGIS User Guide Vers o 2 2 N ga ESP QGIS rocks name of municipality Solothurn postal code 4500 fhome marco tmp gem ui Map position fixed Map marker Frame width 1 00 E W OK Abbrechen Loschen Figura 8 11 Desenho personalizado qt do formul rio de anota o re 8 8 2 Trabalhando com favoritos To use or manage bookmarks select the menu option View Show Bookmarks The Geospatial Bookmarks dialog allows you to zoom to or delete a bookmark You cannot edit the bookmark name or coordinates 8 8 3 Aproximar para um favorito A partir do guilabel di logo Favoritos Geoespaciais selecione o marcador desejado clicando sobre ele em seguida clique Aproximar para Voc tamb m pode ampliar at um marcador clicando duas vezes sobre ele 8 8 4 Deletando um favorito To delete a bookmark from the Geospatial Bookmarks dialog click on 1t then click Delete Confirm your choice by clicking Yes or cancel the delete by clicking No 8 9 Projetos animados If you want to embed content from other project files into your project you can choose Layer Embed Layers and Groups 8 9 1 Incorporando camadas The following dialog allows you to embed layers from other projects Here is a small example 1 Pressione para olhar para o
388. ou to choose which column will be used as the sorting key Sort order either ascending or descending 1s set by a two state button that displays an up or a down arrow You can use multiple map items with the atlas generation each map will be rendered according to the coverage features To enable atlas generation for a specific map item you need to check Ef Controlled by Atlas under the item properties of the map item Once checked you can set An input box Margin around feature that allows you to select the amount of space added around each geometry within the allocated map Its value is meaningful only when using the auto scaling mode e A 4 Fixed scale that allows you to toggle between auto scale and fixed scale mode In fixed scale mode the map will only be translated for each geometry to be centered In auto scale mode the map s extents are computed in such a way that each geometry will appear in its entirety 18 6 1 Labels In order to adapt labels to the feature the atlas plugin iterates over use a label with this special notation expres sion using field nameY For example for a city layer with fields CITY NAME and ZIPCODE you could insert this 1 A rea de Il upper CITY_NAME ZIPCODE format number area 1000000 2 km2 That would result in the generated atlas as A rea de PARIS 75001 1 94 km2 18 6 2 Preview Once the atlas settings have been configured and map item
389. ound color Frame color Delete Cancel OK Figura 8 10 Janela texto de anota o re 8 7 2 SVG annotations The tg SVG Annotation tool in the attribute toolbar provides the possibility to place an SVG symbol in a balloon on the QGIS map canvas Using the SVG Annotation tool click into the map canvas and add the path to the SVG file into the dialog 8 7 3 Anota o de formul rio Additionally you can also create your own annotation forms The Form Annotation too is useful to display attributes of a vector layer in a customized Qt Designer form see figure_custom_annotation This is similar to the designer forms for the dentify features tool but displayed in an annotation item Also see this video https www youtube com watch v 2O0pDBuSbQO02o from Tim Sutton for more information Nota Se voc pressionar Ctr1 T enquanto uma ferramenta Anota o est ativa mover anota o texto de anota o formul rio de anota o os estados de visibilidade dos itens ser o invertidos 8 8 Favoritos Espaciais Favoritos espaciais permite que voc marque uma localiza o geogr fica e volte a ela mais tarde 8 8 1 Novo Favorito Para criar um novo favorito 1 Zoom ou pan na rea de interesse 2 Selecione a op o de menu Exibir Novo Favorito ou pressione Ct r1 B 3 Adicione um nome descritivo para o favorito no m ximo 255 caracteres 4 Pressione Enter para adicionar um favorito
390. ow you can click on Update to adapt the changes in the legend element of the Print Composer The item order can be changed using the Up and Down buttons or with drag and drop functionality The feature count for each vector layer can be shown by enabling the Sigma button The legend will be updated automatically if L Auto update is checked Fontes Colunas S mbolos e Espacamento The Fonts Columns Symbol and Spacing dialogs of the legend tem Properties tab provide the following func tionalities see figure composer 16 18 3 Itens do Compositor 233 QGIS User Guide Vers o 2 2 T T F Fonts Title Font Subgroup Font Group Font Item Font Font color Columns Count 4 Equal column widths Split layers Symbol Symbol width 7 00 mm Symbol height 4 00 mm Spacing Title space 2 00mm Group Space 2 00mm Subgroup space 2 00 mm Symbol space 2 00 mm icon label space 2 00 mm Box space 2 00 mm Column space 2 00 mm Figura 18 16 Legenda da Janela Fontes Colunas S mbolos e Espacamento 234 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 Pode mudar a fonte do t tulo grupo subgrupo e item camada no item legenda Clique no bot o da categoria para abrir a janela de Seleccionar fonte All these items will get the same Color Os itens Legenda pode ser arranjado em v rias colu
391. para arquivos de uma banda que incluem uma tabela de cores onde a cada valor de pixel atribu da uma determinada cor Nesse caso o mapa de cores gerado automaticamente SE deseja cambiar as cores atribu das a determinados valores apenas de clique duplo no color e a janela de di logo 134 Cap tulo 13 Trabalhando com Dados Raster QGIS User Guide Vers o 2 2 Selecione cor vai aparecer Tamb m em QGIS 2 2 agora poss vel atribuir um r tulo aos valores das cores Assim o r tulo aparece na legenda da camada raster Layer Properties landcover Style v Band rendering General Render type Paletted P Transparency Band Band 1 Palette 3 dii Pyramids Value Color Label 0 Water IE Histogram 1 Evergreen Neddleleaf Forest i 2 Evergreen Broadleaf Forest f Metadata 3 Deciduous Needleleaf Forest 4 Deciduous Broadleaf Forest 5 Mixed Forest 6 Woodland 7 Wooded Grassland 8 Closed Shrubland 9 Open Shrubland 10 Grassland 11 Cropland 12 Bare Ground 43 Lirkan and Built z Figura 13 3 Representa o do Raster Mapa de cores Melhora do contraste Nota Quando adicionamos camadas GRASS a op o Melhorar o Contraste ser automaticamente definida como esticar ao min m x independentemente de estar definido outro valor na QGIS op es gerais Banda nica cinza Esse m todo permite representar uma camada de uma banda atrav s de Gradiente de Cores Preto para Branco ou Branco para Preto Pode
392. pared with the first shaded relief map 182 Cap tulo 16 Integra o com SIG GRASS QGIS User Guide Vers o 2 2 GRASS Tools alaska demo Modules Tree ModulesList Browser alexandre PCalexandre g list vect vector files available in mapset lt demo gt airports ctour_100 rivers alaska ctour_100_smooth alexandre PCalexandre g region rast gtopo30 ap projection 99 Albers Equal Area zone 0 datum nad27 ellipsoid clark66 north 7809680 south 1367760 west 7117600 east 4897040 nsres 3280 ewres 3280 rows 1964 cols 3663 cells 7194132 alexandre amp PCalexandre Jj Figura 16 13 A shell GRASS m dulo r shaded relief O QGIS 2 0 1 Dufour Project Edit View yer Settings Plugins Raster Database Processing Help BE BS CEVARRQOXA E nuas o w 9592upPpiamnmg ee x B amp B DG gt Ug Ws Qu SANS ARE REL Ee SR Layers x El gtopo30 shade gt EM gtopo30 Layers Browser 2 Overview S5 Coordinate 751390 3908635 Scale 4099646 v 9 KZ Render EPSG 2964 Figura 16 14 Exibindo relevo sombreado criado com o m dulo GRASS r shaded relief rs 16 9 The GRASS Toolbox 183 QGIS User Guide Vers o 2 2 Estat sticas Raster em um mapa vetor O pr ximo exemplo mostra como um m dulo GRASS pode agregar dados raster e adicionar colunas de estat sticas para cada pol gono em um mapa vetor Novamente usando os dados do Alasca consulte a ref sec
393. pelo Grupo Europeu de Pequisa Petrol fera EPSG e pelo Instituto Geogr fico Nacional Franc s IGNF e s o em grande parte derivados das tabelas de refer ncia espacial usadas pelo GDAL Os identificadores EPSG presentes na base de dados podem ser usados para especificar um SC no QGIS Para poder usar a projec o din mica os seus dados devem conter informa o sobre o seu sistema de coordenadas ou voc s dever definir um sistema global para temas ou para o projecto Para temas PostGIS o QGIS usa o identificador de refer ncia espacial que foi especificado aquando da cria o do tema Para dados suportados pelo OGR o QGIS recorre presen a de um meio reconhec vel para especificar o SC No caso de shapefiles isto significa um ficheiro contendo um texto bem conhecido WKT especificando o SC Este ficheiro de projec o tem o mesmo nome base que o shapefile e uma extens o prj Por exemplo um shapefile chamado alaska shp teria um ficheiro de projec o correspondente chamado alaska prj Sempre que selecionar um novo SC as unidades do temas ser o mudadas automaticamente no separador Geral das Im ActionsOptionsl na janela de Propriedades do Projecto no menu Projecto Gnome OSX ou Defini es KDE Windows 10 2 Especifica o de Proje o Global O QGIS inicia cada novo projecto usando a projec o global pr definida O SC global por omiss o o EPSG 4326 WGS 84 proj longlat ellps WGS84 datum WGS84 no defs e vem
394. pole org wms search search 1 amp type rss Define Tempo esgotado para pedidos de rede ms o padr o 60000 Define Per odo padr o de validade para a quadricula WMSC WMTS horas o padr o 24 Define Max retry in case of tile request errors Define User Agent Options Network General General System WMS search address http geopole org wms search searchz961 amp type rss Data Sources Timeout For network requests ms 60000 Rendering Default expiration period for WMS C WMTS tiles hours 24 7 Canvas amp Max retry in case of tile request errors 3 Legend User Agent Mozilla 5 0 IZM Map Tools oo um Composer Cache settings Directory home alexandre qgis2 cache Digitizing Size KiB 51200 GDAL ix CRS v amp Use proxy for web access Host localhost Port 64609 User Password Proxy type DefaultProxy Exclude URLs starting with www proprietary gis com Remove ce RD Figura 9 4 Configura es proxy no QGIS Configurac es de cache Define a Pasta e Tamanho para o cache Usar proxy para aceder web e define Maquina Porta Utilizador e Palavra chave 9 3 Op es 55 QGIS User Guide Vers o 2 2 Configura o Tipo de proxy de acordo com
395. pos valores e fun es para construir a express o do c lculo ou pode apenas introduzir dentro da caixa Para exibir os valores do campo clique no direito do rato no campo apropriado Pode escolher entre Carregar 10 valores de amostra e Carregar todos os valores nicos No lado direito abre a lista dos Valores do Campo com os valores nicos Para adicionar um valor caixa de Express o da Calculadora de Campos fa o duplo clique no nome na lista de Valores de Campo Os grupos Operadores Matem tica Convers es Cadeia de Texto Geometria e Registo fornecem v rias fun es No Operadores pode encontrar operadores matem ticos Encontre em Matem tica fun es matem ticas O grupo 12 5 Calculadora de Campos 125 QGIS User Guide Vers o 2 2 Convers es cont m fun es que convertem um tipo de dados para outro O grupo Cadeia de Texto fornece fun es para dados de cadeia de texto No grupo Geometria encontra fun es para objectos de geometria Com o grupo de fun es Registo pode adicionar numera o ao seu conjunto de dados Para adicionar uma fun o na caixa de Express o da Calculadora de campos clique em gt e de seguida fa a duplo clique na fun o Um pequeno exemplo ilustra como a calculadora de campos funciona N s queremos calcular o comprimento em km na camada rai lroads do conjunto de dados amostra do QGIS T Carregue a Shapefile railroads shp no QGIS e pressione um mmn Abrir Tabela de Atributos
396. priedades da camada Existe tamb m uma nova op o geral que habilita a generaliza o por padr o para novas camadas adicionadas Nota O recurso de generaliza o pode apresentar artefatos no resultado da renderiza o em alguns casos Isto pode incluir linhas entre pol gonos e uma renderiza o inexata quando utilizado simbologia com offset Pontos ncoras podem ser ajustados para marcadores Quando definida a simbologia com marcadores ex uma camada de ponto simbolizada com marcadores SVG voc pode especificar qual parte da imagem deve corresponder ao ponto ncora Por exemplo voc pode indicar que o canto inferior esquerdo de uma imagem deve coincidir com a posi o da fei o Voc tamb m pode utilizar as propriedades de dados definidos para ter este conjunto de propriedades em tempo baseado no atrbuto da tabela de uma camada ou uma express o arbitr ria QGIS Server 15 5 6 QGIS User Guide Vers o 2 2 5 8 Mapas tem ticos baseados em express es Mapas tem ticos categorizados ou graduados podem ser cri ados utilizando como resultado uma express o No di logo de propriedades de uma camada vetorial o atributo adotado tem sido aumentado com um criador de express es Agora n o necess rio escrever a classifica o do atributo em uma nova coluna na tabela de atributos se voc quer que a classifica o do atributo seja composta de m ltiplos campos ou um qualquer tipo de f rmula Suporte para expre
397. processing GUI and the one that you are more likely to use in your daily work It shows the list of all available algorithms grouped in different blocks and it is the access point to run them whether as a single process or as a batch process involving several executions of the same algorithm on different sets of inputs A caixa de ferramentas cont m todos os algoritmos dispon veis divididos em grupos pr definidos Todos esses grupos podem ser encontrados numa rvore nica com uma entrada que chama Geoalgoritmos Additionally two more entries are found namely Models and Scripts These include user created algorithms and they allow you to define your own workflows and processing tasks We will devote a full section to them a bit later In the upper part of the toolbox you will find a text box To reduce the number of algorithms shown in the toolbox and make it easier to find the one you need you can enter any word or phrase on the text box Notice that as you type the number of algorithms in the toolbox is reduced to just those that contain the text you have entered in their names In the lower part you will find a box that allows you to switch between the simplified algorithm list the one explained above and the advanced list If you change to the advanced mode the toolbox will look like this 188 Capitulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 Oct 10 2013 13 07 46 GRASS execution commands tion co
398. pts Figura 17 1 Caixa de Ferramentas Processamento 7 187 QGIS User Guide Vers o 2 2 The graphical modeler Several algorithms can be combined graphically using the modeler to define a workflow creating a single process that involves several subprocesses e E EJ Parameters Watershed from DEM and threshold Example models Boolean Extent File In ES Number e Raster Layer y amp Watershed basins Stri Table Out Table field Vector layer In Fill Sinks Out In E In E S Catchment area parallel P channel network 2 Out Out Ll In ES amp Vectorising grid classes 2 Out oar cP Threshold for channel def 2 Figura 17 2 Modelador do Processamento 7 The history manager All actions performed using any of the aforementioned elements are stored in a history file and can be later easily reproduced using the history manager A interface de processamento batch Esta interface permite que possa executar processos batch e automati camente a execu o de um nico algoritmo num m ltiplo conjunto de dados In the following sections we will review each one of these elements in detail Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 17 2 A caixa de ferramentas The Toolbox is the main element of the
399. put filename expression output Sfeature amp Single file export when possible _ Sort by Figura 18 29 Separador de Gera o de Atlas rs Generate an atlas which enables or disables the atlas generation e A Coverage layer T combo box that allows you to choose the vector layer containing the geometries on which to iterate over An optional Hidden coverage layer that if checked will hide the coverage layer but not the other ones during the generation An optional Filter with text area that allows you to specify an expression for filtering features from the coverage layer If the expression is not empty only features that evaluate to True will be selected The button on the right allows you to display the expression builder Acaixade texto Express o do nome do ficheiro de sa da que usada para criar o nome do ficheiro para cada geometria se necess ria E baseado em express es Este campo significativo apenas para a renderiza o de m ltiplos ficheiros A 9 Single file export when possible that allows you to force the generation of a single file if this is possible with the chosen output format PDF for instance If this field 1s checked the value of the Output filename expression field is meaningless 18 6 Geracao de Atlas 243 QGIS User Guide Vers o 2 2 An optional 4 Sort by that 1f checked allows you to sort features of the coverage layer The associated combo box allows y
400. qualquer vers o posterior que tenha sido publicada n o como um rascunho pela Free Software Foundation Se o Documento n o especificar um n mero de vers o desta Licen a voc pode escolher qualquer vers o j publicada n o como rascunho pela Free Software Foundation Se o Documento especificar que um procurador pode decidir quais vers es futuras desta licen a pode ser usada uma afirma o p blica do procurador de aceita o de uma vers o permanentemente autoriza voc a escolher essa vers o para o documento 11 RELICENCIAMENTO Massive Multiauthor Collaboration Site ou Site MMC significa que qualquer servidor da World Wide Web que publica trabalhos protegidos por direitos autorais e tamb m oferece facilidades importantes para qualquer pessoa para editar essas obras Um wiki p blico que qualquer um pode editar est um exemplo de um servidor A Massive Multiauthor Collaboration ou MMC contidos no site significa que qualquer conjunto de trabalhos protegidos por direitos autorais assim publicado no site da MMC CC BY SA significa Creative Commons Attribution Share Alike 3 0 publicado pela Creative Commons Corpo ration uma corpora o sem fins lucrativos com sede principal em San Francisco Calif rnia bem como futuras vers es de copyleft da licen a publicada pela mesma organiza o Incorporar significa publicar ou republicar um Documento por inteiro ou em partes como parte de outro docu
401. que OK 7 Amplie um pouco at sua rea favorita com alguns lagos 8 De duplo clique na camada lakes da legenda do mapa para abrir o di logo Propriedades 9 Clique na janela Estilo e selecione um preenchimento de cor azul 10 Clique na janela Etiquetas e marque a caixa de sele o sf Etiquetar esta camada com para habilitar o etiqueta Selecione o campo NOMES com o campo que cont m as etiquetas 11 Para melhoras a leitura das etiquetas pode adicionar um buffer branco ao redor dando um clique no Buffer na lista da esquerda marcando 4 Desenhar buffer notexto e escolhendo 3 como tamanho do buffer 12 Clique Aplicar Confira se o resultado ficou bom e clique finalizar OK Pode ver como f cil visualizar camadas raster e vetoriais no QGIS Vamos at a se o seguinte para aprender mais sobre as fun es caracter sticas e configura es dispon veis e como usar las 6 4 Iniciar e Parar QGIS Na se o Sess o Amostra voc aprender como iniciar o QGIS Repetiremos isto e ver que o QGIS tamb m proporciona outras op es de linha de comandos A Assumindo que o QGIS est instalado no PATH inicie QGIS teclando qgi s no console ao dando duplo clique no link do aplicativo QGIS ou atalho no desktop ou no menu do aplicativo 7 Inicie o QGIS usando o menu Iniciar ou o atalho do ambiente de trabalho ou de duplo clique no arquivo de projeto QGIS X Duplo clique no cone na sua pasta Aplica
402. quiser extrair a projec o do direct rio pode usar o modo Batch Ir criar os ficheiros prj e WLA s 19 8 M dulo de Ferramentas GDAL 267 QGIS User Guide Vers o 2 2 Convers o P Este programa torna geometrias vectoriais pontos linhas e pol gonos em banda s de uma Digitalizar imagem raster Os vectores s o lidos a partir de formatos OGR suportados Repare que os dados do vector devem ser do mesmo sistema de coordenadas que os dados rasters a projec o on the fly n o fornecida Para mais informa o veja http www gdal org gdal rasterize html 4 Este utilit rio cria pol gonos vectoriais para todas as regi es de pixeis ligadas num matricial Vectorizar que partilha um valor comum de pixel Cada pol gono criado com um atributo que indica o valor do pixel desse pol gono O utilit rio ir criar um vector de sa da se n o existir por defeito em formato ESRI shapefile Veja tamb m http www gdal org gdal polygonize html Este utilit rio pode ser usado para converter matriciais em diferente formatos potencialmente Tranduzir executa algumas opera es como subconfigura es amostragem rescalonamento de pixeis no processo Para mais informa es pode ler em http www gdal org gdal translate html RGB Este utilit rio ir computar uma tabela pseudo cor optimizada para uma dada imagem RBG para PCT usando um algoritmo da mediana cortado num histograma RGB de resolu o reduzida De seg
403. r v in ogr Import OGR vector v in ogr loc Import OGR vector and creat 444 v y v in ogr all Import OGR vectors in a given X v in oqr all loc Import all OGR PostGIS ve Figura 16 8 Ferramentas do GRASS e Modulo de rvore 16 9 1 Trabalhando com m dulos GRASS The GRASS shell inside the GRASS Toolbox provides access to almost all more than 300 GRASS modules in a command line interface To offer a more user friendly working environment about 200 of the available GRASS modules and functionalities are also provided by graphical dialogs within the GRASS plugin Toolbox A complete list of GRASS modules available in the graphical Toolbox in QGIS version 2 2 is available in the GRASS wiki at http grass osgeo org wiki GRASS QGIS relevant module list It is also possible to customize the GRASS Toolbox content This procedure is described in section Personalizando a caixa de ferramentas GRASS As shown 1n figure grass toolbox 1 you can look for the appropriate GRASS module using the thematically grouped Modules Tree or the searchable Modules List tab By clicking on a graphical module icon a new tab will be added to the Toolbox dialog providing three new sub tabs Options Output and Manual Op es The Options tab provides a simplified module dialog where you can usually select a raster or vector layer visualized in the QGIS canvas and enter further module specific parameters to run the module The provid
404. r Isto significa que pode incorporar o modelo como parte de um modelo maior tal como adiciona qualquer outro algoritmo Em alguns casos um modelo pode n o ser carregado porque nem todos os algoritmos inclu dos est o dispon veis Se tiver usado um dado algoritmo como parte do seu modelo este dever estar dispon vel isto dever aparecer na caixa de ferramentas de forma a carregar o modelo Desactivando um fornecedor de algoritmos nas configu ra es do da janela do processamento poder desactivar o modelador o que pode trazer problemas quando carrega os modelos Tenha isso em aten o quando tiver problemas a carregar ou a executar modelos 17 3 4 Editando um modelo Pode editar o modelo que criou redefinindo o fluxo de trabalho e as rela es entre os algoritmos e os dados de entrada que defeniu no modelo Se clicar com o direito do rato num algoritmo na rea que representa o modelo ira ver o menu contexto como mostrado a seguir 17 3 O modelador gr fico 201 QGIS User Guide Vers o 2 2 Figura 17 21 Clique direito do Modelador 7 Seleccionando a op o Remover ira fazer com que o algoritmo para ser removido Um algoritmo s pode ser removido apenas se existir outros algoritmos dependentes dele Isto se n o estiver a ser usado um ficheiro de sa da de um algoritmo usado como ficheiro de entrada diferente Se tentar remover um algoritmo que tenha outros que dependa dele uma mensagem de aviso igual qu
405. r o Programa Se qualquer parte desta se o for considerada inv lida ou n o aplic vel em qualquer circunst ncia particular o restante da se o se aplica e a se o como um todo se aplica em outras circunst ncias O prop sito desta se o n o o de induzi lo a infringir quaisquer patentes ou reivindica o de direitos de propriedade outros ou a contestar a validade de quaisquer dessas reivindica es esta se o tem como nico prop sito proteger a integridade dos sistemas de distribui o de software livres o que implementado pela pr tica de licen as p blicas V rias pessoas t m contribu do generosamente e em grande escala para os software distribu dos usando este sistema na certeza de que sua aplica o feita de forma consistente fica a crit rio do autor doador decidir se ele ou ela est disposto a distribuir software utilizando outro sistema e um licenciado n o pode impor esta escolha Esta se o destina se a tornar bastante claro o que se acredita ser conseq ncia do restante desta Licen a 8 Se a distribui o e ou uso do Programa s o restringidos em certos pa ses por patentes ou direitos autorais o detentor dos direitos autorais original e que colocou o Programa sob esta Licen a pode incluir uma limi ta o geogr fica de distribui o excluindo aqueles pa ses de forma a tornar a distribui o permitida apenas 21 1 Licen a P blica Geral GNU 297 QGIS User Guide Vers o 2 2 1
406. r muitos para as suas necessidades de visualiza o de dados SIG di rias QGIS suporta um grande n mero de formatos de dados raster e vetoriais com o novo formato suporta facilmente a sua adi o de outros usando a arquitetura de complementos QGIS distribu do sob a GNU General Public License GPL Licen a Publica Geral Desenvolvendo QGIS sob esta licen a significa que voc pode inspecionar e modificar o c digo fonte e garante que voc nosso feliz usu rio sempre ter acesso a um programa de SIG que livre de custos e podem ser livremente modificado Voc deve ter recebido uma c pia completa da licen a com a sua c pia do QGIS e voc tamb m pode encontr la no Ap ndice ref gpl_appendix Dica Atualiza o da Documenta o A vers o mais recente deste documento pode ser encontrada na rea de documenta o do QGIS website em http www qgis org en docs Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations QGIS User Guide Vers o 2 2 8 Cap tulo 3 Pre mbulo CAP TULO 4 Caracteristicas QGIS offers many common GIS functionalities provided by core features and plugins A short summary of six general categories of features and plugins is presented below followed by first insights into the integrated Python console 4 1 Visualiza o de dados Pode ver ou sobrepor dados vectoriais e matriciais em diferentes formatos e projec es sem convers o para um forma
407. r o arquivo Assistente MAPSET 3 Select the GRASS database GISDBASE folder grassdata with the LOCATION alaska where we want to add a further MAP SET called test 4 Clique Pr ximo 5 Podemos usar este assistente para criar um novo arquivo MAPSET dentro de um j existente ar quivo LOCATION ou para criar um completamente novo arquivo LOCATION Clique no bot o de r dio 5 Selecionar a localiza o ver figure grass location 2 e clique Pr ximo 6 Enter the name text for the new MAPSET Below in the wizard you see a list of existing MAPSETs and corresponding owners 7 Clique Pr ximo confira o resumo para se certificar de que est tudo correto e clique Fim 172 Cap tulo 16 Integra o com SIG GRASS QGIS User Guide Vers o 2 2 16 4 Importando dados para uma localiza o GRASS This section gives an example of how to import raster and vector data into the alaska GRASS LOCATION provided by the QGIS Alaska dataset Therefore we use the landcover raster map 1andcover img and the vector GML file Lakes gml1 from the QGIS Alaska dataset see Amostra de Dados 1 Start QGIS and make sure the GRASS plugin is loaded 2 Na barra de ferramentas GRASS clique no cone HHE Abrir MAPSET para abrir o gulabel assistente MAPSET 3 Select as GRASS database the folder grassdata in the QGIS Alaska dataset as LOCATION alaska as MAPSET demo and click OK 4 Ago
408. r parecido um pouco como figure OGR 1 que mostra a resposta fornecida pelo servidor WMS do DM Solutions Group Codifica o da Imagem 14 1 QGIS como Cliente de Dados OGC 145 QGIS User Guide Vers o 2 2 Add Layer s From a Server Layers Layer Order Tilesets Server Search DM Solutions GMap Connect New Edi Delete Load Save Add default servers ID Name Title Abstract A 70 DEMO GMap WMS This demonstration server was setup by DM Solutions Gr 1 bathymetry X Elevation B 2 land fn Foreign Lands gt 4 park Parks e drain fn Water gt B drainage Drainage 10 prov_bound Province 12 Fedlimit Federal Limit fe IM rail Dailraade tak Image encoding PNG PNG24 JPEG GIF O TIFF Options 0 coordinate reference systems available Layer name Tile size Feature limit for GetFeatureinfo 10 Change Help Add Close Select layer s Figura 14 2 Janela para adicionar servidores WMS mostra as camadas disponiveis 146 Cap tulo 14 Trabalhando com dados OGC QGIS User Guide Vers o 2 2 A sec o Codifica o de Imagem agora apresenta uma lista de formatos suportados pelo cliente e servidor Escolha de acordo com as exig ncias de precis o da sua imagem Dica Codifica o da Imagem Tipicamente ir encontrar servidores WMS que oferecem a escolha da codifica o de imagem JPEG ou PNG O JPEG um formato de perda de compress o enqua
409. r working with GPS data we provide an example GPX file available in the QGIS sample dataset qgis sample data gps national monuments gpx See section Amostra de Dados for more infor mation about the sample data X 1 Select Vector gt GPS GPS Tools or click the SPS Tools icon in the toolbar and open the Load GPX file tab see figure GPS 1 2 Navegue at a pasta qgis sample data gps selecione o arquivo GPX national monuments gpx e clique Abrir Use o bot o Procurar para selecionar o arquivo GPX ent o use as caixas de sele o para escolher os tipos de recursos que voc deseja carregar a partir desse arquivo GPX Cada tipo de recurso ser carregado em uma camada separada quando voc clicar OK O arquivo national monuments gpx inclui apenas waypoints 159 QGIS User Guide Vers o 2 2 GPS Tools Load GPX file Import other file Download from GPS Upload to GPS GPX Conversions File data Dropbox Trabalho Route5 gpx Browse Feature types amp Waypoints Routes RM Tracks Help Cancel OK Figura 15 1 Janela de di logo Ferramentas GPS A Nota GPS units allow you to store data in different coordinate systems When downloading a GPX file from your GPS unit or a web site and then loading it in QGIS be sure that the data stored in the GPX file uses WGS 84 latitude longitude QGIS expects this and it is the official GPX specification See http www topografix com GPX 1 1
410. ra clique no cone grass tools sup Abrir ferramentas GRASS A caixa de ferramentas GRASS ver sec o ref subsec_grass_toolbox aparece o di logo 5 To import the raster map landcover img click the module r in gdal in the Modules Tree tab This GRASS module allows you to import GDAL supported raster files into a GRASS LOCATION The module dialog for r in gdal appears 6 Browse to the folder raster in the QGIS Alaska dataset and select the file landcover img 7 As raster output name define landcover grass and click Run In the Output tab you see the currently running GRASS command r in gdal o input path to landcover img output landcover grass 8 When it says Succesfully finished click View output The 1andcover grass raster layer is now imported into GRASS and will be visualized 1n the QGIS canvas 9 To import the vector GML file lakes gm1 click the module v in ogr in the Modules Tree tab This GRASS module allows you to import OGR supported vector files into a GRASS LOCATION The module dialog for v in ogr appears 10 Browse to the folder gm1 in the QGIS Alaska dataset and select the file Lakes gml1 as OGR file 11 As vector output name define lakes grass and click Run You don t have to care about the other options in this example In the Output tab you see the currently running GRASS command v in ogr o dsn path to lakes gml output lakes grass 12 When it says Succesfully fini
411. ra deslizante Entrada de texto Display name lakes shp Uma sombra indica um componente GUI clic vel 2 2 Convencoes do Texto ou Teclado Este manual tamb m inclui estilos relacionados ao texto comandos de teclado e de codifica o para indicar diferentes entidades tais como classes ou m todos Estes estilos n o correspondem apar ncia real de qualquer texto ou codifica o dentro do QGIS Hyperlinks http qgis org QGIS User Guide Vers o 2 2 A Combina o das teclas Press Ct r1 B ou seja pressione e segure a tecla Ctrl e em seguida pressione a tecla B Nome de um arquivo lakes shp Nome de uma classe NewLayer M todo classFactory e Servidor myhost de Texto de Usu rio qgis help Linhas de c digo ser o indicadas por uma fonte de tamanho fixo PROJCS NAD 1927 Albers GEOGCS GCS North American 1927 2 3 Instrucoes especificas da Plataforma Sequ ncias de GUI e pequenas quantidades de texto podem ser formatadas em linha Clique rs 7 Arquivo X QGIS Sair para fechar o QGIS Isso indica que em plataformas Linux Unix e Windows voc deve clicar primeiro no menu Arquivo em seguida Sair enquanto nas plataformas Macintosh OS X voc deve clicar primeiro no menu QGIS e em seguida Sair Grandes quantidades de texto podem ser formatados com uma lista 4 Faz isso e 7 Faz aquilo X Faz outro ou um par grafo A X Faz isso isso e isso Ent o faz isso isso e ISSO e
412. ransparente deste e da mesma maneira os endere os de rede dados no Documento para vers es pr vias nas quais este se baseia Estes podem ser colocados na se o Hist rico Voc pode omitir um endere o de rede para um trabalho que foi publicado pelo menos quatro anos antes do Documento em si ou se o editor original da vers o qual o endere o se refere der permiss o 11 Para qualquer se o intitulada Agradecimentos ou Dedicat ria preserve o t tulo da se o e preserve dentro da se o toda a subst ncia e tom de cada um dos agradecimentos e ou dedicat rias l mencionados 12 Preserve todas as Se es Invariantes do Documento inalteradas no seu texto e t tulos N meros de se o ou o equivalente n o s o considerados parte dos t tulos das se es 13 Apague qualquer se o intitulada Apoio Tal se o n o ser inclu da na Vers o Modificada 14 N o modifique o t tulo de qualquer se o a ser intitulada Apoio ou que resulte em conflito com t tulo de qualquer Se o Invariante 15 Preserve any Warranty Disclaimers Se a Vers o Modificada incluir novas se es iniciais ou ap ndices que sejam qualificados como Se es Se cund rias e n o contiver material copiado do Documento voc pode a seu crit rio tornar algumas dessas ou todas essas se es em invariantes Para fazer isso adicione seus t tulos a lista de Se es Invariantes na nota de licen a da Vers o Modific
413. raster This algorithm likely won t be sufficient if you are dealing with scanned material A transforma o de Helmert executa um simples escalonamento e transforma es de rota o The Polynomial algorithms 1 3 are among the most widely used algorithms introduced to match source and destination ground control points The most widely used polynomial algorithm is the second order polynomial transformation which allows some curvature First order polynomial transformation affine preserves colliniarity and allows scaling translation and rotation only O algoritmo Suavizador em L minas Finas TPS o m todo mais moderno de georreferenciamento que permite introduzir deforma es locais nos dados Este algoritmo til quando originais de baixa qualidade est o a ser georreferenciados A transforma o Projectiva uma rota o linear e de transla o de coordenadas Definindo o m todo de reamostragem O tipo de amostragem que escolhe ir depender dos seus dados de entrada e do objetivo do exerc cio Se n o quiser mudar as estat sticas da imagem dever escolher Vizinho mais pr ximo uma vez que que a Amostragem c bica ir fornecer um resultado mais suavizado Itis possible to choose between five different resampling methods 1 Vizinho mais pr ximo 2 Linear 19 9 Complemento Georreferenciador 273 QGIS User Guide Vers o 2 2 3 C bico 4 C bico suavizado 5 Lanczos Definindo as confi
414. rawing them This means the layer will be added to the map but its visibility checkbox in the legend will be unchecked by default To set this option choose menu option Settings Options and click on the Rendering tab Uncheck the Ed By default new layers added to the map should be displayed checkbox Any layer subsequently added to the map will be off invisible by default Parar rendiriza o Para parar o desenho no mapa pressione a tecla ESC Isto ira parar a atualiza o da tela do mapa e deixar o mapa parcialmente desenhado Pode levar um pouco de tempo entre pressionar ESC e o tempo que o desenho do mapa ser interrompido Nota Itis currently not possible to stop rendering this was disabled in the Qt4 port because of User Interface UI problems and crashes 36 Capitulo 8 Ferramentas Gerais QGIS User Guide Vers o 2 2 Atualiza o da tela durante a edi o do mapa You can set an option to update the map display as features are drawn By default QGIS does not display any features for a layer until the entire layer has been rendered To update the display as features are read from the datastore choose menu option Settings Options and click on the Rendering tab Set the feature count to an appropriate value to update the display during rendering Setting a value of O disables update during drawing this is the default Setting a value too low will result in poor performance as the map canvas is continually updated
415. rdenadas Voc pode testar os par metros SRC para ver se eles d o bons resultados Para fazer isso digite valores conhecidos de latitude e longitude em WGS 84 Norte e guilabel Campos Leste respectivamente Clique em Calcular e comparar os resultados com os valores conhecidos em seu sistema de refer ncia de coordenadas 10 5 transforma es de datum padr o depende OTF para ser capaz de transformar dados em um SRC padr o e QGIS usa WGS84 Para alguns SRC h uma s rie de transforma es dispon veis QGIS permite que voc defina a transforma o utilizada para outros fins QGIS usa uma transforma o padr o Na aba SRC Configura es s Op es voc pode e QGIS est configurado para perguntar lhe quando ele precisa definir uma transforma o usando guil abel Pergunte qual a transforma o do datum quando nenhum padr o for definido editar uma lista dos padr es do usu rio para transforma es QGIS pede qual a transforma o ira usar ao abrir uma caixa de di logo exibindo texto PROJ 4 descrevendo as transforma es de origem e destino Mais informa es podem ser encontradas a respeito de uma transforma o H Os padr es do usu rio podem ser salvos selecionando Lembrar sele o Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 10 5 transforma es de datum padr o 63 QGIS User Guide Vers o 2 2 64 Cap tulo 10 Trabalhando com
416. re allows the digitization of multiple layers Choose Save for Selected Layers to save all changes you made in multiple layers You also have the opportunity to Rollback for Selected Layers so that the digitization may be withdrawn for all selected layers If you want to stop editing the selected layers o Cancel for Selected Layer s is an easy way The same functions are available for editing all layers of the project Ferramenta de N s For shapefile based layers as well as SpatialLite PostgreSQL PostGIS MSSQL Spatial and Oracle Spatial tables the amp Node Tool provides manipulation capabilities of feature vertices similar to CAD programs It is possible to simply select multiple vertices at once and to move add or delete them altogether The node tool also works with on the fly projection turned on and it supports the topological editing feature This tool is unlike other tools in QGIS persistent so when some operation is done selection stays active for this feature and tool If the node tool is unable to find any features a warning will be displayed It is important to set the property Settings Options Digitizing Search Radius 99 9 to a number greater than zero 1 e 10 Otherwise QGIS will not be able to tell which vertex is being edited Dica Marcadores de V rtice The current version of QGIS supports three kinds of vertex markers Semi transparent circle Cross and None To
417. re is a method to describe an algorithm in detail which can be used to get a list of the parameters that an algorithm requires and the outputs that it will generate To get this information you can use the alghelp name_of_the_algorithm method Use the command line name of the algorithm not the full descriptive name Calling the method with saga slopeaspectcurvature as parameter you get the following description gt gt gt processing alghelp saga slopeaspectcurvature ALGORITHM Slope Aspect Curvature ELEVATION lt ParameterRaster gt METHOD lt ParameterSelection gt SLOPE lt OutputRaster gt ASPECT lt OutputRaster gt CURV lt OutputRaster gt HCURV lt OutputRaster gt VCURV lt OutputRaster gt Agora tem tudo o que necessita de correr qualquer algoritmo Como j t nhamos mencionado existe apenas um comando para executar algoritmos runalg A sua s ntaxe como est descrito a seguir gt gt gt processing runalg name_of_the_algorithm paraml param2 paramN Output1 Output2 OutputN A lista de par metros e ficheiros de sa da para adicionar dependem do algoritmo que quer correr e exactamente a lista que o m todo alghelp lhe d na mesma ordem que exibido Depending on the type of parameter values are introduced differently The next list gives a quick review of how to introduce values for each type of input parameter e Raster Layer Vector Layer or Table Simply use a string wi
418. re loaded by default so you do not have to add the corresponding library commands you just have to make sure that those two packages are installed in your R distribution However other additional libraries that you might need have to be explicitly loaded Just add the necessary com mands at the beginning of your script You also have to make sure that the corresponding packages are installed in the R distribution used by QGIS The processing framework will not take care of any package installation If you run a script that requires a package that is not installed the execution will fail and SEXTANTE will try to detect which packages are missing You must install those missing libraries manually before you can run the algorithm GRASS Configurar o GRASS n o muito diferente de configurar o SAGA Primeiro o caminho para a pasta GRASS tem de ser definida mas apenas se estiver a correr o Windows Adicionalmente um interpretador shell normalmente o msys exe que pode ser encontrado na maioria das distribui es do GRASS para o Windows tem de ser definido e o seu caminho configurado By default the processing framework tries to configure its GRASS connector to use the GRASS distribution that ships along with QGIS This should work without problems in most systems but 1f you experience problems you might have to configure the GRASS connector manually Also 1f you want to use a different GRASS installation you can change that setting an
419. representa o da imagem quando se d mais ou menos zoom nela Os modos de reamostragem podem melhorar a apari ncia do mapa Eles calculam um novo valor de cinza atrav s de uma transforma o geom trica Layer Properties cascais map copy Style A P Band rendering General v Color rendering Blending mode Normal Reset P Transparency a Brightness SSS 0 Contrast 0 HEM Pyramids l Saturation em 0 Grayscale OFF A IE Histogram q Hue Colorize NEN Strength SSS 10098 ri Metadata v Resampling Zoomed in Nearest neighbour out Nearest neighbour Oversampling 2 00 T Figura 13 6 Representa o Raster Reamostragem Quando aplicamos o m todo Vizinho mais pr ximo o mapa pode ter uma estrutura tipo pixelada quando damos mais zoom Essa apari ncia pode ser melhorada usando os m todos Bilinear ou Cubico o qual causa que as fei es mais afiadas se suavizem 13 2 3 Menu de transpar ncia QGIS mostra cada camada raster com um n vel diferente de transpar ncia Use a barra deslizante de transpar ncia para indicar a que nivel as camadas de baixo se houver alguma devem ser visiveis atrav s 13 2 Dialogo de propriedades do Raster 137 QGIS User Guide Vers o 2 2 da camada em uso Isto muito til se deseja sobrepor mais de uma camada por exemplo um mapa de relevo sombreado sobreposto a um mapa raster com
420. ress es permitir salvar as ltimas 20 express es utilizadas Colar WKT da rea de transfer ncia Agora o QGIS pode colar e criar uma nova fei o baseada no WKT que se encontra na rea de transfer ncia Apenas copie o WKT e cole em uma camada edit vel Voc pode tamb m criar uma nova camada por sele o Editar Colar Como Nova Camada Tempor ria Compositor de impress o Melhorias na borda do mapa estilo zebra Voc pode ajustar as cores da borda do mapa estilo zebra no compositor de impress o Suporte para rota o de elementos Todo tipo de elementos no compositor pode ser rotacionado incluindo barras de escala tabelas e legendas Por exemplo voc pode rotacionar um r tulo na composi o para ajust lo melhor ao modelo do mapa como ilustrado O redimensionamento de elementos rotacionados tamb m foi melhorado Melhorias na escala e r gua no compositor A apar ncia das r guas t m sido aperfei oado ajustando pela l gica da escala e adicionando divis es menores na r gua al m de utilizar textos rotacionados no sentido vertical da r gua Tamb m existe uma nova a o do compositor para esconder mostar r guas Voc pode rapidamente dar um zoom em 100 da escala da p gina usando a nova op o na barra de ferramentas A janela do compositor agora permite rapidamente trocar a escala da p gina atrav s de uma nova caixa de combina o na barra de status Al m disso um novo indicador foi adicionado para mostr
421. rma original quanto bin ria com os maiores componentes o compilador o kernel etc do sistema operacional sob o qual o execut vel funciona a menos que o componente em si acompanhe o execut vel Se a distribui o do execut vel ou c digo objeto feita atrav s da oferta de acesso a c pias de algum lugar ent o ofertar o acesso equivalente a c pia do mesmo lugar do c digo fonte equivale distribui o do c digo fonte mesmo que terceiros n o sejam compelidos a copiar o c digo fonte com o c digo objeto 4 Voc n o pode copiar modificar sub licenciar ou distribuir o Programa exceto de acordo com as condi es expressas nesta Licen a Qualquer outra tentativa de c pia modifica o sub licenciamento ou distribui o do Programa n o valida e cancelar automaticamente os direitos que lhe foram fornecidos por esta Li cen a No entanto terceiros que de voc receberam c pias ou direitos fornecidos sob os termos desta Licen a n o ter o suas licen as terminadas desde que permane am em total concord ncia com ela 5 Voc n o obrigado a aceitar esta Licen a j que n o a assmou No entanto nada mais o dar permiss o para modificar ou distribuir o Programa ou trabalhos derivados deste Estas a es s o proibidas por lei caso voc n o aceite esta Licen a Desta forma ao modificar ou distribuir o Programa ou qualquer trabalho derivado do Programa voc estar indicando sua total aceita o
422. rs by holding down the Shi ft key while clicking See section Ferramenta de Consulta for information on using the PostgreSQL Query Builder to further define the layer Clique no bot o Add para adicionar a camada ao mapa Dica Camadas PostGIS Normally a PostGIS layer is defined by an entry in the geometry columns table From version 0 9 0 on QGIS can load layers that do not have an entry in the geometry columns table This includes both tables and views Defining a spatial view provides a powerful means to visualize your data Refer to your PostgreSQL manual for information on creating views Alguns detalhes sobre as camadas PostgreSQL This section contains some details on how QGIS accesses PostgreSQL layers Most of the time QGIS should simply provide you with a list of database tables that can be loaded and it will load them on request However if you have trouble loading a PostgreSQL table into QGIS the information below may help you understand any QGIS messages and give you direction on changing the PostgreSQL table or view definition to allow QGIS to load it QGIS requires that PostgreSQL layers contain a column that can be used as a unique key for the layer For tables this usually means that the table needs a primary key or a column with a unique constraint on it In QGIS this column needs to be of type int4 an integer of size 4 bytes Alternatively the ctid column can be used as primary 74 Cap tulo 12 Trabalhando co
423. rst select T F JAN as Attributes and click the E button then T F JUL and finally T F MEAN Now click Apply to display the diagram in the QGIS main window You can adapt the chart size in the Size tab Deactivate the A Fixed size and set the size of the diagrams on the basis of an attribute with the Find maximum value button and the Size menu If the diagrams appear Capitulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Layer Properties climate Diagrams e amp Display diagrams Style Diagram type ate Text diagram gt Priority Low High Labels Appearance Size Position Options E Fields amp Fixedsize 18 00000 r Es 7 Display Size units mm KO curve Scale linearly between O and the Following attribute value diagram size 4 Attribute ID E Find maximum value Size 50 Scale Joins Increase size of small dia grams Diagrams Minimum size 0 00 3 Metadata Attributes Available attributes Assigned attributes Attribute Attribute Color Ip T F JAN STATION Eu T F JUL T F JAN T F MEAN T F JUL EN T F MEAN e Load Style Save As Default Restore Default Style Save Style M Help Apply Cancel OKI Figura 12 30 Vector properties dialog with diagram menu too small on the screen you can activate the Ed Increase size of small diagrams checkbox and define the minimum size of the diagrams 9 Change the attribute colors by dou
424. s cpt city color ramp Selections by theme Name All Ramps Bathymetry Blues Discord Diverging Greens Greys gt QGIS Precipitation Reds Temperature Topography Topography bathymetry Top of the cpt palettes Top of the svg palettes Transparency w v Selection and preview Information Palette Path All by author All Ramps 592 Hm dkbluered summer cbacPiYG cbacPRGn cbacRdGy cbacRdYlBu cbcBrBG c3t1 License Save as standard gradient Help cbacBrBG cbacBrBG11 FATO cbacPuOr cbacRdBu Pati cbacRdYlGn cbacSpectral i atu garish14 g 7 g l E T Cancel OK Figura 12 11 cpt city dialog with hundreds of color ramps 12 2 Janela de Propriedades de Vetor 85 QGIS User Guide Vers o 2 2 The Graduated Renderer 1s used to render all the features from a layer using a single user defined symbol whose color reflects the assignment of a selected feature s attribute to a class Layer Properties majrivers Style PS EI v Layer rendering Layer transparency s 0 Layer blending mode Normal Feature blending mode Normal E Labels ES i BB Fields Graduated i Column LENGTH NNI Rendering _ ao Symbol Change Classes 5 7 i Display YF Color ramp E Rdyicn C Invert Mode Equal Interval EO Actions EE l y Symbol Value Label Joins 0 0000 0 0000 15240 8438 152440 8 15240 8438
425. s When you save a qgs project any changes you have made to Grid North Arrow Scale Bar and Copyright will be saved in the project and restored the next time you load the project 8 7 Ferramentas de anotacao The Text Annotation too in the attribute toolbar provides the possibility to place formatted text in a balloon on the QGIS map canvas Use the Text Annotation tool and click into the map canvas Double clicking on the item opens a dialog with various options There 1s the text editor to enter the formatted text and other item settings For instance there is the choice of having the item placed on a map position displayed by a marker symbol or to have the item on a screen position not related to the map The item can be moved by map position by dragging the map marker or by moving only the balloon The icons are part of the GIS theme and they are used by default in the other themes too The E Move Annotation too allows you to move the annotation on the map canvas 8 7 1 Html annotations The Html Annotation tools in the attribute toolbar provides the possibility to place the content of an html file in a balloon on the QGIS map canvas Using the Html Annotation tool click into the map canvas and add the path to the html file into the dialog 42 Capitulo 8 Ferramentas Gerais QGIS User Guide Vers o 2 2 Annotation text Ubuntu v 11 Bu QGIS rocks amp Fixed map position Frame width 1 00 a Backgr
426. s expressed in SLD As QGIS desktop and QGIS Server use the same visualization libraries the maps that are published on the web look the same as in desktop GIS The Publish to Web plugin currently supports basic symbolization with the option to introduce more complex cartographic visualization rules manually As the configuration is performed with the SLD standard and its documented extensions there is only one standardised language to learn which greatly simplifies the complexity of creating maps for the Web In one of the following manuals we will provide a sample configuration to set up a QGIS Server For now we recommend to read one of the following URLs to get more information http karlinapp ethz ch qgis_wms http hub qgis org projects quantum gis wiki QGIS_Server_Tutorial http linfiniti com 2010 08 qgis mapserver a wms server for the masses 14 2 1 Instala o simples no Debian Squeeze At this point we will give a short and simple sample installation how to for Debian Squeeze Many other OSs provide packages for QGIS Server too If you have to build it all from source please refer to the URLs above Apart from QGIS and QGIS Server you need a web server in our case apache2 You can install all packages with aptitude or apt get install together with other necessary dependency packages After installation you should test to confirm that the web server and QGIS Server work as expected Make sure the apache serv
427. s o 2 2 18 1 5 Op es gerais dos itens do Compositor Composer items have a set of common properties you will find on the bottom of the Item Properties tab Position and size Frame Background Item ID and Rendering See figure composer 2 v Position and size Reference point x 10 Y 10 Br Width 277 8 8B E Height 187 JUL Frame 8 v amp Background Color ItemiD Id Uuid read only 3b39 441f 9767 6c91199bd36c Figura 18 2 Janela comum das propriedades do item A janela Posi o e tamanho permite que defina o tamanho e posi o da moldura que cont m o item Pode tamb m escolher que Ponto de refer ncia ser configurado nas coordenadas X e Y previamente definidas The Rotation sets the rotation of the element in degrees A Ed Moldura mostra ou esconde a moldura volta da etiqueta Clique nos bot es de Cor e Espessura para ajustar essas propriedades The 4 Background enables or disables a background color Click on the Color button to display a dialog where you can pick a color or choose from a custom setting Transparency can also be adjusted throught the alpha field Use the Item ID to create a relationship to other Print Composer items This is used with QGIS server and any potential web client You can set an ID on an item e g a map and a label and then the web client can send data to set a property e g label text for that specific item The GetProjectSettings command will list
428. s o seleccionadas elas ser o combinadas no Servidor WMS e transmitido ao QGIS de uma s vez Dica Ordena o das Camadas WMS As camadas WMS renderizadas por um servidor s o sobrepostas na ordem da lista da sec o de Camadas de cima para baixo da lista Se quiser alterar a ordem de sobreposi o pode usar o separador Ordem de camadas Transpar ncia Nesta vers o do QGIS a configura o Transpar ncia Global da Propriedades da Camada est codificado para estar sempre ligado quando dispon vel Dica Transpar ncia da Camada WMS Disponibilidade da transpar ncia da imagem do WMS depende da codifica o da imagem usada PNG e GIF suportam transpar ncia enquanto que o JPEG deixa como n o suportado Sistema de Coordenadas Refer ncia O Sistema de Coordenadas Refer ncia SRC a terminologia OGC para uma projec o QGIS Cada Camada WMS pode ser apresentada em m ltiplos SRC depedendo da capacidade do servidor WMS Para escolher o SRC seleccione Alterar e a janela semelhante da Figura Projec o 3 na Trabalhando com Proje es aparecer A diferen a principal com a vers o do WMS do ecr que neste apenas os SRC suportados apareceram no Servidor WMS 14 1 QGIS como Cliente de Dados OGC 147 QGIS User Guide Vers o 2 2 Pesquisa de servidor Dentro do QGIS pode pesquisar por servidores WMS Figure OGC 2 mostra o separador Pesquisar Servidor com a janela Adicionar Camada s do Servidor Add Layer s
429. s use a second set like this c0110 Using the Identify Features tool you can open the Identify Results dialog It includes a Derived item that contains information relevant to the layer type The values in this item can be accessed in a similar way to the other fields by preceeding the derived field name with Derived For example a point layer has an X and Y field and the values of these fields can be used in the action with Derived X and Derived Y The derived attributes are only available from the Identify Results dialog box not the Attribute Table dialog box Two example actions are shown below e konqueror http www google com search q nam oo e konqueror http www google com search q In the first example the web browser konqueror is invoked and passed a URL to open The URL performs a Google search on the value of the nam field from our vector layer Note that the application or script called by the action must be in the path or you must provide the full path To be certain we could rewrite the first example as opt kde3 bin konqueror http www google com search g nam This will ensure that the konqueror application will be executed when the action is invoked The second example uses the notation which does not rely on a particular field for its value When the action is invoked the will be replaced by the value of the selected field in the identify results or attribute table Utilizando A
430. s QGIS 60 Cap tulo 10 Trabalhando com Proje es QGIS User Guide Vers o 2 2 e Entrada de SC e Usar SRC do projeto e Usar o SC pr definido mostrado abaixo Se quer definir o sistema de coordenadas para um dado tema sem informa o de SC pode tamb m faz lo no separador Geral da janela de propriedade raster e vector ver Menu Geral para rasters e General Menu para vectores Se o seu tema j tem um SC definido este ser mostrado como na Vector Layer Properties Dialog Dica SRC na Legenda do Mapa Clicando com o bot o direito num tema na Legenda do Mapa sec o Legenda do Mapa mostra dois atalhos SC Definir SC do tema abre a janela de Selec o de Sistema de Coordenadas ver figure projection 2 Definir SC do projecto a partir do Tema redefine o SC do projecto usando o SC do tema 10 3 Definir Reproje o Din mica Voo Livre OTF O QGIS suporta reprojec o din mica para dados raster e vector Contudo RD n o est activa por omiss o Para usar projec o din mica deve activar a caixa de op o Ed Activar transforma o din mica de SC no separador SC na janela E Propriedades do Projecto H tr s formas de fazer isto 1 Selecione menuselecion Propriedades do Projeto no menu Projecto Gnome OSX ou Defini es KDE Windows PS 2 Clique no cone e estado SC no canto inferior direito da barra de estado 3 Active a projec o din mica por omiss o no separador SC da ja
431. s itens para selecionar o SC corre spondente 4 Sistemas de coordenadas do mundo Esta a lista de todos os SCs suportados pelo QGIS incluindo sistemas de coordenadas Geogr ficas Projectadas e Personalizados Para definir um SC seleccione o na lista expandindo o n apropriado e seleccionado o SC O SC activo est pr seleccionado 5 Texto PROJ 4 Este um texto de SC usado pelo motor de projec es PROJ 4 Este texto de apenas leitura e fornecido para fins de informa o 10 3 Definir Reproje o Din mica Voo Livre OTF 61 QGIS User Guide Vers o 2 2 Project Properties CRS gt Ceneral I Enable on the fly CRS transformation d CRS Filter i Recently used coordinate reference systems IES identify layers y y Coordinate Reference System Authority ID Default styles Generated CRS proj aea lat 1 55 la USER 100001 WGS 84 Pseudo Mercator EPSG 3857 RE OWS server NAD27 Alaska Albers EPSG 2964 O WGS 84 EPSG 4326 a Macros Datum 73 Modified Portuguese Grid EPSG 27493 Cae al 4 ee CREED ee Relations Coordinate reference systems of the world Hide deprecated CRSs Coordinate Reference System Authority ID GDA94 Australian Albers EPSG 3577 Hawaii Albers Equal Area Conic EPSG 102007 NAD27 Alaska Albers EPSG 2964 NAD27 California Albers EPSG 3309 kra ma fm d7075 7 all o l H AG mm ADAC Pn Selected CRS NAD27 Alaska Albers proj aea lat 1
432. s of the data pyramids 458x246 performance can be considerably improved as QGIS selects 229 x 123 Pyramids the most suitable resolution to use depending on the level of 114x 61 zoom You must have write access in the directory where the IRES Histogram original data is stored to build pyramids fi Metadata Please note that building internal pyramids may alter the original data File and once created they cannot be removed Please note that building internal pyramids could corrupt your image always make a backup of your data first Overview format External x Resampling method Nearest Neighbour 1 0 Build pyramids Restore Default Style Save As Default Load Style Save Style Hel Apply Cancel oK Figura 13 7 The Pyramids Menu 13 2 5 Menu Histograma O menu The Histograma permite ver a distribui o das bandas ou cores no rastser O histograma gerado auto maticamente quando se abre o menu Histograma Todas as bandas presentes som apresentadas juntas Pode se salvar o histograma como imagem com o bot o ImA oSalvar Arquivol Com a op o With the Visibilidade do menu Q Prefs A es podem se mostrar histogramas individuais de bandas Para isto selecione a op o Mostrar banda selecionada O Op es M n m x permite Sempre mostrar marcadores m n m x a Zoom para m n m x e Atualizar estilo para min max Depois de escolher Op es M n m
433. s or 99 66 polygons as constraints for the triangulation by specifying either points structure lines or break lines in the Type IT combo box Interpolation attribute Select the attribute column to be used for interpolation or enable the 4 Use Z Coordinate checkbox to use the layer s stored Z values Interpolation Method Select the interpolation method This can be either Triangulated Irregular Network TIN or Inverse Distance Weighted IDW Number of columns rows Specify the number of rows and columns for the output raster file Arquivo de Sa da Define o nome do arquivo raster de sa da g Adicionar resultado para projetar para carregar o resultado na tela do mapa Interpolation plugin Input Output Vector layers elevation Interpolation method Triangular interpolation TIN Interpolation attribute ELEV Number of columns 998 Number of rows 708 Cellsize X 5000 00000 Cellsize Y 5000 00000 7 Add Remove X min 2 84614e 06 X max 2 14422e 06 Vector layer Attribute Type Y min 4 61336e 06 Y max 8 15568e 06 elevation ELEV Points Set to current extent Output file data elevation_tin Add result to project Coe DR Figura 19 19 Complemento Interpolation T 19 10 1 Usando o complemento 1 Inicie QGIS e coloque uma camada de ponto vetor por exemplo elevp csv 2 Load the Interpolation plugin in the Plugin Manager see O menu de complementos and cli
434. s que voc tem Voc deve garantir que eles tamb m recebam ou possam acessar o codigo fonte E voc deve mostrar a eles estes termos para que eles saibam seus direitos N s protegemos seus direitos com dois passos 1 direitos autorais do software e 2 oferecemos a voc esta licen a que lhe d a permiss o legal para copiar distruibuir e ou modificar o software Tamb m para a prote o nossa e de cada autor n s queremos garantir que todos compreendam que n o h garantia para este software livre Se o software for modificado por outra pessoa e passado adiante os benefici rios devem saber que oque eles tem n o o software original para que qualquer problema introduzido por outros n o reflita na reputa ao do autor original Por fim qualquer programa livre constantemente amea ado por patentes de softwares N s queremos evitar o risco de que redistribuidores de um programa livre obtenham licen as individuais fazendo assim do programa propriet rio Para prevenir isso n s deixamos claro que qualquer patente deve ser licenciada para o uso livre de todas as pessoas Seguem os precisos termos e condi es para c pia ditribui ao e modifica ao TERMOS E CONDI ES PARA C PIA DISTRIBUI O E MODIFICA O O Esta licen a se aplica a qualquer programa ou outro trabalho que contenha um aviso inserido pelo detentor dos direitos autorais informando que o mesmo pode ser distribu do sob as condi es desta Licen a P bl
435. s selected you can create a preview of all the pages by clicking on Atlas Preview Atlas and using the arrows in the same menu to navigate through all the features 18 6 3 Cria o The atlas generation can be done in different ways For example with Atlas Print Atlas you can directly print it You can also create a PDF using Atlas Export Atlas as PDF The user will be asked for a directory for saving all the generated PDF files except if the C Single file export when possible has been selected If you need to print just a page of the atlas simply start the preview function select the page you need and click on Composer Print or create a PDF 18 7 Criando um ficheiro de Saida Figure composer 30 shows the Print Composer with an example print layout including each type of map element described in the sections above The Print Composer allows you to create several output formats and it is possible to define the resolution print quality and paper size The H Print icon allows you to print the layout to a connected printer or a PostScript file depending on installed printer drivers e The Export as image icon exports the Composer canvas in several image formats such as PNG BPM TIF JPG e Aa Export as PDF saves the defined Print Composer canvas directly as a PDF 244 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 AEREE Composer View Layout AT Fx X
436. s setas e a barra de espa o Voc pode usar as setas do teclado para se deslocar no mapa Coloque o cursor do mouse dentro da rea do mapa e clique na seta para a direita para pan Leste seta para a esquerda para pan Oeste seta para cima para pan Norte e para baixo seta para deslocar Sul Voc tamb m pode deslocar o mapa utilizando a barra de espa o ou clique na roda do mouse 7 5 Barra de Status A barra de status mostra sua posi o atual nas coordenadas do mapa por exemplo metros ou graus decimais como o ponteiro do mouse movido atrav s da visualiza o do mapa Para a esquerda da tela de coordenadas na barra de status tem um pequeno bot o que ira alternar entre mostrar posi o coordenada ou como voc est visualizando as extens es do mapa como pan e zoom 1n e out Pr ximo coordenada mostrar que voc encontra a exibi o de escala Ele mostra a escala de visualiza o do mapa Se voc ampliar ou QGIS mostra a escala atual Este um seletor de escala que permite que voc escolha entre as escalas pr definidas a partir de 1 500 at 1 1000000 Uma barra de progresso na barra de status mostra o progresso de renderiza o como cada camada atra da para a visualiza o do mapa Em alguns casos como a coleta de estat sticas em camadas raster a barra de progresso ser usada para mostrar o status de opera es longas Se um novo complemento ou uma atualiza o de complemento est dispon vel voc ver uma m
437. s value Finally all information about the feature is displayed This window can be customized to display custom fields but by default it will display three kinds of information Actions Actions can be added to the identify feature windows When clicking on the action label action will be run By default only one action is added to view feature form for editing e Derived This information is calculated or derived from other information You can find clicked coordinate X and Y coordinates area in map units and perimeter in map units for polygons length in map units for lines and feature ids e Data attributes This is the list of attribute fields from the data Identify Results Feature v Value yo Fegions Actions y View Feature form Y Derived clicked 312603 165438 36 Area 69 138 048 km featureid 13 Perimeter 3 298 416 km HASC 2 US AK LA NAME 1 Alaska NAME 2 Lake and Peninsula TYPE 2 Borough C3 a e e NM close Figura 8 5 Janela identificar fei o Gnome At the bottom of the window you have five icons E Expand tree Ef Collapse tree e Default behaviour Copy attributes Tal Print selected HTML response Other functions can be found in the context menu of the identified item For example from the context menu you can e View the feature form Zoom para fei o e Copy feature Copy all feature geometry and attributes e Copy attribute value Copy on
438. s you to assign the current airport to another region Attributes airports ID ELEV NAME USE cancel Figura 12 43 Identification dialog airport with relation to regions Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 12 4 Ferramenta de Consulta The Query Builder allows you to define a subset of a table using a SQL like WHERE clause and to display the result in the main window The query result can then be saved as a new vector layer 12 4 1 Consulta Open the Query Builder by opening the Layer Properties and going to the General menu Under Feature subset click on the Query Builder button to open the Query builder For example if you have a regions layer with a TYPE_2 field you could select only regions that are borough in the Provider specific filter expression box of the Query Builder Figure attributes 2 shows an example of the Query Builder populated with the regions shp layer from the QGIS sample data The Fields Values and Operators sections help you to construct the SQL like query 12 4 Ferramenta de Consulta 123 QGIS User Guide Vers o 2 2 regions Fields Values NAME 1 Borough NAME 2 Census Area HASC 2 Municipality TYPE 2 City And Borough Sample All Use unfiltered layer w Operators R Query Result Provider specific filter expression TYPE 2 Borough T The where clause returned 12 row s H
439. selected layer Each row in the table represents one map feature and each column contains a particular piece of information about the feature Features in the table can be searched selected moved or even edited To open the attribute table for a vector layer make the layer active by clicking on it in the map legend area Then from the main Layer menu choose Open Attribute Table It is also possible to right click on the layer and choose Open Attribute Table from the drop down menu and to click on the Open Attribute Table button in the Attributes toolbar This will open a new window that displays the feature attributes for the layer figure attributes 1 The number of features and the number of selected features are shown 1n the attribute table title Attribute table regions Features total 26 Filtered 26 selected 4 NAME 1 4 NAME 2 HASC 2 TYPE 2 0 i 2 3 4 Alaska Bristol Bay US AK BR Borough 5 Alaska Denali US AK DE Borough 6 Alaska Dillingham US AK DI Census Area 7 Alaska Fairbanks North Star US AK FA Borough 8 Alaska Haines US AK HA Borough 9 Alaska Juneau US AK JU City And Bo 10 Alaska Kenai Peninsula US AK KN Borough a EK Ls ess sms nie ane vem oggi L m kd Show All Features ae Figura 12 39 Tabela de Atributos para a camada regi es rs Seleccionando elementos na tabela de atributos Cada linha selecionada na tabela de atributos representa os atributos de um determinado elemento da camada S
440. ser Guide Vers o 2 2 e The button is for toggling the edit mode Be aware that it toggles the edit mode of the airport layer although we are in the feature form of a feature from the region layer But the table is representing features of the airport layer e The button will add a new feature to the airport layer And it will assign the new airport to the current region by default e The ES button will delete the selected airport permanently e The symbol will open a new dialog where you can select any existing airport which will then be assigned to the current region This may be handy if you created the airport on the wrong region by accident The symbol will unlink the selected airport from the current region leaving them unassigned the foreign key is set to NULL effectively The two buttons to the right switch between table view and form view where the later let s you view all the airports in their respective form If you work on the airport table a new widget type is available which lets you embed the feature form of the referenced region on the feature form of the airports It can be used when you open the layer properties of the airports table switch to the Fields menu and change the widget type of the foreign key field fK region to Relation Reference If you look at the feature dialog now you will see that the form of the region is embedded inside the airports form and will even have a combobox which allow
441. shared boundary in a polygon mosaic so you only have to move the vertex once and QGIS will take care of updating the other boundary 108 Cap tulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 Evitar intersec es de novos pol gonos The second topological option in the Ed Avoid Int column called Avoid intersections of new polygons avoids overlaps in polygon mosaics It is for quicker digitizing of adjacent polygons If you already have one polygon it is possible with this option to digitize the second one such that both intersect and QGIS then cuts the second polygon to the common boundary The advantage is that you don t have to digitize all vertices of the common boundary Activar atrac o nas intersec es Another option is to use Ed Enable snapping on intersection It allows you to snap on an intersection of back ground layers even if there s no vertex on the intersection 12 3 4 Digitalizar uma camada existente By default QGIS loads layers read only This is a safeguard to avoid accidentally editing a layer if there is a slip of the mouse However you can choose to edit any layer as long as the data provider supports it and the underlying data source is writable 1 e its files are not read only In general tools for editing vector layers are divided into a digitizing and an advanced digitizing toolbar described in section Digitaliza o Avan ada You can select and unselect both under Set
442. shed click View output The lakes grass vector layer is now imported into GRASS and will be visualized in the QGIS canvas 16 5 O modelo de dados vetorial do GRASS importante compreender o modelo de dados vetor GRASS antes da digitaliza o Em geral GRASS utiliza um modelo de vetor topol gico Isto significa que as reas n o s o representadas como pol gonos fechados mas por um ou mais limites A fronteira entre duas reas adjacentes digitalizada apenas uma vez e compartilhada por ambas as reas Limites precisam estar conectados e fechados sem lacunas Uma rea identificada e rotulada pelo centr ide da rea Besides boundaries and centroids a vector map can also contain points and lines All these geometry elements can be mixed in one vector and will be represented in different so called layers inside one GRASS vector map So in GRASS a layer is not a vector or raster map but a level inside a vector layer This is important to distinguish carefully Although it is possible to mix geometry elements it is unusual and even in GRASS only used in special cases such as vector network analysis Normally you should prefer to store different geometry elements in different layers It is possible to store several layers in one vector dataset For example fields forests and lakes can be stored in one vector An adjacent forest and lake can share the same boundary but they have separate attribute tables
443. spacial Complemento SPIT Complemento Estat stica Zonal Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 19 2 Usando os M dulos QGIS Core 251 QGIS User Guide Vers o 2 2 19 3 Complemento de Captura de Coordenadas O complemento de captura de coordenadas f cil de usar e oferece a possibilidade de visualizar as coordenadas na tela de mapa para dois sistemas de refer ncia de coordenadas selecionados SRC Coordinate Capture e x b Copy to clipboard Start capture Figura 19 6 Complemento de Captura de Coordenadas 1 Iniciar QGIS selecionar R Propriedades do Projeto apartir do menu Configura es KDE Windows ou Arquivo Gnome OSX e clique no guilabel Aba Proje o Alternativamente voc pode clicar no cone Status do SRC no canto inferior direito da barra de status 2 Clique na caixa de verifica o Ed Ativar proje o on the fly e selecione o sistema de coordenadas proje tado sua escolha veja tamb m Trabalhando com Proje es 3 Carregue o complemento de captura de coordenadas no Gerenciador de Complementos veja load core plugin e assegure se que a janela vis vel indo Ver Pain is e assegurar que a Cap tura de Coordenadas est ativada A janela de captura de coordenadas aparece como mostra a Figura figure coordinate capture 1 Em alternativa pode tamb m ir Vector Captura de Coordenadas e ver se Ed Captura de Coordena
444. ss es nos diagramas de s mbolos para tamanho e atributos Voc pode usar uma express o para definir o tamanho e atributos quando utilizar as capacidades de constru o de diagramas do QGIS Outra regra no renderizados baseado em regra O renderizador baseado em regra suporta uma outra regra que rodar se nenhuma outra neste n vel corresponder Outras regras podem ser encaixadas assim como quaiquer outras Um exemplo pode ser type water style grey ELSE style red Apoio de tra ado interno para pol gonos Foi adicionado suporte para o tra ado de pol gonos a serem limitados no interior do pol gono para n o transbordar para um pol gono vizinho Interface de usu rio Melhorias no di logo de propriedades Todas as propriedades di logos tiveram seus menus atualizados para que eles se pare am mais lisos com uma barra lateral de cor inversa Isto puramente com tico mas deve facilitar as atividades neste di logo Melhorias no di logo de express es Fizemos alguns ajustes para o di logo de express o usu rios avan a dos podem esconder os bot es de opera o Existem tamb m novos divisores entre as reas da lista de fun es de ajudas e de express es Novas combina es de teclas N s atualizamos os atalhos no QGIS para faz lo mais eficiente em tarefas repetitivas Ctrl d Remove camadas selecionadas na tabela de atributos gt Seleciona o pr ximo v rtice utilizando a ferramenta de n s lt
445. ss the mouse wheel to pan inside of the main window and you can roll the mouse wheel to zoom in and out on the map For zooming place the mouse cursor inside the map area and roll it forward away from you to zoom in and backwards towards you to zoom out The mouse cursor position will be the center of the zoomed area of interest You can customize the behavior of the mouse wheel zoom using the Map tools tab under the Settings BN Options menu Movendo a direc o com as setas do teclado Panning the map during digitizing is possible with the arrow keys Place the mouse cursor inside the map area and click on the right arrow key to pan east left arrow key to pan west up arrow key to pan north and down arrow key to pan south You can also use the space bar to temporarily cause mouse movements to pan the map The PgUp and PgDown keys on your keyboard will cause the map display to zoom in or out without interrupting your digitizing session 12 3 3 Edi o Topol gica Besides layer based snapping options you can also define topological functionalities in the Snapping options dialog in the Settings or File menu Here you can define Ed Enable topological editing and or for polygon layers you can activate the column E Avoid Int which avoids intersection of new polygons Activar edi o topol gica The option A Enable topological editing 1s for editing and maintaining common boundaries in polygon mosaics QGIS detects a
446. st be added and in the case that it has the same extent and CRS it will be visualized If the file has another CRS and layer extent you must first right click on the layer and choose Set Project CRS from Layer Then choose Zoom to Layer Extent The d Fitter files function works on a directory level Browse to the folder where you want to filter files and enter a search word or wildcard The Browser will show only matching filenames other data won t be displayed It s also possible to run the QGIS Browser as a stand alone application Start the QGIS browser Escreva na linha de comandos qbrowser e 7 Start the QGIS Browser using the Start menu or desktop shortcut X The QGIS Browser is available from your Applications folder In figure browser standalone metadata you can see the enhanced functionality of the stand alone QGIS Browser The Param tab provides the details of your connection based datasets like PostGIS or MSSQL Spatial The Metadata tab contains general information about the file see Metadata Menu With the Preview tab you can have a look at your files without importing them into your QGIS project It s also possible to preview the attributes of your files in the Attributes tab Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 66 Cap tulo 11 QGIS Browser CAP TULO 12 Trabalhando com Dados Vetoriais Docs for QGIS testing Visit http docs qgis
447. st set the value of a variable with the name you used to declare that output For instance if you have used this declaration average output number a linha seguinte ir configurar o valor de sa da para 5 average 5 Em adi o s etiquetas para os par metros e ficheiros de sa da pode tamb m definir o grupo onde o algoritmo ser exibido usando a etiqueta group If your algorithm takes a long time to process it is a good idea to inform the user You have a global named progress available with two possible methods set Text text and setPercentage percent to modify the progress text and the progress bar 210 Capitulo 17 QGIS estrutura de processamento QGIS User Guide Vers o 2 2 Several examples are provided Please check them to see real examples of how to create algorithms using the processing framework classes You can right click on any script algorithm and select Edit script to edit its code or just to see it 17 5 4 Documentando Os seus scripts As in the case of models you can create additional documentation for your scripts to explain what they do and how to use them In the script editing dialog you will find an Edit script help button Click on it and it will take you to the help editing dialog Check the section about the graphical modeler to know more about this dialog and how to use it Help files are saved in the same folder as the script itself adding the help extension to the filename Notice tha
448. ster Espacial pd UA Processamento anteriomente designado de SEXTANTE m ON Raster Terrain Analysis Analyze raster based terrain fd J Road Graph Plugin Analyze a shortest path network pd oo M dulo de Consulta Espacial SPIT Import shapefiles to PostgreSQL PostGIS N o No M dulo SQL Anywhere Armazena camadas vectoriais dentro de base de dados SQL Anywhere NO pd Topology Checker Find topological errors in vector layers NO NO Zonal Statistics Plugin Calculate count sum and mean of a raster for each polygon of a vector layer 4 6 2 Modulos Externos Python QGIS offers a growing number of external Python plugins that are provided by the community These plugins reside in the official Plugins Repository and can be easily installed using the Python Plugin Installer See Section O menu de complementos 4 7 Consola Python For scripting it is possible to take advantage of an integrated Python console which can be opened from menu Plugins Python Console The console opens as a non modal utility window For interaction with the QGIS en vironment there is the qgis utils iface variable which is an instance of QgsInterface This interface allows access to the map canvas menus toolbars and other parts of the QGIS application For further information about working with the Python console and programming QGIS plugins and applications please refer to http www qgis org html en docs
449. stilo Os estilos da imagem desta camada podem ser renderizadas pelo o servidor WMS Mostra a legenda gr fica do WMS no tabela de conte dos e compositor O provedor de dados WMS QGIS capaz de exibir um gr fico legenda na tabela da lista de camadas conte dos e no compositor mapa A legenda WMS ser exibida somente se o servidor WMS suportar GetLegendGraphic e a camada tiver getCapability url especificado para que voc tamb m tenha como escolher um estilo para a camada Se uma legendGraphic est dispon vel ser mostrada abaixo da camada pequena e voc tem que clicar sobre ela para abrir na dimens o real devido limita o arquitet nica QgsLegendInterface Clicando sobre a legenda da camada abrir um quadro com a legenda em resolu o m xima No compositor de impress o a legenda ser integrada a ele baixando dimens o origin ria Resolu o do gr fico lenda pode ser definido nas propriedades do item sob Legenda gt WMS LegendGraphic para atender s suas necessidades de impress o A lenda ira exibir informa es contextuais com base em sua escala atual A lenda WMS ser exibida somente se o servidor WMS tiver capacidade GetLegendGraphic e a camada for getCapability url especificada ent o voc tem que selecionar um estilo Limita es do WMS Cliente Nem todas as funcionalidades poss veis do cliente WMS foram inclu das nesta vers o do QGIS Seguem se algu mas das mais not veis excep es Edi
450. t you can edit your script s help before saving the script for the first time If you later close the script editing dialog without saving the script 1 e you discard it the help content you wrote will be lost If your script was already saved and is associated to a filename saving the help content 1s done automatically 17 5 5 Pr e p s execu o de encaixe da script Os scripts podem tamb m ser usados para definir um encaixe de pr e p s execu o que correm antes e depois do algoritmo correr Isto pode ser usado para automatizar tarefas que ser o executados quando qualquer algoritmo executado A sintaxe identica sintaxe explicada em cima mas uma vari vel global alg est dispon vel representando o algoritmo que foi ou est prestes a ser executado In the General group of the processing configuration dialog you will find two entries named Pre execution script file and Post execution script file where the filename of the scripts to be run in each case can be entered Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 17 6 Gestao do historico 17 6 1 O hist rico do processamento Cada vez que executa um algoritmo a informa o do processo armazenado no gestor hist rico Juntamente com os par metros usados a data e o tempo de execu o s o tamb m guardados This way it is easy to track and control all the work that has been developed using the processing fram
451. t example creates a vector contour map from an elevation raster DEM Here it is assumed that you have the Alaska LOCATION set up as explained in section Importando dados para uma localiza o GRASS 180 First open the location by clicking the LB Open mapset button and choosing the Alaska location Agora carregue o raster gtopo30 eleva o clicando x sup Adicionar camada raster GRASS e sele cionando o raster gtopo30 a partir do local de demonstra o Agora abra a caixa de ferramentas com o A sup bot o Abrir ferramentas GRASS In the list of tool categories double click Raster Surface Management Generate vector contour lines Now a single click on the tool r contour will open the tool dialog as explained above see Trabalhando com m dulos GRASS The gtopo30 raster should appear as the Name of input raster a go A pe Digite no Incremento entre os n veis de contorno 9 Y o valor 100 Isto criar linhas de contorno em intervalos de 100 metros Digite no guilabel Nome para a sa da do vetor mapa o nome ctour 100 Cap tulo 16 Integra o com SIG GRASS QGIS User Guide Vers o 2 2 Clique Rodar para iniciar o processo Aguarde alguns instantes at que a mensagem Terminado com sucesso apare a na janela de sa da Ent o clique Ver sa da e fechar Como se trata de uma grande regi o vai demorar um pouco para exibir Depois de terminar a renderiza o voc pode abrir a janela de
452. t for a SAGA algorithm QGIS resamples them to a common grid system and then passes them to SAGA unless the SAGA algorithm can operate with layers from different grid systems The definition of that common grid system is controlled by the user and you will find several parameters in the SAGA group of the settings window to do so There are two ways of setting the target grid system e Setting it manually You define the extent by setting the values of the following parameters Reamostragem do X min Reamostragem do X m x Reamostragem do Y min Reamostragem do Y m x Reamostragem do tamanho da c lula Tenha em aten o que o QGIS ir reamostrar as camadas de entrada para essa extens o mesmo que n o se sobreponham e Setting it automatically from input layers To select this option just check the Use min covering grid system for resampling option All the other settings will be ignored and the minimum extent that covers all the input layers will be used The cell size of the target layer is the maximum of all cell sizes of the input layers Para algoritmos que n o usam camadas raster m ltiplas ou para aquelas que n o necessitam de um nico sistema de grelha de entrada n o ser feito uma reamostragem antes de chamar o SAGA e esses par metros n o ser o usados 17 7 5 Limita es para camadas multi banda Unlike QGIS SAGA has no support for multi band layers If you want to use a multiband layer such as an
453. t variable at least available on and X export PG USE COPY YES ogr2ogr does not create spatial indexes like shp2pgsl does You need to create them manually using the normal SQL command CREATE INDEX afterwards as an extra step as described in the next section melhorando o Desempenho melhorando o Desempenho Retrieving features from a PostgreSQL database can be time consuming especially over a network You can improve the drawing performance of PostgreSQL layers by ensuring that a PostGIS spatial index exists on each layer in the database PostGIS supports creation of a GiST Generalized Search Tree index to speed up spatial searches of the data GiST index information is taken from the PostGIS documentation available at http postgis refractions net The syntax for creating a GiST index 1s CREATE INDEX indexname ON tablename USING GIST geometryfield GIST GEOMETRY OPS Observe que para grandes tabelas a cria o do indice pode levar um longo tempo Uma vez que o ndice criado voc deve realizar um VACUUM ANALYZE Consulte a documenta o do PostGIS PostGIS PROJECT Refer ncias Bibliogr ficas e Web para mais informa es A seguir um exemplo de cria o de um ndice GiST gsherman madison current psql gis data Welcome to psql 8 3 0 the PostgreSQL interactive terminal Type copyright for distribution terms h for help with SQL commands for help with psql commands g or terminate with semicol
454. t were designed for the different kinds of vector data Layer rendering e Layer transparency You can make the underlying layer in the map canvas visible with this tool Use the slider to adapt the visibility of your vector layer to your needs You can also make a precise definition of the percentage of visibility in the the menu beside the slider Layer blending mode and Feature blending mode You can achieve special rendering effects with these tools that you may previously only know from graphics programs The pixels of your overlaying and underlaying layers are mixed through the settings described below Normal This is the standard blend mode which uses the alpha channel of the top pixel to blend with the pixel beneath it The colors aren t mixed Lighten This selects the maximum of each component from the foreground and background pixels Be aware that the results tend to be jagged and harsh Screen Light pixels from the source are painted over the destination while dark pixels are not This mode is most useful for mixing the texture of one layer with another layer e g you can use a hillshade to texture another layer Dodge Dodge will brighten and saturate underlying pixels based on the lightness of the top pixel So brighter top pixels cause the saturation and brightness of the underlying pixels to increase This works best if the top pixels aren t too bright otherwise the effect is too extreme
455. tando as Configura es da Camada WMS 150 Cap tulo 14 Trabalhando com dados OGC QGIS User Guide Vers o 2 2 Uma vez completo o procedimento em Adicionar camada WMS nio existe forma para alterar as configura es Uma forma alternativa apagar a camada completamente e come ar de novo Servidores WMS que Requerem Autentica o Actualmente o acesso p blico e servi os WMS protegidos s o suportados Os servidores WMS protegidos podem ser acedidos pela autentica o p blica Pode adicionar credenciais opcionais quando adiciona o servidor WMS Veja a sec o Seleccionando os Servidores WMS WMTS para detalhes Dica Accedendo a camadas protegidas OGC Se necessitar de proteger camadas com outros m todos seguros al m da autentica o b sica pode usar o InteProxy como proxy transparente que suporta v rios m todos de suporte Mais informa o pode ser encontrada no manual InteProxy no s tio na internet http inteproxy wald intevation org Dica qgl WMS Mapserver Desde a Vers o 1 7 o QGIS tem uma implementa o pr pria do Masserver WMS 1 3 0 Leia mais sobre este assunto no capitulo QG S com Servidor de Dados OGC 14 1 2 WCS Cliente O Servico Web de Cobertura WCS fornecem acesso aos dados matriciais de forma a serem teis renderiza o cliente como entrada a modelos cient ficos e para outros clientes O WCS pode ser comprado ao WFS e ao WMS Como as inst ncias WMS e WFS o WCS permite aos clientes escol
456. ter data in QGIS Gerenciar cc Continua o na pr xi 71 Barra de Menu a QGIS User Guide Vers o 2 2 Tabela 7 1 continua o da p gina anterior Op o de menu Atalho Barra de Fe amp Adicionar Camada PostGIS Le Adicionar camada SpatiaLite Adicionar Camada Espacial MSSOL a Adicionar camada Oracle GeoRaster F Adicionar camada SQL Anywhere e Adicionar Camada WMS WMTS e Adicionar Camada WCS VA O Adicionar camada WFS Ia Adicionar Camada de Texto Delimitado Ctrl Shift D Ctrl Shift L Ctrl Shift M Ctrl Shift W ver Camadas PostGIS ver Camadas SpatiaLite veja label mssql ver Oracle Spatial GeoRaster Plugin ver Complemento SQL Anywhere ver Cliente WMS WMTS veja WCS Cliente veja WFS e WFS T Cliente ver label dltext Gerenciar cc Gerenciar cc Gerenciar cc Gerenciar cc Gerenciar cc Gerenciar cc Gerenciar cc Gerenciar cc Gerenciar cc Copiar estilo veja Style Menu Colar estilo veja Style Menu Abrir tabela de Atributos Veja Trabalhando com a Tabela de Atributos Atributos Op es de Ressalto ver Digitalizar uma camada existente Digitaliza o Guardar edi es da camada ver Digitalizar uma camada existente Digitaliza o d Edi es Actuais ver Digitalizar uma camada existente Digitaliza o Savar como Savar arquivo vetor como ES Remover Camada s L Camada s Duplicada Definir SRC da s Camada s Definir o SRC do projeto a partir da camada Propriedad
457. ternet http www qgis org Licen a deste documento Permiss o garantida para c pia distribui o e ou modifica o deste documento sobre os tremos da Licen a de Documenta o Livre GNU Vers o 1 3 ou vers o mais recente publicada pela Funda o Software Livre sem Se es Invariantes sem textos de Capa e sem textos de Contra Capa A c pia da licen a incluida no Ap ndice GNU Licen a de Documenta o Gratu ta Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations QGIS User Guide Vers o 2 2 4 Cap tulo 1 Preambulo CAP TULO 2 Conven es Esta se o descreve os estilos uniformes que ser o utilizados ao longo deste manual 2 1 Conven es da Interface Gr fica Os estilos conven o da GUI s o destinados a similar a apar ncia gr fica Em geral um estilo vai refletir a apar ncia para que um usu rio possa verificar visualmente a GUI e encontrar algo semelhante com as instru es no manual Menu Op es Camada Adicionar uma camada Raster ou Configura es Barra de Ferramentas Digitalizar Ferramenta a Adiciona uma camada Raster Bot o Salvar como padr o Caixa de di logo T tulo Propriedades da camada Aba Geral Caixa de sele o Ed Renderizar Bot o de op o Postgis SRID EPSG ID F A Selecione um n mero 1 90 Selecione uma frase Procure pelo arquivo Selecione uma cor Border color B change r Bar
458. text All menus items available from the QGIS interface are available even if they are included in a submenu Python functions You can create short Python functions that will be then included in the list of available commands They are shown as Function function name gt To run any of the above just start typing and then select the corresponding element from the list of available commands that appears after filtering the whole list of commands with the text you have entered No caso de chamar uma fun o Python pode seleccionar uma entrada da lista que tem o prefixo de Fun o para a inst ncia Fun o removeall ou apenas escreva directamente o nome da fun o removeall no exemplo anterior N o existe necessidade de adicionar par ntesis ap s o nome da fun o 17 8 2 Criando fun es personalizadas As fun es personalizadas s o adicionadas ao introduzir o c digo Python correspondente no ficheiro commands py que pode ser encontrado qgis sextante commander directory na pasta do uti lizador E apenas um ficheiro Python simples onde pode adicionar as fun es que necessita 17 8 Linha de Comandos SEXTANTE 219 QGIS User Guide Vers o 2 2 The file 1s created with a few example functions the first time you open the Commander If you haven t launched the Commander yet you can create the file yourself To edit the commands file use your favorite text editor You can also use a built in editor by calling th
459. text and frame borders Labels margin between text and scale bar drawing and the Line width of the scale bar drawing The Alignment in the Display dialog only applies to Numeric styled scale bars and puts text on the left middle or right side of the frame 18 3 6 Adicionando uma Forma b sica ou item Seta no Compositor de Im press o It is possible to add basic shapes ellipse rectangle triangle and arrows to the Print Composer canvas Click the Add basic shape Add Arrow icon or the icon place the element with the left mouse button on the Print Composer canvas and position and customize the appearance in the Item Properties tab 236 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 v Display Box margin 1 00 mm E Labels margin 3 00 mm m Line width 1 00 mm k Alignment Left Fonts and colors Font Font color Fill color Stroke color Figura 18 20 Scale Bar Display Fonts and colors Dialogs The Shape item properties tab allows you to draw an ellipse rectangle or triangle in the Print Composer canvas You can define its outline and fill color the outline width and a clockwise rotation For the rectangle shape you can change the value of the corner radius item Properties EJ Shape Main properties Triangle E 4 Rotation 0 b Position and size v amp Frame B color Thickness 0 30 v amp Background Color b item ID b Rendering Figura 18
460. th the name that identifies the data object to use the name it has in the QGIS Table of Contents or a filename 1f the corresponding layer is not opened it will be opened but not added to the map canvas If you have an instance of a QGIS object representing the 17 5 Usando os algoritmos do processamento a partir da consola 207 QGIS User Guide Vers o 2 2 layer you can also pass it as parameter If the input is optional and you do not want to use any data object use None e Selec o Se algum algoritmo tiver um par metro de selec o o valor desse par metro deve ser introduzido usando um valor inteiro Para saber as op es dispon veis pode usar o comando algoptions como exibido no seguinte exemplo gt gt gt processing algoptions Saga slopeaspectcurvature METHOD Method O 0 Maximum Slope Travis et al 1975 1 1 Maximum Triangle Slope Tarboton 1997 2 2 Least Squares Fitted Plane Horn 1981 Costa Cabral amp Burgess 1996 3 3 Fit 2 Degree Polynom Bauer Rohdenburg Bork 1985 4 4 Fit 2 Degree Polynom Heerdegen amp Beran 1982 5 5 Fit 2 Degree Polynom Zevenbergen amp Thorne 1987 6 6 Fit 3 Degree Polynom Haralick 1983 In this case the algorithm has one such parameter with seven options Notice that ordering is zero based Multiple input The value is a string with input descriptors separated by semicolons As in the case of single layers or t
461. thoughts com Na Figure Heatmap 1 est o demonstrados os aeroportos do Alaska Quantum GI5 eb47 FFs View Layer Settings Plugins Vector ki a Layers x v airports 9 1 majrivers amp lakes LJ E A alaska gt E p landcover S amp Coordinate 6761566 5287365 Scale 22240717 9 E Render rPsco2964 Figura 19 24 Aeroportos do Alaska 6 1 Seleccione o bot o da ferramenta lhetmapl Mapa de Densidade para abrir a janela do m dulo Mapas de Densidades veja Figure heatmap 2 2 No campo Introduzir camada de pontos seleccione aeroportos da lista de camadas de pontos carregadas no projecto actual 19 14 M dulo de Mapa de Densidade 281 QGIS User Guide Vers o 2 2 Especifique um ficheiro de sa da clicando o bot o perto do campo Raster de sa da Introduza o nome do ficheiro heatmap airports n o necess rio extens o Deixe o Formato de Sa da o formato GeoTIFF como padr o Altere o Raio para 1000000 metros Clique em OK e carregue o mapa de temperatura dos aeroportos veja Figure Heatmap 3 1 Heatmap Plugin p Input point layer airports Output raster sample_data raster heatmap_airport Output format GeoTIFF Radius 1000000 meters Advanced Figura 19 25 Janela do Mapa de Densidade 4b O QGIS ira gerar o mapa de densidade e adicionar os resultados sua janela do mapa Por defeito o mapa de densidade sombrea
462. tial Layer toolbar button selecting the e Add Orcale Spatial Layer option from the Layer menu or typing Ctr1 Shi ft 0 To access the connection manager click on the New button to display the Create a New Oracle Spatial Connection dialog The parameters required for a connection are e Name A name for this connection It can be the same as Database e Database SID or SERVICE NAME of the Oracle instance Host Name of the database host This must be a resolvable host name such as would be used to open a telnet connection or ping the host If the database is on the same computer as QGIS simply enter localhost here Port Port number the PostgreSQL database server listens on The default port is 1521 Username Username used to login to the database Password Password used with Username to connect to the database Optionally you can activate following checkboxes Save Username Indicates whether to save the database username in the connection configuration g Save Password Indicates whether to save the database password in the connection settings E Only look in meta data table Restricts the displayed tables to those that are in the all_sdo_geom_metadata view This can speed up the initial display of spatial tables Only look for user s tables When searching for spatial tables restrict the search to tables that are owned by the user E Also list tables with no geometry Indicates that tables without geometry sho
463. ties E Legend Main properties Legend items Fonts Columns Symbol Spacing Position and size _ Frame amp Background Item ID rrro rro rr Y Fr Y F Rendering Figura 18 13 Propriedades do Separador da Legenda rs 232 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 Propriedades principais The Main properties dialog of the legend Item Properties tab provides the following functionalities see fig ure composer 14 Main properties Title Legend Map Map O EE Wrap text on Figura 18 14 Janela das Propriedades principais da Legenda l Here you can adapt the legend title e You can also choose which Map item the current legend will refer to in the select list e Since QGIS 1 8 you can wrap the text of the legend title on a given character Itens Legenda The Legend items dialog of the legend Item Properties tab provides the following functionalities see fig ure_composer_15 v Legend items Update item Update all 1 2 v airports Hidden 2 popp Hidden majrivers Hidden regions Hidden gt alaska Hidden gt lakes Hidden gt swamp Hidden gt storagep Hidden sj SAM amp Auto Update Figura 18 15 Legenda da Janela dos itens da Legenda 4b The legend items window lists all legend items and allows you to change item order group layers remove and restore items in the list and edit layer names After changing the symbology in the QGIS main wind
464. tings Toolbars Using the basic digitizing tools you can perform the following functions Finalidade Finalidade Edi es actuais Alternar edi o Adicionando Elementos Capturar Ponto X Adicionando Elementos Capturar Linha Adicionando Elementos Capturar Pol gono E Mover Elemento Ferramenta de N s Apagar Seleccionados Cortar Elementos Copiar Elementos Colar Elementos x Guardar edi es da camada Edi o da Tabela Edi o b sica da camada vectorial pela barra de ferramentas All editing sessions start by choosing the Toggle editing option This can be found in the context menu after right clicking on the legend entry for a given layer Alternatively you can use the Toggle Editing f Toggle editing button from the digitizing toolbar to start or stop the editing mode Once the layer is in edit mode markers will appear at the vertices and additional tool buttons on the editing toolbar will become available Dica Guardar Regularmente 4 Guardar Edi es da Camada Lembre se de regularmente Isto ir tamb m verificar que a sua fonte de dados aceita todas as altera es Adicionando Elementos o0 NI pts a Pode usar os cones a Adicionar Elemento Adicionar Elemento ou Adicionar Elemento da barra de ferramentas para por o cursor QGIS no modo de digitaliza o Para cada elemento primeiro digitaliza a geometria e de seguida introduz os atributos Para digitalizar a geome tria clique com o bot o
465. tion Since we happen to know that it is represented by the EPSG ID 2964 we enter it in the search box Note If you want to repeat this process for another RIA CRS Status LOCATION and projection and haven t memorized the EPSG ID click on the icon 1n the lower right hand corner of the status bar see section Trabalhando com Proje es In Filter insert 2964 to select the projection 10 11 Clique Pr ximo To define the default region we have to enter the LOCATION bounds in the north south east and west directions Here we simply click on the button Set current Iqgl extent to apply the extent of the loaded layer alaska shp as the GRASS default region extent Clique Pr ximo We also need to define a MAPSET within our new LOCATION this is necessary when creating a new LOCATION You can name it whatever you like we used demo GRASS automatically creates a special MAPSET called PERMANENT designed to store the core data for the project its default spatial extent and coordinate system definitions see Neteler amp Mitasova 2008 in Refer ncias Bibliogr ficas e Web 16 3 Localiza o e MAPSET GRASS 171 QGIS User Guide Vers o 2 2 14 Confira o resumo para ter certeza que est correto e clique Fim 15 The new LOCATION alaska and two MAPSETs demo and PERMANENT are created The currently opened working set is demo as you defined 16 Note que algumas das ferram
466. tmo a partir da caixa de ferramentas Este par metro permite que possa definir a ordem de como os algoritmos s o executados definindo explicitamente um algoritmo como parent do actual que ira for a lo a execut lo antes Quando usa um ficheiro de sa da de um algoritmo pr vio como ficheiro de entrada do seu algoritmo isso implica definir o antigo como parent do actual e posiciona a seta correspondente no enquadramento do modelador Contudo em alguns casos o algoritmo pode depender de outro mesmo que n o use um objecto de sa da a partir dele por exemplo um algoritmo que executa uma inst ncia SQL numa base de dados PostGIS e outra que importa uma camada para a mesma base de dados Nesse caso apenas seleccione no par metro Algoritmos Parent e eles ir o ser executados na ordem correcta Uma vez todos os par metros estiver relacionados a valores v lidos clique no bot o OK e o algoritmo ir ser adicionado ao enquadramento Ser ligado a todos os outros elementos do enquadramento sejam eles algorit mos ou ficheiros de entrada o que ir fornecer objectos que foram usados como ficheiros de entrado para esse algoritmo Os elementos podem ser arrastados para diferentes posi es dentro do enquadramento para alterar a forma como exibida a estrutura do m dulo e tornar mais claro e intuitivo As liga es entre os elementos s o actualizados automaticamente Pode correr o seu algoritmo em qualquer altura clicando no bot o Exe
467. to publicado sob esta Licen a Um Texto de Capa Frontal pode ter no m ximo 5 palavras e um Texto de Quarta Capa pode ter no m ximo 25 palavras Uma c pia Transparente do Documento significa uma c pia que pode ser lida pelo computador representada em um formato cuja especifica o esteja dispon vel ao p blico geral que seja apropriada para a imediata revis o do documento usando se editores de texto gen ricos ou para imagens compostas de pixeis programas gr ficos gen ricos ou para desenhos algum editor de desenhos amplamente dispon vel e que seja apropriado para in clus o em formatadores de texto ou para tradu o autom tica para uma variedade de formatos apropriados para inclus o em formatadores de texto Uma c pia feita em outro formato de arquivo Transparente cuja marca o ou aus ncia desta foi manipulada para impedir ou desencorajar modifica o subsequente pelos leitores n o Trans parente Um formato de imagem n o Transparente se usado em lugar de qualquer quantidade substancial de texto Uma c pia que n o Transparente chamada Opaca Exemplos de formatos apropriados para c pias Transparentes incluem ASCII puro sem marca o formato de entrada Texinfo LaTex SGML ou XML usando um DTD publicamente dispon vel e HTML padr o simples PostScript ou PDF projetados para modifica o por humanos Exemplos de formatos de imagem transparentes incluem PNG XCF e JPG Formatos Opacos inclue
468. to add parts of a vector attribute table to the Print Composer canvas Click the poe ea icon place the element with the left mouse button on the Print Composer canvas and position and customize the appearance in the Item Properties tab The tem properties of an attribute table item tab provides the following functionalities see figure composer 23 Item Properties x Attribute table b Main properties amp show grid Fonts Position and size amp Background b b b gt Frame p b Item ID gt Rendering Figura 18 23 Scale Bar Item properties Tab rs Propriedades principais Mostrar grelha e Fontes The Main properties Show grid and Fonts dialogs of the attribute table Item Properties tab provide the following functionalities see figure_composer_24 238 Cap tulo 18 Compositor de Impress o QGIS User Guide Vers o 2 2 Item Properties Attribute table Main properties Layer airports 7 Attributes amp Show only visible features Composer map Map O Maximum rows 10 Margin 1 00 E v amp Show grid Stroke width 0 50 B color Y Fonts Header Font Content Font Figura 18 24 Janela das Propriedades principais Mostrar grelha e Fontes Select attributes 9 NA3 le e ELEV Elevation F CODE m E Select all E Clear Sorting A J we d j m cat Ascending Column Ascending NAME
469. to interno ou comum Os formatos suportados inclu dos s o 4 2 Spatially enabled tables and views using PostGIS SpatiaLite and MS SQL Spatial Oracle Spatial vector formats supported by the installed OGR library including ESRI shapefiles MapInfo SDTS GML and many more See section Trabalhando com Dados Vetoriais Raster and imagery formats supported by the installed GDAL Geospatial Data Abstraction Library li brary such as GeoTIFF ERDAS IMG ArcInfo ASCII GRID JPEG PNG and many more See section Trabalhando com Dados Raster GRASS raster and vector data from GRASS databases location mapset See section Integra o com SIG GRASS Online spatial data served as OGC Web Services including WMS WMTS WCS WES and WFS T See section Trabalhando com dados OGC OpenStreetMap data See section plugins_osm Explora o de dados e compositores de mapas You can compose maps and interactively explore spatial data with a friendly GUI The many helpful tools available in the GUI include Pesquisador QGIS Reprojec o On the fly Gestor BD Compositor de Mapas Painel de Vista Global Marcadores espaciais Ferramentas de anota o Identificar seleccionar elementos Editar ver procurar atributos QGIS User Guide Vers o 2 2 Data defined feature labeling Data defined vector and raster symbology tools Atlas map composition with graticule layers North arrow scale bar and copyright label for maps e Support for
470. to the left of the Insert Field button 9 From the drop down box select NAMES and click Insert Field 10 Seu texto a o agora se parecer como este firefox http google com search q NAMES 11 To finalize the action click the Add to action list button This completes the action and it is ready to use The final text of the action should look like this firefox http google com search q NAMES Agora podemos utilizar a a o Feche a aba de di logo Propriedades da camada e aplique um zoom em uma rea de interesse Certifique se que a camada lagos est ativa e identifique um lago Na caixa o resultado que voc poder visualizar que a nossa a o est vis vel Identify Results Feature v Value x0 lakes cal 11 Y Actions y View feature form ie Google search gt Derived AREA MI 1018 225 cat 11 NAMES lliamna Lake rotation xlabel ylabel a a 89 amp Close Figura 12 28 Select feature and choose action When we click on the action it brings up Firefox and navigates to the URL http www google com search q Tustumena It is also possible to add further attribute fields to the ac tion Therefore you can add a to the end of the action text select another field and click on Insert Field In this example there is just no other field available that would make sense to search for You can define multiple actions for a layer and each will show up in the dentify Results dialog
471. tomaticamente criar um c digo Python que executa as mesmas tarefas do pr prio modelo Este c digo usado para criar um script para a consola ser explicado mais tarde neste modelo e poder modificar o script para incorporar em ac es e m todos que n o est o dispon veis no modelador gr fico como loops ou inst ncias condicionantes 17 3 O modelador gr fico 203 QGIS User Guide Vers o 2 2 Esta caracter stica tamb m uma forma pr tica de aprender como usar os algoritmos do processamento a partir da consola e como criar novos algoritmos usando c digo Python portanto pode us lo como uma ferramenta de aprendizagem quando come ar a criar os seus pr prios scripts Guarde o seu modelo na pasta de modelos e v para a caixa de ferramentas onde dever aparecer pronto para ser executado Clique com o direito do rato no nome do modelo e seleccione Guardar como script Python no menu contexto que ira ser exibido A caixa de di logo ira pedir lhe para introduzir o ficheiro no qual deseja guardar o script Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 17 4 A interface do processamento em lote 17 4 1 Introdu o Todos os algoritmos incluindo modelos podem ser executados como um processo descont nuo Isto eles podem ser executados n o utilizando apenas um nico conjunto de entradas mas alguns delas a execu o do algoritmo tantas vezes quanto necess rio Isto til
472. tos visuais do sombreamento desligue o mapa gtopo30 shade em seguida ligue o novamente Usando a linha de comando GRASS The GRASS plugin in QGIS is designed for users who are new to GRASS and not familiar with all the modules and options As such some modules in the Toolbox do not show all the options available and some modules do not appear at all The GRASS shell or console gives the user access to those additional GRASS modules that do not appear in the Toolbox tree and also to some additional options to the modules that are in the Toolbox with the simplest default parameters This example demonstrates the use of an additional option in the r shaded relief module that was shown above The module r shaded relief can take a parameter zmu1t which multiplies the elevation values relative to the X Y coordinate units so that the hillshade effect is even more pronounced e Load the gtopo30 elevation raster as above then start the GRASS Toolbox and click on the GRASS shell In the shell window type the command r shaded relief map gtopo30 shade gtopo30_shade2 azimuth 315 zmult 3 and press Enter e After the process finishes shift to the Browse tab and double click on the new gtopo30 shade2 raster to display it in QGIS e As explained above move the shaded relief raster below the gtopo30 raster in the table of contents then check the transparency of the colored gtopo30 layer You should see that the 3 D effect stands out more strongly com
473. tribute ELEV Remember this X Reset Relative paths The base path or url from which images and documents can be relative 9s Path 51 Alexandre Dropbox Trabalho QGIS qgis sample data photos Remember this 2 Reset E g Replace entire path url stored in image path attribute with user defined r3 E Li FM Base Path i e keep only Filename from attribute Remember this L3 Q Apply Path to Image rules when loading docs in external applications Remember this X Reset Restore Defaults se Figura 19 10 The eVis Options window 1 File path A drop down list to specify the attribute field that contains the directory path or URL for the photographs or other documents being displayed If the location is a relative path then the checkbox must be clicked The base path for a relative path can be entered in the Base Path text box below Information about the different options for specifying the file location are noted in the section Especificando o local e o nome de uma fotografia below 2 Compass bearing A drop down list to specify the attribute field that contains the compass bearing asso ciated with the photograph being displayed If compass bearing information is available it is necessary to click the checkbox below the drop down menu title 3 Compass offset Compass offsets can be used to compensate for declination to adjust bearings collected using magnetic bearings to true north bearings C
474. ts db lt databasename gt lt databaseusername gt lt databasepassword gt sqlstatement SELECT Attributes Points x Points y FROM Attributes LEFT JOIN Points ON Points rec id Attributes point ID where COMMENTS like limestone sqlstatement lt autoconnect gt false lt autoconnect gt lt query gt lt doc gt Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 19 7 Complemento fTools O objetivo do m dulo python fTools fornecer um recurso nico para v rias tarefas SIG comuns aos dados vetoriais sem a necessidade de software adicional bibliotecas ou trabalho complexo Fornece um conjunto em crescimento de formas de gest o de dados espaciais e fun es de an lise que s o r pidas e funcionais O fTools est automaticamente instalado e ativado nas novas vers es do QGIS juntamente com todos os m dulos e pode ser desativado e ativado atrav s do Gestor de M dulos Veja Se o O menu de complementos Quando ativado o m dulo fTools adiciona o menu Vetor ao QGIS fornecendo fun es desde Ferramentas de An lise e Investiga o a Ferramentas de Geometria e Geoprocessamento assim como v rias ferramentas teis de Gest o de Dados 19 7 Complemento fTools 263 QGIS User Guide Vers o 2 2 19 7 1 Ferramentas de an lise icongFerramenta Finalidade Matriz de Dist ncia Soma de comprimento de linhas Pontos no pol gono Lista valores nicos Estat
475. u have opened in QGIS but in some cases that might not be true When using databases or uncommon file formats whether for raster or vector layers problems might arise If that happens try to use well known file formats that you are sure are understood by both programs and check the console output in the history and log dialog to know more about what is going wrong Usando as camadas raster GRASS por exemplo um dos casos em que pode ter problema e n o seja poss vel completar o seu trabalho se chamar um algoritmo externo usando uma camada como ficheiro de entrada Por esta raz o essas camadas n o ir o aparecer como dispon veis para os algoritmos You should however find no problems at all with vector layers since QGIS automatically converts from the original file format to one accepted by the external application before passing the layer to it This adds extra processing time which might be significant if the layer has a large size so do not be surprised if it takes more time to process a layer from a DB connection than it does to process one of a similar size stored in a shapefile Providers not using external applications can process any layer that you can open in QGIS since they open it for analysis through QGIS Regarding output formats all formats supported by QGIS as output can be used both for raster and vector layers Some providers do not support certain formats but all can export to common raster layer formats that ca
476. uded if you are runing Linux so you have to download and install the software yourself Please check the OTB website for more information Once OTB is installed start QGIS open the processing configuration dialog and configure the OTB algorithm provider In the Orfeo Toolbox image analysis block you will find all settings related to OTB First ensure that algorithms are enabled Then configure the path to the folder where OTB command line tools and libraries are installed Usually OTB applications folder points to usr lib otb applications and OTB command line tools folder is usr bin Py e If you use the OSGeo4W installer then install otb bin package and enter C OSGeo4W apps orfeotoolbox applications as OTB applications folder and 17 7 Configurando as aplica es externas 217 QGIS User Guide Vers o 2 2 C OSGeo4W bin as OTB command line tools folder These values should be configured by de fault but if you have a different OTB installation configure them to the corresponding values in your system TauDEM To use this provider you need to install TauDEM command line tools 17 7 8 Windows Please visit the TauDEM homepage for installation instructions and precompiled binaries for 32 bit and 64 bit systems IMPORTANT You need TauDEM 5 0 6 executables Version 5 2 is currently not supported 17 7 9 Linux There are no packages for most Linux distributions so you should compile TauDEM by yourself As TauDEM
477. uida converte a imagem numa imagem de pseudo cor usando tabelas de cor Esta convers o utiliza o pontilhado de Floyd Steinberg erro de difus o para maximizar a qualidade visual da imagem de sa da Este utilit rio tamb m descrito em http www gdal org rgb2pct html PCT Este utilit rio ira converter uma banda de pseudo cor num ficheiro de entrada para um ficheiro para RGB RGB de sa da do formato desejado Para mais informa o veja http www gdal org pct2rgb html Extracc o Este programa gera um ficheiro de contornos vectoriais a partir de um modelo digital do terreno MDT matricial Pode encontrar mais informa o em http www gdal org gdal contour html Este utilit rio permite o corte extrac o de um subconjunto usando um enquadramento seleccionado ou baseado no limite de um vector Mais informa o pode ser encontrado em http www gdal org gdal translate html 268 Cap tulo 19 Complementos An lise FU bl bl Crivo I Pr ximo ao Preto i Preencher sem dados M b Proximidade i Grelha Interpola o MDE Modelos de Eleva o QGIS User Guide Vers o 2 2 Este utilit rio remove pol gonos rasters mais pequenos que o tamanho de limiar em pixeis fornecido e substitui os com o valor do pixel mais alto do vizinho mais pr ximo O resultado pode ser escrito na banda raster existente ou copiado para um novo ficheiro Para mais informa o veja see http www gdal org gdal_si
478. uivo de configura o portanto pode se criar uma c pia do arquivo de configura o original e renome lo Op o da linha de comandos configpath Esta op o similar a anterior mas no entanto anula o caminho predeterminado pela configura o do usu rio ggis2 e for a QSettings para tamb m usar esse diret rio Isto permite aos usu rios por exemplo carregar uma instala o QGIS na unidade flash junto com todos os complementos e configura es 6 6 Projetos O estado de sua se o QGIS considerado um projeto QGIS trabalha em um projeto por vez Configura es s o consideradas por projeto ou como padr o pr determinado para novos projetos ver se o Op es QGIS pode salvar o estado de sua rea de trabalho dentro do arquivo do projeto usando a op o do menu Projeto gt t Salvar ou Projeto ta Salvar como Carregue o projeto salvo em uma se o QGIS usando Projeto 7 Abrir Projeto Novo a partir de um modelo ou Projeto Abrir projeto recente A Se voc deseja cancelar sua se o e iniciar outra escolha Projeto Novo Ou das op es do menu ser solicitado que voc salve o projeto existente se houve mudan as desde a ltima vez que ele foi aberto ou salvo O tipo de informa o guardado num arquivo de projeto inclui e Camadas adicionadas e Propriedades da Camada incluindo a simboliza o e Proje o para a vista do mapa e ltima extens o visualiza
479. uld also be listed by default Use estimated table statistics for the layer metadata When the layer is set up various metadata are required for the Oracle table This includes information such as the table row count geometry type and spatial extents of the data in the geometry column If the table contains a large number of rows determining this metadata can be time consuming By activating this option the following fast table metadata operations 78 Capitulo 12 Trabalhando com Dados Vetoriais QGIS User Guide Vers o 2 2 are done Row count is determined from a 11 tables num rows Table extents are always determined with the SDO TUNE EXTENTS OF function even if a layer filter is applied Table geometry is determined from the first 100 non null geometry rows in the table Only existing geometry types Only list the existing geometry types and don t offer to add others Uma vez que todos os par metros e as op es est o configuradas voc pode testar a conex o clicando no bot o Testar Conex o Dica QGIS Configura es do Usu rio e Seguran a Depending on your computing environment storing passwords in your QGIS settings may be a security risk Passwords are saved in clear text in the system configuration and in the project files Your customized settings for QGIS are stored based on the operating system The settings are stored in your home directory in config QGIS QGIS2 conf 7 The settings are stored in th
480. uma arquitetura de complementos Isto permite que muitos recursos e fun es possam ser facilmente adcionados aplica o Muitos recursos no QGIS s o atualmente implementados como complementos 19 1 1 O menu de complementos Os menus no di logo de Complementos permite ao usu rio instalar desinstalar e atualizar os complementos de diferentes formas i5 Todos Aqui todos os complementos dispon veis s o apresentados incluindo os complementos nativos e externos Utilize Atualizar tudo para procurar por novas vers es dos complementos Al m disso voc pode usar Instalar complemento se um complemento estiver listado mas n o instalado e Desinstalar complemento assim como Reinstalar complemento se um complemento j estiver instalado Se um complemento estiver instalado ele pode ser ativado e desativado utilizando a caixa de marca o ue Instalados Neste menu voc pode encontrar somente os complementos instalados Os complementos externos podem ser desinstalados e reinstalados utilizando os bot es Desinstalar complemento and Reinstalar complemento Voc tamb m pode Atualizar todos a N o instalados Este menu lista todos os complementos dispon veis que n o est o instalados Voc pode usar o bot o Instalar complemento para implementar um complemento no QGIS x Atualiz vel Se voc ativar Ed Tamb m mostrar complementos experimentais no coe Op es voc pode utilizar este menu para procurar por
481. uso quando uma base de dados protegida por senha O Nl A tA A WO N Consultas pr definidas Guia para abrir a janela Consultas pr definidas m Conex o com a base de dados Guia para abrir a janela Conex o com a Base de dados p lt Y Consulta SQL Guia para abrir a janela Consulta SQL m NO Help Displays the online help pd Oo OK Fecha a janela principal do Conex o com a Base de Dados Execu o de consultas SQL SQL queries are used to extract information from a database or ODBC resource In eVis the output from these queries is a vector layer added to the QGIS map window Click on the SOL Query tab to display the SQL query interface SQL commands can be entered in this text window A helpful tutorial on SQL commands is available at http www w3schools com sql For example to extract all of the data from a worksheet in an Excel file select x from sheet1 where sheet 1 is the name of the worksheet Click on the Run Query button to execute the command If the query is successful a Database File Selection window will be displayed If the query is not successful an error message will appear in the Output Console window In the Database File Selection window enter the name of the layer that will be created from the results of the query in the Name of New Layer textbox 1 Janela de Texto de Consulta SQL Uma tela para escrever consultas SQL 2 Run Query B
482. utro projeto do conjunto de dados Alasca 2 Select the project file grassland You can see the content of the project see figure embed dialog 3 Press Ctrl and click on the layers grassland and regions Press OK The selected layers are embedded in the map legend and the map view now 44 Capitulo 8 Ferramentas Gerais QGIS User Guide Vers o 2 2 Select layers and groups to embed Project file sample data grassland qgs ES regions grassland Cancel OR Figura 8 12 Selecionar camadas e grupos para incorporar While the embedded layers are editable you can t change their properties like style and labeling 8 9 2 Removing embedded layers Right click on the embedded layer and choose Ld SHINE Docs for QGIS testing Visit http docs qgis org for QGIS 2 2 docs and translations 8 9 Projetos animados 45 QGIS User Guide Vers o 2 2 46 Cap tulo 8 Ferramentas Gerais CAP TULO 9 Configura o QGIS O QGIS altamente personaliz vel atrav s do menu Configura es Escolha entre Pain is Caixa de Ferramentas Propriedades do Projecto Op es e Personaliza o 9 1 Pain is e Barras de Ferramentas No menu Pain is pode desligar os widgets do QGIS O menu Caixa de Ferramentas fornece a possibilidade de trocar activar ou desactivar grupos de cones na barra de ferramentas do QGIS veja figure panels toolbars View Layer Settings Plugins Vector Raster Database E Pan map Ca Y E
483. utton to execute the query entered in the SOL Query Window 3 Janela Console A janela console onde as mensagens relacionadas ao processamento s o exibidas 4 Help Displays the online help 5 OK Closes the main Database Connection window Use the X Coordinate and Y Coordinate combo boxes to select the fields from the database that stores the X or longitude and Y or latitude coordinates Clicking on the OK button causes the vector layer created from the SQL query to be displayed in the QGIS map window To save this vector file for future use you can use the QGIS Save as command that is accessed by right clicking on the layer name in the QGIS map legend and then selecting Save as Dica Criando uma camada vetorial a partir de uma planilha do Microsoft Excel When creating a vector layer from a Microsoft Excel Worksheet you might see that unwanted zeros 0 have been inserted in the attribute table rows beneath valid data This can be caused by deleting the values for these cells in Excel using the Backspace key To correct this problem you need to open the Excel file you ll need to close QGIS if you are connected to the file to allow you to edit the file and then use Edit Delete to remove the blank rows from the file To avoid this problem you can simply delete several rows in the Excel Worksheet using Edit Delete before saving the file 260 Cap tulo 19 Complementos QGIS User Guide V
484. vent ID module allows you to display a photograph by clicking on a feature displayed in the QGIS map window The vector feature must have attribute information associated with it to describe the location and name of the file containing the photograph and optionally the compass direction the camera was pointed when the image was acquired This layer must be loaded into QGIS before running the Event ID tool Iniciando o m dulo Identifica o de Evento To launch the Event ID module either click on the uo Event ID icon or click on Database eVis Event ID Tool This will cause the cursor to change to an arrow with an 1 on top of it signifying that the ID tool is active To view the photographs linked to vector features in the active vector layer displayed in the QGIS map window move the Event ID cursor over the feature and then click the mouse After clicking on the feature the Event Browser window is opened and the photographs on or near the clicked locality are available for display in the browser If more than one photograph is available you can cycle through the different features using the Previ ous and Next buttons The other controls are described in the ref evis browser section of this guide 19 6 6 Conex o com o Base de Dados The Database Connection module provides tools to connect to and query a database or other ODBC resource such as a spreadsheet 258 Cap tulo 19 Complementos QGIS User Guide V
485. vers es mais recentes dos complementos Isto pode ser feito com os bot es Atualizar comple mento ou Atualizar todos cae Op es Neste menu voc pode definir as seguintes op es 247 QGIS User Guide Vers o 2 2 Plugins All 215 Search E Affine Transformations 39 AniMove For QGIS 39 Arrows Qa AutoTrace 39 Azimuth and Distance Plugir 3e Buffer by Percentage 39 cadastre W Cadinput 32 CadTools Color Ramp Manager W Contour plugin W Contrast homogenizer C Coordinate Capture dE Copy Coords W Crayfish 39 Create labeled layer dE Cxf in dE Data Driven Input Mask Not installed Settings Help Accuracy Assessment E Accuracy Assessment Generate an error matrix and measures of mapping accuracy for raster and reference data Sedese det 2 rating vote s 11304 downloads Tags confusion matrix error matrix accuracy assessment remote sensing map comparison More info homepage tracker code repository Author Jared Kibele Available version 0 4 2 in QGIS Official Repository Upgrade all Install plugin Close Figura 19 1 The fu guilabel menu Todos 4 Plugins Installed 28 Search E A GRASS Heatmap amp F Html Image Map Plugin amp fF Interpolation plugin amp Layer to labeled layer E amp multipart Split Installed Not installed Settings Si orac
486. vi os WMTS WMS em cache como http opencache statkart no gatekeeper gk gk open_wmts service WMTS amp request GetCapabilities pode procurar atrav s do separador Conjuntos de Mosaicos dados pelo servidor Informa o adicional como o tamanho do mosaico formatos e SRC suportados est o na lista desta tabela Em combina o com esta caracter s tica pode usar a escala da quadr cula do Configura es Pain is KDE e Windows ou Ver Pain is Gnome e MacOSX e de seguida escolha Escala da quadr cula que d escalas dispon veis do servidor de mosaicos com uma barra de deslizamento acoplada 148 Cap tulo 14 Trabalhando com dados OGC QGIS User Guide Vers o 2 2 Usando a Ferramenta Identificar Uma vez adicionado o servidor WMS e se qualquer camada do servidor WMS consult vel pode usar a ferra menta Q Identificar para seleccionar o pixel do enquadramento do mapa A consulta feita ao servidor WMS para cada selec o feita Os resultados da consulta v m na forma de um texto plano A formata o desse texto depende do servidor WMS particular usado Selec o do formato Se m ltiplos formatos s o suportados pelo servidor uma caixa de combina o com os formatos suportados automaticamente adicionado aos resultados da janela de identifica o e o formato seleccionado ir armazenar no projecto para a camada Suporte do formato GML A ferramenta Q Identificar Suporta respostas do Servidor WMS GetFeatureInfo no
487. volte janela principal Oracle Spatial GeoRaster veja Figure oracle raster 2 use a lista drop down para escolher uma liga o e use o bot o Ligar para estabelecer a liga o Pode tamb m Editar a liga o abrindo a janela anterior e efectuar altera es na informa o da liga o ou usar o bot o Apagar para remover a liga o da lista drop down 19 12 2 Seleccionando um GeoRaster Once a connection has been established the subdatasets window will show the names of all the tables that contain GeoRaster columns in that database in the format of a GDAL subdataset name Clique num dos subconjuntos de dados listados e de seguida clique em Seleccionar para escolher o nome da tabela Agora outra lista de subconjunto de dados ir mostrar os nomes das colunas GeoRaster nessa tabela Geralmente costuma ser uma lista pequena uma vez que a maioria dos utilizadores n o ir ter mais de um ou duas colunas GeoRaster na mesma tabela 19 12 Oracle Spatial GeoRaster Plugin 277 QGIS User Guide Vers o 2 2 Click on one of the listed subdatasets and then click on Select to choose one of the table column combinations The dialog will now show all the rows that contain GeoRaster objects Note that the subdataset list will now show the Raster Data Table and Raster Id pairs At any time the selection entry can be edited in order to go directly to a known GeoRaster or to go back to the beginning and select another table name select
488. where you can customize your options are described below 9 3 1 Menu Geral Aplica o e Seleccione a Estilo Necess rio reiniciar o QGIS LY e escolha entre Oxy gen Windows Motif CDE Plastique e Cleanlux A Definir o Tema de cone Actualmente a op o default poss vel e Definir o Tamanho do cone Definir a Fonte Escolha entre 5 QT padr o e uma fonte definida pelo utilizador 2 E e Altera o Tempo limite para mensagens ou di golos we E N o exibir a janela inicial o E Mostrar dicas ao iniciar E T tulos da caixa de grupos a negrito E QGIS estilo das caixas de grupo g Use di logos selectores de cor para actualiza es ao vivo Ficheiros de projecto e Abrir o projecto no arranque w escolha entre Novo Mais recente e Espec fico Quando escolher Espec fico use para definir um projecto E Create new project from default project You have the possibility to press on Set current project as default or on Reset default You can browse through your files and define a directory where you find your user defined project templates This will be added to Project New From Template If you first activate Ed Create new project from default project and then save a project in the project templates folder E Avisar para salvar projecto e altera es de fontes de dados quando necess rio E Avisar quando abrir um project
489. widgets in main application you can click on elements in QGIS that you want to be hidden and find the corresponding entry in Customization see figure customization You can also save your various setups for different use cases as well Before your changes are applied you need to restart QGIS Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 9 4 Personaliza o 57 QGIS User Guide Vers o 2 2 58 Cap tulo 9 Configura o QGIS CAP TULO 10 Trabalhando com Proje es O QGIS permite que os utilizadores definam de forma global e para todo o projecto um SC Sistema de Co ordenadas para temas que n o t m um SC pr definido Tamb m permite que o utilizador defina sistemas de coordenadas personalizados e suporta a projec o din mica no ecr de temas com diferentes SCs conseguindo sobrepondo os correctamente 10 1 Vis o geral do Suporte a Proje es O QGIS suporta aproximadamente 2 700 SCs conhecidos Defini es para cada SC s o guardados numa base de dados SQLite que instalada com o QGIS Normalmente n o ter necessidade de manipular a base de dados directamente De facto ao faz lo poder causar problemas SCs definidos manualmente s o guardados numa base de dados do utilizador Veja a sec o Sistema de Refer ncia de Coordenadas personalizado para informa o sobre a gest o dos seus sistemas de coordenadas Os SCs dispon veis no QGIS s o baseados nos definidos
490. wn menu see ta ble composer 1 To use an alignment functionality you first select some elements and then click on the matching alignment icon All selected elements will then be aligned within to their common bounding box When moving items on the Composer canvas alignment helper lines appear when borders centers or corners are aligned 18 4 3 Copy Cut and Paste items The print composer includes actions to use the common Copy Cut Paste functionality for the items in the layout As usual first you need to select the items using one of the options seen above at this point the actions can be found in the Edit menu When using the Paste action the elements will be pasted according to the current mouse position 18 5 Ferramentas de Reverter e Restaurar During the layout process it is possible to revert and restore changes This can be done with the revert and restore tools e Reverter as ltimas altera es e Restaura as ltimas altera es This can also be done by mouse click within the Command history tab see figure composer 28 18 4 Manage items 241 QGIS User Guide Vers o 2 2 ELEGE E 3 tg mE ek 9o HAPL2 BRERG E BBDO 7 E WS 10 20 30 40 20 90 79 80 29 104 Item Properties 9 z w Main properties 14 Map MapO E CT 500 0 500 Style Line Ticks Up 15 E k w Units 16 Meters j Label k M Legend OG E Map 1000 00 A
491. x usando a op o A es pode se Redefinir e Recalcular o histograma Layer Properties cascais map Histogram M General n Tal Style Raster Histogram P Transparency i Pyramids wA Loh JO 990000500 5660066066 Frequency Histogram E 0 50 100 150 200 250 Metadata Pixel Value Band 1 Band Band3 Set min max style for Band 1 2 Min O 49 Maxl0 do amp Prefs Actions B Restore Default Style Save As Default Load Style Save Style Help j Apply Cancel NOK Figura 13 8 Histograma do raster 13 2 Di logo de propriedades do Raster 139 QGIS User Guide Vers o 2 2 13 2 6 Menu Metadados O menu Metadados mostra o estado da informa o da camada do raster incluindo estat sticas de cada banda na camada do raster em uso A partir deste menu podem ser definidas entradas na guia Descri o Atribui o MetadadosUrl e Propriedades Na guia guilabel Propriedades s o geradas estat sticas na base de preciso saber ou seja poss vel que uma determinada e espec fica estat stica da camada no tenha sido ainda coletada Layer Properties landcover copy Metadata bu E v Description Sar Title AVHRR Global Land Cover Classification style ADM Over the past several years researchers have aad Transparency stract E Pyramids Keyword list landcover Format a w Attribution Title Hansen M R DeFries J R
492. y 1s identical This is simply because there are small rounding off errors involved when converting between projections Apagando os Elementos Seleccionados Se quisermos apagar o pol gono todo podemos faze lo seleccionando o pol gono usando a ferramenta A Seleccionar Elemento Unico Pode seleccionar m ltiplos elementos para apagar Uma vez feita a selec o do conjunto use a ferramenta i Apagar Seleccionados nara apagar os elementos The S Cut Features too on the digitizing toolbar can also be used to delete features This effectively deletes the feature but also places it on a spatial clipboard So we cut the feature to delete We could then use the Paste Features too to put it back giving us a one level undo capability Cut copy and paste work on the currently selected features meaning we can operate on more than one at a time Guardando as Camadas Editadas When a layer is in editing mode any changes remain in the memory of QGIS Therefore they are not commit ted saved immediately to the data source or disk If you want to save edits to the current layer but want to continue editing without leaving the editing mode you can click the i Save Layer Edits button When you turn editing mode off with Toggle editing or quit QGIS for that matter you are also asked if you want to save your changes or discard them If the changes cannot be saved e g disk full or the attributes have values that are out of range t
493. y in the processing configuration dialog unchecking the Show CRS option If you try to execute an algorithm using as input two or more layers with unmatching CRSs a warning dialog will be shown Pode continuar a executar o algoritmo mas tenha aten o que na maioria dos casos ira produzir resultados errados tais como camadas vazias devido falta de sobreposi o das camadas usadas como ficheiros de entrada 17 2 2 Objecto de dados gerados por algoritmos Objectos de dados gerado por um algoritmo podem ser dos seguintes tipos Uma camada raster Uma camada vectorial Uma tabela Um ficheiro HTML usado para ficheiro de sa da de texto e gr ficos These are all saved to disk and the parameters table will contain a text box corresponding to each one of these outputs where you can type the output channel to use for saving it An output channel contains the information needed to save the resulting object somewhere In the most usual case you will save 1t to a file but the architecture allows for any other way of storing it For instance a vector layer can be stored in a database or even uploaded to a remote server using a WFS T service Although solutions like these are not yet implemented the processing framework is prepared to handle them and we expect to add new kinds of output channels in a near feature To select an output channel just click on the button on the right side of the text box That will open a save file dialog
494. yer that you want to upload which must be a GPX layer your GPS device type and the port or USB that it is connected to Just as with the download tool you can specify new device types if your device isn t in the list This tool is very useful in combination with the vector editing capabilities of QGIS It allows you to load a map create waypoints and routes and then upload them and use them on your GPS device 15 1 7 Definindo novos tipos de dispositivo There are lots of different types of GPS devices The QGIS developers can t test all of them so if you have one that does not work with any of the device types listed in the Download from GPS and Upload to GPS tools you can define your own device type for it You do this by using the GPS device editor which you start by clicking the Edit devices button in the download or the upload tab To define a new device you simply click the New device button enter a name enter download and upload commands for your device and click the Update device button The name will be listed in the device menus in the upload and download windows it can be any string The download command is the command that is used to download data from the device to a GPX file This will probably be a GPSBabel command but you can use any other command line program that can create a GPX file QGIS will replace the keywords type Sin and Sout when it runs the command Stype will be replaced by w if you are downlo
495. yers files 1f they are loaded in QGIS or exist in the file system And you can export database tables to shape with the Export File feature The Tree window lists all existing databases supported by QGIS With a double click you can connect to the database With the right mouse button you can rename and delete existing schemas and tables Tables can also be added to the QGIS canvas with the context menu If connected to a database the main window of the DB Manager offers three tabs The Info tab provides informa tion about the table and its geometry as well as about existing fields constraints and indexes It also allows you to run Vacuum Analyze and to create a spatial index on a selected table 1f not already done The Table tab shows all attributes and the Preview tab renders the geometries as preview Docs for QGIS testing Visit http docs ggis org for QGIS 2 2 docs and translations 19 5 Complemento dxf2shp The dxf2shape converter plugin can be used to convert vector data from DXF to shapefile format It requires the following parameters to be specified before running Input DXF file Enter the path to the DXF file to be converted Output Shp file Enter desired name of the shapefile to be created Output file type Specify the geometry type of the output shapefile Currently supported types are polyline polygon and point Export text labels When this checkbox is enabled an additional shapefile point layer will

Download Pdf Manuals

image

Related Search

Related Contents

iQ 150 GEN 24  180 disposicions obliguen a etiquetar en castellà els productes  Wilson Tapping Tool www.sm  ガス炊飯器 - 東京ガス  φ Art.-Nr.: 41.814.43 I.-Nr.: 11021 BG  Code: 101 274  取扱説明書 - オークセール  User Manual - TEWS TECHNOLOGIES  この報告書をダウンロードする    

Copyright © All rights reserved.
Failed to retrieve file