4. Funcțiuni

QGIS offers a wealth of GIS functions, provided by core features and plugins. The locator bar makes it easy to search for functions, datasets and more.

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. Vizualizarea datelor

You can view combinations of vector and raster data (in 2D or 3D) in different formats and projections without conversion to an internal or common format. Supported formats include:

  • Spatially-enabled tables and views using PostGIS, SpatiaLite and MS SQL Spatial, Oracle Spatial, vector formats supported by the installed OGR library, including GeoPackage, ESRI Shapefile, MapInfo, SDTS, GML and many more. See section Lucrul cu Datele Vectoriale.

  • Formatele raster și imaginile acceptate de biblioteca GDAL (Geospatial Data Abstraction Library), cum ar fi GeoTIFF, ERDAS IMG, ArcInfo ASCII GRID, JPEG, PNG și multe altele. Vedeți secțiunea Lucrul cu Datele Raster.

  • Mesh data (TINs and regular grids are supported). See Working with Mesh Data.

  • Vector tiles

  • Date raster și vectoriale GRASS din bazele de date GRASS (locație/set de hărți). Parcurgeți secțiunea Integrarea GRASS GIS.

  • Online spatial data served as OGC Web Services, including WMS, WMTS, WCS, WFS, and WFS-T. See section Working with OGC / ISO protocols.

    The QGIS authentication infrastructure helps you manage user/password, certificates and keys for web services and other resources.

  • Spreadsheets (ODS / XLSX)

Temporal data are supported.

4.2. Explorarea datelor și compunerea hărților

Puteți compune hărți, apoi să explorați în mod interactiv datele spațiale prin intermediul interfeței grafice prietenoase. Printre cele mai multe instrumente utile disponibile în GUI se includ:

  • Navigatorul QGIS

  • Reproiectarea Din-Zbor

  • DB Manager

  • Print layout

  • Report

  • Panoul de Vizualizare

  • Semne de carte Spațiale

  • Instrumente de adnotare

  • Identificarea/selectarea entităților

  • Editarea/vizualizarea/căutarea atributelor

  • Data-defined feature labeling

  • Instrumente de simbologie definită cu ajutorul datelor, pentru rastere și vectori

  • Compoziția hărților pentru atlas, folosind straturile cu graticule

  • North arrow, scale bar and copyright label for maps

  • Suport pentru salvarea și restaurarea proiectelor

4.3. Crearea, editarea, gestionarea și exportul datelor

Puteți crea, edita, gestiona și exporta în diverse formate straturile raster sau vectoriale. QGIS oferă următoarele:

  • Vector digitizing tools

  • Ability to create and edit multiple file formats and GRASS vector layers

  • Plugin-ul de georeferențiere pentru geocodarea imaginelor

  • 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)

  • Suport pentru salvarea și editarea datelor OpenStreetMap

  • Ability to create spatial database tables from files with the DB Manager plugin

  • Gestionarea îmbunătățită a tabelelor bazei de date spațiale

  • Instrumente pentru gestionarea tabelelor cu atribute vectoriale

  • Opțiunea de a salva capturile de ecran ca imagini georeferențiate

  • Instrumentul DXF-Export cu capacități sporite pentru exportul stilurilor și a plugin-urilor pentru a efectua funcții similare CAD

4.4. Analiza datelor

You can perform spatial data analysis on spatial databases and other OGR-supported formats. QGIS currently offers vector analysis, raster 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 Integrarea GRASS GIS). Or, you can work with the Processing plugin, which provides a powerful geospatial analysis framework to call native and third-party algorithms from QGIS, such as GDAL, SAGA, GRASS, R, and more (see section Introducere). All analysis functions are run in the background, allowing you to continue your work before the processing has finished.

The graphical modeller allows you to combine / chain functions into a complete workflow in an intuitive graphical environment.

4.5. Publicarea hărților de pe Internet

QGIS can be used as a WMS, WMTS, WMS-C or WFS and WFS-T client (see section Working with OGC / ISO protocols), and QGIS Server (see the Ghid/Manual QGIS Server) allows you to publish your data through the WMS, WCS and WFS protocols on the Internet using a webserver.

4.6. Extinderea funcționalității QGIS prin intermediul plugin-urilor

QGIS poate fi adaptat nevoilor dumneavoastră speciale cu arhitectură de plugin-uri extensibile și biblioteci care pot fi folosite pentru a crea plugin-uri. Puteți crea chiar noi aplicații cu C++ sau Python!

4.6.1. Plugin-uri de bază

Plugin-urile de bază includ:

  1. DB Manager (exchange, edit and view layers and tables from/to databases; execute SQL queries)

  2. Geometry Checker (check geometries for errors)

  3. Georeferencer GDAL (add projection information to rasters using GDAL)

  4. GPS Tools (load and import GPS data)

  5. GRASS 7 (integrate GRASS GIS)

  6. MetaSearch Catalogue Client (interacting with metadata catalog services supporting the OGC Catalog Service for the Web (CSW) standard)

  7. Offline Editing (allow offline editing and synchronizing with databases)

  8. Processing (the spatial data processing framework for QGIS)

  9. Topology Checker (find topological errors in vector layers)

4.6.2. Plugin-urile Externe Python

QGIS oferă un număr tot mai mare de plugin-uri externe, scrise în Python, care sunt furnizate de către comunitate. Aceste plugin-uri rezidă în depozitul oficial de plugin-uri, și pot fi instalate cu ușurință cu ajutorul Instalatorului de Plugin-uri Python. Parcurgeți secțiunea Dialogul Plugin-urilor.

4.7. Consola Python

For scripting, it is possible to take advantage of an integrated Python console, which can be opened with: Plugins ► Python Console. The console opens as a non-modal utility window. For interaction with the QGIS environment, there is the qgis.utils.iface variable, which is an instance of QgisInterface. This interface provides access to the map canvas, menus, toolbars and other parts of the QGIS application. You can create a script, then drag and drop it into the QGIS window and it will be executed automatically.

For further information about working with the Python console and programming QGIS plugins and applications, please refer to Consola Python din QGIS and Cartea de rețete a dezvoltatorului PyQGIS.

4.8. Probleme Cunoscute

4.8.1. Limitarea numărului de fișiere deschise

Dacă deschideți un proiect QGIS mare și sunteți sigur că toate straturile sunt valide, dar unele straturi sunt marcate ca fiind eronate, puteți gestiona, probabil, această problemă. Linux (și alte sisteme de operare, de asemenea) are o limită pentru fișierele deschise de către un proces. Limitele resurselor sunt per-proces și sunt moștenite. Comanda internă ulimit, modifică limitele numai pentru procesul curent; noua limită va fi moștenită de către orice proces copil.

Puteți vedea toate informațiile ulimit curente, tastând:

$ ulimit -aS

You can see the current allowed number of opened files per process with the following command on a console:

$ ulimit -Sn

To change the limits for an existing session, you may be able to use something like:

$ ulimit -Sn #number_of_allowed_open_files
$ ulimit -Sn
$ qgis

Pentru a remedia definitiv problema

Pe majoritatea sistemelor Linux, limitele resurselor sunt stabilite de modulul pam_limits, în conformitate cu setările conținute în /etc/security/limits.conf sau /etc/security/limits.d/*.conf. Ar trebui să puteți edita acele fișiere dacă aveți privilegiul de root (de asemenea, prin intermediul sudo), dar va trebui să vă conectați din nou pentru ca schimbările să aibă efect.

Mai multe informații:

https://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/ https://linuxaria.com/article/open-files-in-linux