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

  • Learn QGIS
  • Andrew Cutts Anita Graser
  • 247字
  • 2021-06-10 19:19:57

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.
主站蜘蛛池模板: 兴仁县| 府谷县| 淳化县| 墨竹工卡县| 镇沅| 来宾市| 交口县| 甘南县| 彰化县| 禹城市| 长垣县| 台北县| 洞口县| 石家庄市| 漳浦县| 静安区| 民权县| 高碑店市| 武汉市| 宝丰县| 洛南县| 安多县| 洪泽县| 佛冈县| 瑞金市| 油尖旺区| 闵行区| 通榆县| 东宁县| 故城县| 泰来县| 靖安县| 池州市| 桃源县| 故城县| 安徽省| 丹凤县| 钦州市| 玉林市| 灵石县| 沙湾县|