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

Building your own vector data

Start a new project in QGIS by either clicking Project | New, pressing Crtl + N, or clicking on the new project icon on the project toolbar. You will get a prompt if you wish to save the project; if you are following through this chapter, there is no need to save the project.

In a new project, scroll in the Browser window to the XYZ Tiles and expand the dropdown. In here, you will find OpenStreetMap:

Browser window

Drag OpenStreetMap into the Layers window. The OpenStreetMap data will appear in the map view. Have a look in the bottom-right corner of the screen at the projection. This has changed to EPSG 3857 (Web Mercator) as this is the native projection of the OpenStreetMap data you have just loaded. Your screen should look similar to this:

QGIS with OpenStreetMap layer loaded

Find the Alaska.shp that we used previously and load that into QGIS as well. Use the map navigation tools to zoom and pan to the data. The following diagram shows the data loaded together. The projection in the bottom-left corner has not changed, even though the projection of the alaska layer is different to the OpenStreetMap Tile. This is because QGIS 3.4 re-projects on the fly:

Alaska Shapefile loaded and re-projected on the fly into QGIS
You can right-click on any layer in the Layers window and look for the Source tab; it will contain information about the layer's projection.
主站蜘蛛池模板: 敦煌市| 健康| 无为县| 梅河口市| 封开县| 宁夏| 横峰县| 高州市| 乐都县| 准格尔旗| 崇仁县| 隆回县| 逊克县| 上林县| 绥化市| 玛曲县| 拉孜县| 黄龙县| 鄂州市| 建宁县| 五原县| 敦煌市| 通河县| 聂拉木县| 沙坪坝区| 蒲江县| 茌平县| 西充县| 东乌| 威宁| 呼伦贝尔市| 侯马市| 久治县| 汤原县| 保山市| 杭州市| 慈溪市| 蓝山县| 久治县| 胶南市| 甘肃省|