- QGIS:Becoming a GIS Power User
- Anita Graser Ben Mearns Alex Mandel Víctor Olaya Ferrero Alexander Bruy
- 274字
- 2021-07-09 19:32:35
Reprojecting and converting vector and raster data
In Chapter 2, Viewing Spatial Data, we talked about CRS and the fact that QGIS offers on the fly reprojection to display spatial datasets, which are stored in different CRS, in the same map. Still, in some cases, we might want to permanently reproject a dataset, for example, to geoprocess it later on.
In QGIS, reprojecting a vector or raster layer is done by simply saving it with a new CRS. We can save a layer by going to Layer | Save as... or using Save as… in the layer name context menu. Pick a target file format and filename, and then click on the Select CRS button beside the CRS drop-down field to pick a new CRS.
Besides changing the CRS, the main use case of the Save vector/raster layer dialog, as depicted in the following screenshot, is conversion between different file formats. For example, we can load a Shapefile and export it as GeoJSON, MapInfo MIF, CSV, and so on, or the other way around.

The Save raster layer dialog is also a convenient way to clip/crop rasters by a bounding box, since we can specify which Extent we want to save.
Furthermore, the Save vector layer dialog features a Save only selected features option, which enables us to save only selected features instead of all features of the layer (this option is active only if there are actually some selected features in the layer).
Tip
Enabling Add saved file to map is very convenient because it saves us the effort of going and loading the new file manually after it has been saved.
- 手機安全和可信應(yīng)用開發(fā)指南:TrustZone與OP-TEE技術(shù)詳解
- C++案例趣學(xué)
- Mastering Zabbix(Second Edition)
- Koa開發(fā):入門、進階與實戰(zhàn)
- Mastering Android Development with Kotlin
- 大數(shù)據(jù)分析與應(yīng)用實戰(zhàn):統(tǒng)計機器學(xué)習(xí)之?dāng)?shù)據(jù)導(dǎo)向編程
- RESTful Java Web Services(Second Edition)
- ElasticSearch Cookbook(Second Edition)
- Visual Basic程序設(shè)計(第三版)
- 從Excel到Python數(shù)據(jù)分析:Pandas、xlwings、openpyxl、Matplotlib的交互與應(yīng)用
- Practical Microservices
- jQuery for Designers Beginner's Guide Second Edition
- 從零開始學(xué)Selenium自動化測試:基于Python:視頻教學(xué)版
- H5+移動營銷設(shè)計寶典
- MongoDB Cookbook