.

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 GRASS SIG).

Figure browser 1:

../../../_images/browser_standalone_metadata.png

QGIS browser as a stand alone application nix

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 legend.

  1. Activate the QGIS Browser: Right-click on the toolbar and check checkboxBrowser or select it from Settings ‣ Panels.
  2. Drag the panel into the legend window and release it.
  3. Clique no separador Pesquisar .

  4. Browse in your filesystem and choose the shapefile folder from qgis_sample_data directory.
  5. Press the Shift key and select the airports.shp and alaska.shp files.
  6. Press the left mouse button, then drag and drop the files into the map canvas.
  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 Projecções.

  8. Clique em mActionZoomFullExtent 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 checkboxBrowser (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 mActionAddAdd 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 just 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 mActionFilterFilter 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

  • nix Escreva na linha de comandos “qbrowser” .

  • win Start the QGIS Browser using the Start menu or desktop shortcut.
  • osx 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 Menu Metadados). 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.