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

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.

主站蜘蛛池模板: 汉寿县| 原平市| 廉江市| 定西市| 宁陵县| 大新县| 锡林浩特市| 萨嘎县| 广州市| 西吉县| 平湖市| 龙口市| 河南省| 西林县| 登封市| 冷水江市| 常德市| 金溪县| 罗城| 临沧市| 漳平市| 南涧| 富顺县| 房产| 孙吴县| 成都市| 襄城县| 江口县| 双城市| 宾阳县| 九寨沟县| 普格县| 林西县| 芮城县| 巩义市| 井冈山市| 寿宁县| 长沙县| 德阳市| 北安市| 景宁|