官术网_书友最值得收藏!

Getting data into QGIS

Loading data into QGIS can be done in several ways. The three most common ways are as follows:

  • You can drag data directly from a folder straight into the map.
  • You can drag data from the browser panel (shown in Chapter 1, Where Do I Start?) onto the map.
  • You can click Layer Add Layer and choose what type of layer to add.

In the following screenshot, we are choosing to load a Vector Layer, which can also be done using the Ctrl Shift + V shortcut:

Adding a vector layer

By choosing this method, the Data Source Manager window will appear, with Vector highlighted, as follows:

The QGIS Data Source Manager

Click on the ellipsis for Vector Dataset(s) and navigate to the layer you wish to load. In the following example, the alaska Shapefile is selected. You can load more than one layer at the same time by holding down the Ctrl button and clicking on multiple files:

Loading data in the data source manager

If you then click the Add button at the bottom of the Data Source Manager window, the data will be added to your Map window as well as the Layers window. The Data Source Manager window will remain open, and you can also load other layers. Close the window and your Shapefile will appear in the map, as follows:

Data loaded into the map panel in QGIS

In the next section, we will look at how to interact with the data to zoom in and inspect its attributes.

主站蜘蛛池模板: 凤庆县| 咸阳市| 安国市| 旬邑县| 安新县| 兴山县| 淳化县| 广河县| 任丘市| 榆社县| 克山县| 朝阳市| 石首市| 隆回县| 灵山县| 田阳县| 通河县| 嘉善县| 安庆市| 望都县| 横山县| 阳山县| 华池县| 城步| 襄垣县| 大方县| 宁化县| 定南县| 西青区| 太仆寺旗| 苍梧县| 安化县| 疏勒县| 巫溪县| 浙江省| 正安县| 永年县| 永宁县| 新沂市| 普定县| 高台县|