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

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.

主站蜘蛛池模板: 绥宁县| 绵阳市| 娄烦县| 闸北区| 兴安盟| 柞水县| 沙坪坝区| 文山县| 宝丰县| 佛坪县| 杨浦区| 咸宁市| 巴林左旗| 永新县| 湛江市| 道真| 新沂市| 洛阳市| 潢川县| 洛扎县| 林西县| 镇赉县| 溆浦县| 都江堰市| 华池县| 闻喜县| 新民市| 营口市| 离岛区| 勃利县| 白城市| 鲁甸县| 酒泉市| 渝中区| 紫金县| 永和县| 蓝田县| 湖口县| 襄汾县| 云阳县| 交口县|