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

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.
主站蜘蛛池模板: 秦皇岛市| 顺义区| 雷波县| 武隆县| 绍兴县| 华坪县| 同江市| 灌南县| 丰顺县| 龙里县| 家居| 手游| 新绛县| 乌兰察布市| 高唐县| 马龙县| 申扎县| 和顺县| 元江| 石楼县| 桃园市| 田林县| 文登市| 平江县| 高雄市| 通渭县| 汝城县| 凤庆县| 鹿邑县| 稷山县| 宁乡县| 宣城市| 财经| 中江县| 河东区| 临颍县| 宁夏| 益阳市| 新河县| 哈尔滨市| 阜新|