OSM与QGIS相关。

本文介绍了如何在QGIS中安装和处理OpenStreetMap(OSM)数据。内容包括QGIS的安装注意事项,解决安装问题的方法,以及如何加载、导入、导出OSM数据到SpatiaLite数据库。此外,还提到了将OSM数据转换为shp文件的步骤,以及遇到的兼容性问题。
摘要由CSDN通过智能技术生成

1、QGIS安装。

安装路径需仅含英文或数字,无中文或空格。否则就会出现……

以及“unable to open bookmarks database.”、“No Data Providers”、"Python Error"等一系列问题。

(※:出现上图的问题后,尝试用网上说的删除.qgis2文件夹的方式处理,但问题仍然存在。)

 

2、用QGIS打开OSM数据。

查阅QGIS的UserGuide↓

12.1.3 OpenStreetMap data
In recent years, the OpenStreetMap project has gained popularity because in many countries no free geodata such as digital road maps are available. The objective of the OSM project is to create a free editable map of the world from GPS data, aerial photography or local knowledge. To support this objective, QGIS provides support for OSM data.
Loading OpenStreetMap Vectors
QGIS integrates OpenStreetMap import as a core functionality.
• To connect to the OSM server and download data, open the menu Vector → Openstreetmap → Load dataYou can skip this step if you already obtained an .osm XML file using JOSM, Overpass API or any other source.
• The menu Vector → Openstreetmap → Import topology from an XML file willconvert your .osm file into a SpatiaLite database and create a corresponding database connection.
• The menu Vector → Openstreetmap → Export topology to SpatiaLite then allows you toopen the database connection, select the type of data you want (points, lines, or polygons) andchoose tags to import. This creates a SpatiaLite geometry layer that you can add to your project by clicking

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值